cURL
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>" }
Lists all runs for a monitor with cursor-based pagination. Runs are returned in reverse chronological order.
The monitor ID
Pagination cursor from a previous response
Number of results per page
1 <= x <= 100
A paginated list of runs
The list of runs
Show child attributes
Whether there are more results
Cursor for the next page