Data API / Exa / Agent
Poll a research Agent run.
Fetch an Agent run submitted by post_exa_agent_runs, by its jobId. Returns the same envelope — id, status, createdAt, completedAt, pricing, output, error. Repeat until status is completed, failed or cancelled; on success output carries text, structured and grounding. Reads a run only; it cannot start one.
Параметры
путь
jobIdstringОбязательныйThe job id returned by the submit call.
Пример запроса
curl -X GET "https://openapi.felo.ai/v1/beta/exa/agent/runs/{jobId}" \
-H "Authorization: Bearer $FELO_API_KEY"Ответ
Поля ответа
idstringНеобязательныйJob identifier. Use it with the corresponding Felo polling endpoint.
objectstringНеобязательныйAlways "integration_async_job".
endpointstringНеобязательныйProvider operation identifier stored with the job. This metadata is not a Felo polling URL; use the documented Felo job path or Location header.
statusstringНеобязательныйДопустимые значения: queued · running · completed · failed · cancelled
Customer-facing lifecycle status. queued and running are non-terminal; completed, failed, and cancelled are terminal.
createdAtstringНеобязательныйWhen the job was accepted.
completedAtНеобязательныйWhen the job reached a terminal status. Null while the job is still queued or running.
pricingobjectНеобязательныйcurrencystringНеобязательныйauthorizedMicrosUSDintegerНеобязательныйProvider authorization metadata in micro-USD. This is not a Felo credit hold or billing record.
finalMicrosUSDНеобязательныйProvider settlement metadata in micro-USD, nullable before settlement. This is not the Felo charge.
billingModestringНеобязательныйProvider job billing mode. Felo charges follow Felo billing records.
outputНеобязательныйJob result payload. Present only once status is completed. For Agent Runs this is the structured research result.
outputExpiredbooleanНеобязательныйTrue when the result has been retained past its retention window and is no longer retrievable.
errorНеобязательныйPresent when status is failed. Null otherwise.