Create a run
Changed onCreate an asynchronous Agent run. By default, the API returns the run object immediately. Set Accept: text/event-stream to stream run lifecycle events until the run reaches a terminal status.
Request
- Base URLhttps://api.exa.ai
- URLhttps://api.exa.ai/agent/runs
- Auth
- API key in header x-api-key
- or HTTP bearer
Headers
Set to text/event-stream to receive server-sent events.
Comma-separated beta feature tokens for opting into experimental features.
Request body
Example request
{
"userIdentifier": "7f3a9c52-1d4e-4b8a-9e60-2c5d8a1f0b37"
}Response
Agent run created
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