Skip to main content
GET
/
search-monitors
/
{id}
/
runs
List Runs
curl --request GET \
  --url https://api.exa.ai/search-monitors/{id}/runs \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "object": "search_monitor_run",
      "monitorId": "<string>",
      "status": "pending",
      "output": {
        "results": [
          {}
        ],
        "content": "<unknown>",
        "grounding": [
          {
            "field": "<string>",
            "citations": [
              {
                "url": "<string>",
                "title": "<string>"
              }
            ],
            "confidence": "low"
          }
        ]
      },
      "failReason": "api_key_invalid",
      "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"
    }
  ],
  "hasMore": true,
  "nextCursor": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The monitor ID

Query Parameters

cursor
string

Pagination cursor from a previous response

limit
integer
default:50

Number of results per page

Required range: 1 <= x <= 100

Response

A paginated list of runs

data
object[]
required

The list of runs

hasMore
boolean
required

Whether there are more results

nextCursor
string | null

Cursor for the next page