GET
/
searchgpt
/
jobs
/
{jobId}
curl --request GET \
  --url https://app.gptscraper.com/api/searchgpt/jobs/{jobId} \
  --header 'Authorization: Bearer <token>'
{
  "status": "processing",
  "query": "<string>",
  "screenshot": true,
  "results": {
    "status": "<string>",
    "result": "<string>",
    "metadata": {
      "prompt": "<string>",
      "model": "<string>",
      "language": "<string>",
      "citations": [
        {
          "url": "<string>",
          "title": "<string>"
        }
      ],
      "urls": [
        "<string>"
      ],
      "finish_reason": "<string>",
      "search_enabled": true
    }
  },
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Enter your API key in the format: Bearer <YOUR_API_KEY>

Path Parameters

jobId
string
required

The ID of the job to retrieve

Response

200
application/json
Job details retrieved successfully
status
enum<string>

The status of the job

Available options:
processing,
completed
query
string

The original search query

screenshot
boolean | null

Whether a screenshot was requested

results
object | null
createdAt
string

Timestamp when the job was created

updatedAt
string

Timestamp when the job was last updated