receipt_id, and executes the call in the background. Use the returned receipt_id with the receipts API to poll for completion.
This endpoint accepts exactly the same request body as POST /v1/agents/:agent_id/invoke.
Request
Path parameters
Body parameters
All body parameters are identical to POST /v1/agents/:agent_id/invoke.Response
Returns anInvokeAgentResponse immediately with status set to "running".
Unique identifier for the in-progress execution receipt. Poll
GET /v1/receipts/:receipt_id to check when the status transitions to "succeeded" or "failed".Status codes
Example response
After receiving this response, poll
GET /v1/receipts/f1e2d3c4-0000-0000-0000-000000000002 to retrieve the execution outcome once status changes from "running" to "succeeded" or "failed".