Create Durable Orchestration
POST /api/v3/organizations/{organisation}/ai/orchestrations
Create a new durable orchestration for batch processing.
*
* Input Sources:
* - static: Process a fixed list of items
* - task_query: Process tasks matching a query
* - generator: AI generates items from a prompt
*
* Stop Conditions:
* - all_complete: Stop when all items processed
* - max_iterations: Stop after N iterations
* - condition: AI evaluates a prompt to decide
* - manual: Run until manually stopped
*
* Auto-start:
* By default, the orchestration starts immediately. Set autoStart: false to create in pending state.
Authorizations
Parameters
Path Parameters
The organisation machine name
Request Body required
object
Orchestration name
Process batch documentsOptional description
Agent to process items
Tool to execute for items
Workflow to run for items
object
Input source type (api type not yet supported)
Static items (for type=static)
object
Task query filters (for type=task_query)
object
AI prompt (for type=generator)
Items per batch
Concurrent items within a batch
object
Max iterations (for type=max_iterations)
AI prompt to evaluate stop (for type=condition)
Skill IDs to assign
Whether to start immediately
Responses
201
Orchestration created
object
400
Invalid request
403
Access denied
500
Failed to create orchestration