Skip to main content
GET
/
monitors
/
{id}
/
runs
/
{runId}
Get a Run
curl --request GET \
  --url https://api.exa.ai/monitors/{id}/runs/{runId} \
  --header 'x-api-key: <api-key>'
{
  "id": "<string>",
  "monitorId": "<string>",
  "output": {
    "results": [
      {}
    ],
    "content": true,
    "grounding": [
      {
        "field": "<string>",
        "citations": [
          {
            "url": "<string>",
            "title": "<string>"
          }
        ]
      }
    ]
  },
  "startedAt": "2023-11-07T05:31:56Z",
  "completedAt": "2023-11-07T05:31:56Z",
  "failedAt": "2023-11-07T05:31:56Z",
  "cancelledAt": "2023-11-07T05:31:56Z",
  "durationMs": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://exa.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Pass your Exa API key in the x-api-key header. You can also authenticate with Authorization: Bearer .

Path Parameters

id
string
required

The monitor ID

runId
string
required

The run ID

Response

200 - application/json

The run

id
string
required

The unique identifier for the run

monitorId
string
required

The monitor this run belongs to

status
enum<string>
required

The status of the run

Available options:
pending,
running,
completed,
failed,
cancelled
output
object
required

The output of the run. Null until the run completes.

failReason
enum<string> | null
required

The reason the run failed. Null unless status is failed.

Available options:
api_key_invalid,
insufficient_credits,
invalid_params,
rate_limited,
search_unavailable,
search_failed,
internal_error
startedAt
string<date-time>
required

When the run started executing

completedAt
string<date-time>
required

When the run completed successfully

failedAt
string<date-time>
required

When the run failed

cancelledAt
string<date-time>
required

When the run was cancelled

durationMs
integer | null
required

Total execution time in milliseconds

createdAt
string<date-time>
required

When the run was created

updatedAt
string<date-time>
required

When the run was last updated