Execution
Wait for an execution's status to change
Wait up to timeoutSeconds for an execution's status to change. Returns 200 with the result once the execution completes, fails or is cancelled. Returns 202 as soon as its status differs from the one it had when the call began, at once when it is paused, paused_by_agent or awaiting_confirmation, and otherwise when timeoutSeconds passes. returnReason says which. On awaiting_confirmation, awaitingConfirmation names the node the execution holds at. Call it again to keep waiting.
get/agents/v2/executions/{executionId}/sync
Request
- Base URLhttps://odyssey.asteroid.ai
- URLhttps://odyssey.asteroid.ai/agents/v2/executions/{executionId}/sync
- AuthAPI key in header X-Api-Key
Path parameters
executionIdstring uuid required
Query parameters
timeoutSecondsinteger
Seconds to wait for a change before returning 202. Defaults to 25.
Response
The request has succeeded.
Changes
No recorded changes to this operation across all 1 revision of this API.