Get Tool Orchestration Status (Async Tool Polling)
GET /api/v3/organizations/{organisation}/ai/tools/orchestrations/{orchestrationId}
Retrieves the status and synthesized result of a multi-tool async execution orchestration.
*
* Note: This endpoint is for async tool execution polling (/tools/orchestrations).
* For durable batch processing orchestrations, see GET /orchestrations endpoints.
*
* Orchestration Pattern:
* When the AI requests multiple async tools simultaneously, an orchestration is created
* to track all tool executions and synthesize their results into a single coherent response.
*
* Flow:
* 1. AI requests multiple async tools (e.g., image generation + web search)
* 2. Chat API creates orchestration and returns orchestrationId
* 3. Tool Orchestrator Lambda polls all async tools
* 4. When all tools complete, Orchestrator synthesizes results using AI
* 5. Client polls this endpoint and receives final synthesized response
*
* Status Values:
* - pending: Orchestration created, tools not yet started
* - polling: Orchestrator is actively polling async tools
* - synthesizing: All tools complete, AI is synthesizing response
* - complete: Orchestration finished, synthesizedResponse available
* - failed: Orchestration failed, error available
*
* Polling Recommendations:
* - Poll every 2 seconds
* - Maximum poll time: 10 minutes
* - Orchestrator handles tool polling internally
*
* Benefits over individual polling:
* - Single poll endpoint for multiple async tools
* - AI synthesizes all results into coherent response
* - Answers the original user question, not just tool summaries
Authorizations
Parameters
Path Parameters
The organisation ID
orch_abc123def456789012345678901234Orchestration identifier for aggregated async tool executions
Responses
200
Orchestration status retrieved successfully
object
Unique orchestration identifier
orch_abc123def456789012345678901234Current orchestration status
completeTotal number of async tools in this orchestration
2Number of tools that have completed
2AI-synthesized response combining all tool results (only present when status=complete)
Based on the image I generated and the web research...Status of individual tool executions
object
exec_abc123def456generate_imagecompleteTool result (if complete)
object
Error message (if failed)
Error message (only present when status=failed)
When orchestration was created
When orchestration completed (if status in complete or failed)
403
Access denied
404
Orchestration not found (may have expired after 24h)
object
Orchestration not foundorch_abc123def456789012345678901234500
Failed to retrieve orchestration status