Stop a run
Changed onComplete a running Agent run early, returning the results gathered so far. You are billed for usage accrued before the stop. Currently supported only for ultra effort runs. If the run has already reached a terminal status, the API returns the existing run.
Request
- Base URLhttps://api.exa.ai
- URLhttps://api.exa.ai/agent/runs/{id}/stop
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Agent run ID. New run IDs are returned with the agent_run_ prefix.
Agent run ID.
Response
Agent run
Changes
- info
added the required property
to the response with the status
- info
- breaking
the
////response's property type changed fromstringto no type for status - breaking
the
/response's property type changed fromintegertonumberfor status - breaking
the
/response's property type changed fromintegertonumberfor status - breaking
the
/response's property type changed fromintegertonumberfor status - info
added
subschema #1subschema #2subschema #3subschema #4subschema #5subschema #6subschema #7subschema #8subschema #9to the////response propertyanyOflist for the response status - info
removed the
budget_reachedenum value from the////response property for the response status - info
removed the
cancelledenum value from the////response property for the response status - info
removed the
errorenum value from the////response property for the response status - info
removed the
schema_satisfiedenum value from the////response property for the response status - info
removed the
stoppedenum value from the////response property for the response status - info
removed the
time_limit_reachedenum value from the////response property for the response status
- breaking