Start an orchestration run
Creates a new run for the orchestration named by orchestration_id. By default the run executes durably in the background: the response returns immediately with status "queued" (a worker then claims it and moves it to "running") and progress is observed via get-orchestration-run or run lifecycle webhook events (orchestration_runs.started/awaiting_input/completed/failed). Delay and poll waits park the run as "sleeping" and are woken by a background scheduler, surviving restarts. Pass wait=true to block until the run reaches a terminal or awaiting_input state.
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/projects/{project_id}/orchestration-runs
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Headers
The request's deduplication key. Equivalent to idempotency_key in the request body; sending both with different values is 400 VALIDATION_FAILED. A non-empty string of at most 255 characters.
Request body
Example request
{
"orchestration_id": "orch_V1StGXR8Z5jdHi6B",
"tool_context": {
"ocaToken": "eyJhbGciOiJIUzI1NiJ9.abc"
},
"metadata": {
"author": "John",
"revision": 2
},
"idempotency_key": "dispatch-2026-09-18-activation-42"
}Response
Duplicate request — the run the idempotency_key already names is returned and no second run is started.
Example response
{
"orchestration_version": 3,
"error": {
"code": "AI_PROVIDER_ERROR",
"message": "Provider returned 402: insufficient credits"
},
"metadata": {
"author": "John",
"revision": 2
},
"idempotency_key": "dispatch-2026-09-18-activation-42"
}Changes
No recorded changes to this operation across all 1 revision of this API.