/api/v2/workflows/{workflowId}/executeRun the active deployment, set run: { source: "deployment", version } to run an earlier deployment version, or set run.source: "draft" to run the saved draft. Deployed execution requires workspace read access and OAuth api:write scope or a full-access API key; public deployments also allow anonymous synchronous or streamed runs. Running a chosen version requires workspace write access and a full-access API key or OAuth api:write scope; an unknown version returns 404. Draft runs require a full-access personal API key or OAuth api:write scope, and workspace write access; workspace API keys are refused, and draft runs cannot be async.
Use async: true for a queue receipt, or stream: true for SSE. For a synchronous run with both flags false, send Accept: application/x-ndjson for heartbeat frames and a final frame containing data. With waitTimeoutSeconds, a synchronous run still going when the wait elapses continues in the background and answers with its run receipt instead: 202 on a JSON response, or a closing detached frame on an NDJSON stream, which keeps its 200. Timeouts return 200 with status: "failed" and error.code: "TIMEOUT"; inspect run status. See Streaming for event formats. Input descriptions specify compatible modes; invalid combinations return 400.
Supply X-Run-Id to prevent duplicate execution. Reuse returns 409, without replaying results. A 503 with error.details.code: "ASYNC_ENQUEUE_AMBIGUOUS" omits Retry-After because the run may already have started. Reconcile using the returned run ID; do not start another run with a new or omitted ID.
OAuth scope: api:write.
Authentication
Send a personal or workspace API key in X-API-Key. See key types and access; operations that reject workspace keys say so in their description.
Send X-API-Key in the request header.
Alternatively
Send a Sim OAuth access token in Authorization: Bearer. See OAuth authentication and scopes.
Authorization: Bearer YOUR_ACCESS_TOKEN
Required scopes: api:write
OAuth flows
Alternatively
Anonymous access is permitted.
OAuth scope: api:write.
Path parameters
Unique workflow identifier.
- minLength
- 1
Header parameters
Run ID for API-key or OAuth callers; ignored for anonymous requests. Reuse it after an uncertain response: a claimed ID returns 409 with RUN_ID_CONFLICT, without replaying results. Check Get workflow run, but 404 can persist while the ID remains claimed and does not establish whether execution started. Do not automatically restart with a fresh or omitted ID; either can start another run.
- minLength
- 1
- maxLength
- 128
- pattern
- ^[A-Za-z0-9._:-]+$
Comma-separated workflow identifiers naming the workflow-to-workflow call chain that led to this request. Each hop appends its own workflow id, and Sim sets it automatically; supply it yourself only when relaying an existing chain. A chain at the maximum depth is rejected with 409 and error.details.code: "CALL_CHAIN_DEPTH_EXCEEDED".
Request body
RequiredInput, workflow-state selection, and execution-mode options. Input descriptions specify compatible modes; invalid combinations return 400.
Input, workflow-state selection, and execution-mode options. Input descriptions specify compatible modes; invalid combinations return 400.
11 fields
Workflow input keyed by the selected trigger input-field name.
Schema details
Value supplied for one workflow input field.
Workflow state and entry point to execute. Omit for the active deployment; source: "deployment" with version runs that deployment version, and source: "draft" the saved draft. A draft run requires OAuth or personal-key write access and supports synchronous or streamed runs only; waitTimeoutSeconds lets a synchronous one continue in the background.
Schema details
Exactly one of
2 fields
Execute a deployed workflow version.
- const
- deployment
Deployment version to execute instead of the active one. Requires a full-access API key or an OAuth access token with api:write, plus workspace write access, and the workflow must be deployed. An unknown version returns 404.
- minimum
- 1
- maximum
- 2147483647
Additional properties are not allowed.
7 fields
Run the saved draft. manual is a deprecated name of draft.
- enum
- ["draft","manual"]
Where the draft run enters. Omit to enter through the workflow trigger; a block entry requires an exact source run.
Schema details
Exactly one of
4 fields
Enter the draft run through a runnable trigger.
- const
- trigger
Runnable trigger block to enter through. Omit only when the saved workflow has exactly one runnable trigger.
- minLength
- 1
Run with the selected trigger's sample payload, which the server derives from the trigger, instead of input. Its writes are sent unless dry. Cannot be combined with input.
Deprecated name of sample, accepted with the same meaning. Send sample; a request that sends both with different values is refused.
Additional properties are not allowed.
3 fields
Start the draft run at a block, using persisted upstream state.
- const
- block
Saved workflow block at which the draft run starts: its id, display name or reference key (the name lowercased, whitespace and dots removed).
- minLength
- 1
Run in this workflow whose persisted execution state supplies upstream block results. Missing or expired state returns 404. A test run (a dry run, or a workflow test) holds placeholders for the writes it did not send, so it is the source only of a dry run.
- minLength
- 1
Additional properties are not allowed.
Saved workflow block after which the run stops (its id, display name or reference key); downstream blocks do not execute. Must not be inside a loop or parallel. If a router, condition, or untaken error path routes the run away from the block, the run fails as soon as that is decided; no further block starts, though blocks already running finish. With a block entry naming the same block, re-runs only that block against the source run.
- minLength
- 1
Dry run: a call that could change something outside the run (a tool call not declared read, every MCP call, an HTTP request other than a GET, HEAD or OPTIONS without a method-override header) is not sent but answered with a correctly shaped placeholder, and the run returns what it held back in sideEffects, each list described there. Reads, model calls, credential resolution and code run for real. Child workflows inherit it; custom, Mothership, Pi, Human in the loop and Wait blocks are answered whole, so the run never pauses. Agents read their memory but write none, and nothing else beyond the run's own log is kept: it raises no workspace event, does not count as a run of the workflow, and is logged under the test trigger. Synchronous only: cannot be combined with stream or waitTimeoutSeconds.
Blocks whose writes a dry run sends for real, listed in sideEffects.allowed. Requires dry. Name a block of this workflow by id, display name or reference key, or a block of a workflow it calls as <workflow>.<block> (the workflow's id or name, then the block's id, name or key), at most 256 characters. A selector holding a dot names a block of this workflow only by its exact id or display name; otherwise its workflow part is matched against the workflows its Workflow blocks call at any depth, then, for a child chosen as the run goes, a workflow of this workspace by id or exact name. A selector matching several blocks is refused with them. A child's entry applies wherever that workflow runs, at every depth. A Human in the loop or Wait block, a block that runs another workflow (a Workflow or custom block), a loop or parallel, a disabled block, or a block of a workflow reached only as a custom block's cannot be allowed. Allowing an Agent sends only its own tool calls: a workflow or custom block it calls stays stubbed. An entry the run never reaches is listed in sideEffects.unreached.
- maxItems
- 50
Schema details
- minLength
- 1
- maxLength
- 256
Blocks answered with this output object instead of running, to steer branches or give a stubbed write a realistic result, keyed like allow entries (a block of this workflow, or <workflow>.<block> of a workflow it calls). Requires dry. A locked block (or one inside a locked loop or parallel), a loop or parallel, and a disabled block cannot be mocked; a block of a locked workflow, or of one in a locked folder, returns 423. A mock is data: it cannot set a field the run’s execution, trace or billing reads (cost, tokens, model, providerTiming, toolCalls, executionData, childTraceSpans, childWorkflowId, childWorkflowSnapshotId, childDeploymentVersionId, or any field starting with _), nor hold a large-value reference (an object with __simLargeValueRef). A field the block does not declare is listed in sideEffects.mockFields, not refused. The run records only which blocks were mocked, so a rerun passes the outputs again; its log shows a mocked block’s output like any other block’s.
- maxProperties
- 50
Schema details
Output object that answers the block instead of its handler.
Schema details
Output field.
Answer blocks with their outputs in an earlier run of this workflow. Requires dry. The run records the source run and blocks, so a rerun names them again.
2 fields
Run of this workflow whose recorded block outputs answer the blocks. An unknown or expired run returns 404; one still running, or whose log is not written yet, 409; reading it needs what reading the run does, and a permission group that hides execution data returns 403.
- minLength
- 1
This workflow's blocks (not a child's; not inside a loop or parallel unless that run mocked it), by id, display name or reference key, answered with the output each recorded in that run, redacted as the run shows it. Refused: a block the run did not execute, and, when that run was a test run, a block it answered with a placeholder rather than mocking or allowing it. Fields a mock cannot set (see mocks) are left out and listed in sideEffects.mockFields; an output holding a large-value reference is refused. Other refusals are those of mocks, and a block cannot be named here and in mocks both.
- minItems
- 1
- maxItems
- 50
Schema details
- minLength
- 1
- maxLength
- 256
Additional properties are not allowed.
Additional properties are not allowed.
Queue the run and return a 202 receipt. Requires a full-access API key or an OAuth access token with api:write, and a deployed run source. Cannot stream, select outputs, enable thinking/tool events, or include file-inlining options (includeFileBase64 or base64MaxBytes).
- default
- false
Maximum duration of an asynchronous run, in seconds, capped by the plan's execution timeout. Requires async: true or waitTimeoutSeconds; otherwise returns 400.
- minimum
- 1
- maximum
- 604800
Wait at most this many seconds for a synchronous run; 0 waits until it settles. A run still going then continues in the background and the response carries its run receipt instead of its result: 202 on a JSON response, or a closing detached frame on an application/x-ndjson result stream, which keeps its 200. The receipt is sent only once the run can be read on the runs resource, where it can also be cancelled. The run is admitted under asynchronous limits, and a dropped connection no longer cancels it. Requires a full-access API key or an OAuth access token with api:write. Cannot be combined with async or stream.
- minimum
- 0
- maximum
- 604800
Return Server-Sent Events instead of JSON when true. Cannot be combined with async.
- default
- false
Select <blockName>.<outputPath> or <childWorkflowId>.<blockName>.<outputPath> using normalized block reference names. Child selectors cover every invocation. Synchronous results use selector strings verbatim as blockOutputs keys; streaming selections shape the envelope. Unknown block names or IDs return 400 with available blocks before execution. Unexecuted blocks and absent paths are omitted. Incompatible with async; select outputs from the finished run resource instead.
- maxItems
- 100
Schema details
- minLength
- 1
Include model reasoning events in an agent-event stream. Requires stream: true and the X-Sim-Stream-Protocol: agent-events-v1 request header, and is rejected when async is true.
- default
- false
Include tool-call events in an agent-event stream. Requires stream: true and the X-Sim-Stream-Protocol: agent-events-v1 request header, and is rejected when async is true.
- default
- false
Inline eligible output files as base64 content. Rejected when async is true.
Maximum total bytes of file content to inline as base64, lowering but never raising the server limit of 16 MiB. Rejected when async is true.
- maximum
- 16777216
- exclusiveMinimum
- 0
Additional properties are not allowed.
Request example 1
Request example 2
Request example 3
Request example 4
Request example 5
Request example 6
Request example 7
Responses
200
A synchronous run result, heartbeat-delimited NDJSON result stream, or Server-Sent Event stream.
Completed, failed, paused, or cancelled synchronous workflow run.
1 field
Response data.
13 fields
Unique workflow run identifier.
- minLength
- 1
- maxLength
- 128
- pattern
- ^[A-Za-z0-9._:-]+$
Workflow that produced the run.
Terminal or paused run status.
- enum
- ["completed","failed","paused","cancelled"]
Workflow output, including partial output on failure.
Outputs of the blocks named by selectedOutputs, keyed by those selector strings exactly as sent, or null when none were requested. output stays the final workflow output regardless. Selectors whose block did not run or whose path is absent are omitted (an unknown block is a 400 instead); failed runs include the outputs of the blocks that did run.
Schema details
Any of
Schema details
Output value produced by one workflow block.
Structured execution failure, or null when none occurred.
Schema details
Any of
Structured in-band failure details for a workflow run.
6 fields
Human-readable workflow execution failure message.
Stable machine-readable execution failure code. BLOCK_EXECUTION_FAILED and CHILD_WORKFLOW_FAILED are reported only where block attribution is available; elsewhere a block-level failure is reported as EXECUTION_FAILED.
- enum
- ["TIMEOUT","CANCELLED","USAGE_LIMIT_EXCEEDED","INVALID_INPUT","BLOCK_EXECUTION_FAILED","CHILD_WORKFLOW_FAILED","EXECUTION_FAILED"]
Identifier of the failing block, when attributable. Get workflow run reads it from the run trace, so it is absent there when the trace is unavailable or hidden by organization permission groups, when no failed block in the trace recorded the run error, and for a timeout, cancellation, usage-limit, or invalid-input failure.
Display name of the failing block, when attributable. Present whenever blockId is.
Integration or block type that failed, when attributable. Present whenever blockId is.
Block a rerun of this failure starts from (run.entry of type block naming it, with this run as sourceRunId): the failing block, or the outermost loop or parallel holding it, since a run cannot start inside one. Set by Execute workflow from the graph the run executed and by Get workflow run from the saved draft, whenever blockId is and that graph still has the block.
Additional properties are not allowed.
ISO 8601 timestamp when execution started.
- format
- date-time
ISO 8601 timestamp when execution ended.
- format
- date-time
Execution duration in milliseconds.
- minimum
- 0
Execution timeout applied to this run, in seconds: the plan's timeout, lowered by executionTimeoutSeconds when one was requested. Null when the run has no execution timeout.
Schema details
Any of
- exclusiveMinimum
- 0
Where the run waits when status is paused; null otherwise.
Schema details
Any of
2 fields
Run to name in Resume workflow run: the run this pause is recorded under, which for a resumed run that paused again is the run it resumed.
Every point the run is paused at. Resume one with Resume workflow run, naming runId and its contextId.
Schema details
3 fields
Pause context to name in contextId when resuming this point.
human waits for a resume request; time resumes automatically at resumeAt.
- enum
- ["human","time"]
Resume state of this point: waiting, queued behind another resume, resuming, resumed, or a failed resume attempt.
- enum
- ["paused","queued","resuming","resumed","failed"]
Additional properties are not allowed.
Additional properties are not allowed.
What a dry run (run.dry) did with each write it reached, whatever its status; absent otherwise.
6 fields
Calls that were not sent, in the order the run reached them, each answered with a placeholder (a table row insert, upsert or update echoes the data it would have written, secrets masked; placeholder ids and values the request cannot determine are dry_run_<kind>_<n> strings and numbers above 900000000): writes, every MCP call, and reads that would send a placeholder (reason). Code run in the isolate (JavaScript without imports: a Function block's, a Condition's expressions, a While or Do While loop's condition, or code an Agent's model writes) sends its GET, HEAD and OPTIONS fetch calls (an API that writes on a GET is not stubbed); any other request, or one carrying a method-override header, gets an empty 200 (header x-sim-dry-run: stubbed) and is listed here as tool function_execute.
Schema details
8 fields
Workflow whose block it was: the run workflow, or a child workflow it called.
Block id in that workflow; null when the call named no block.
Schema details
Any of
Block display name; null when the call named no block.
Schema details
Any of
Tool the block (or an Agent) called; null when the whole block was answered instead of run.
Schema details
Any of
What the call would have sent: an in-process operation's input, an HTTP call's method, url and body (never header values; for code's fetch, header names, the URL capped with only query parameter names, the body capped, and the code's workspace and personal secrets masked, though a secret typed into the code itself is not), or a custom or MCP tool's arguments. For a block answered whole, its logged inputs. Credentials, secrets, password fields and (when the workspace redacts it) PII are redacted; null when the run could not prove none remain, or could not build the request once they were masked (such as a URL that is wholly a secret).
Schema details
Any of
Schema details
Request field.
Placeholder output the block or tool call returned to the run instead.
Schema details
Placeholder field.
The MCP server and tool an MCP block's call named; absent for any other call.
2 fields
MCP server or managed connection id.
MCP tool name.
Additional properties are not allowed.
Why a call that is not a plain write was held back; absent for a plain write. placeholder: a read whose request holds a placeholder the run returned earlier (a dry_run_<kind>_<n> string or a number above 900000000, such as a placeholder row's id in a URL, or free text quoting one), so it depends on a call that was never sent. mcp-read-only: an MCP call whose server declares the tool read-only and not destructive (readOnlyHint, not destructiveHint), a claim Sim cannot verify; name its block in run.allow to send it.
- enum
- ["placeholder","mcp-read-only"]
Additional properties are not allowed.
Writes sent for real because run.allow named their block, once per block and tool (an MCP block's per MCP tool).
Schema details
5 fields
Workflow whose block it was: the run workflow, or a child workflow it called.
Block id in that workflow; null when the call named no block.
Schema details
Any of
Block display name; null when the call named no block.
Schema details
Any of
Tool sent; null when the whole block ran.
Schema details
Any of
The MCP server and tool an MCP block's call named; absent for any other call.
2 fields
MCP server or managed connection id.
MCP tool name.
Additional properties are not allowed.
Additional properties are not allowed.
Blocks whose code ran for real in a remote sandbox (shell, Python, JavaScript with imports, a selected sandbox or files), once per block: a Function block's code, a Condition's expressions, or code an Agent's model wrote, whose network calls the run cannot see. Code run in the isolate is not listed: its network writes are stubbed.
Schema details
4 fields
Workflow whose block it was: the run workflow, or a child workflow it called.
Block id in that workflow; null when the call named no block.
Schema details
Any of
Block display name; null when the call named no block.
Schema details
Any of
Why the run cannot see what this code changed.
Additional properties are not allowed.
Entries each list left out once it held 50.
3 fields
Writes left out of stubbed.
- minimum
- 0
- maximum
- 9007199254740991
Writes left out of allowed.
- minimum
- 0
- maximum
- 9007199254740991
Blocks left out of unchecked.
- minimum
- 0
- maximum
- 9007199254740991
Additional properties are not allowed.
Allowed and mocked blocks the run never reached: on a branch it did not take, upstream of a block entry, or in a child it never called. Absent when none.
Schema details
4 fields
Workflow of the block.
Block id in that workflow.
Block display name.
allow for a run.allow entry, mock for run.mocks or run.mocksFrom.
- enum
- ["allow","mock"]
Additional properties are not allowed.
Mocks with fields a block reading them gets nothing from. Absent when none.
Schema details
5 fields
Workflow of the block.
Block id in that workflow.
Block display name.
Top-level fields a passed mock sets that its block does not declare as outputs, likely misspelt. Agent and Function blocks, whose outputs the model or code decides, never have any.
Schema details
Output field.
Fields of an output read from a run (run.mocksFrom) that a mock cannot set (see run.mocks), so left out.
Schema details
Output field.
Additional properties are not allowed.
Additional properties are not allowed.
A dry run's overrides (run.dry); absent for any other run.
3 fields
Blocks whose writes the run sent (run.allow).
Schema details
Block selector.
Blocks the run answered with outputs the caller passed (run.mocks). Only the blocks are recorded, so a rerun passes the outputs again.
Schema details
Block selector.
Blocks the run answered with their outputs in another run (run.mocksFrom), which a rerun reads again. Absent when none.
2 fields
Run the outputs were read from.
Blocks answered, by id.
Schema details
Block id.
Additional properties are not allowed.
Additional properties are not allowed.
Additional properties are not allowed.
Additional properties are not allowed.
Response example 1
Response headers
Identifier assigned to the workflow run.
- minLength
- 1
Maximum requests allowed in the current window.
- minimum
- 0
- maximum
- 9007199254740991
Requests remaining in the current window.
- minimum
- 0
- maximum
- 9007199254740991
ISO 8601 timestamp when the current rate-limit window resets.
- format
- date-time
- pattern
- ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
202
The asynchronous run was queued, or the synchronous run was still running when waitTimeoutSeconds elapsed and continues in the background.
Receipt returned for an asynchronous workflow run, or for a synchronous run still running when waitTimeoutSeconds elapsed.
1 field
Response data.
3 fields
Unique workflow run identifier.
- minLength
- 1
- maxLength
- 128
- pattern
- ^[A-Za-z0-9._:-]+$
Absolute URL of the workflow run resource.
- format
- uri
Execution timeout applied to this run, in seconds: the plan's timeout, lowered by executionTimeoutSeconds when one was requested. Null when the run has no execution timeout.
Schema details
Any of
- exclusiveMinimum
- 0
Additional properties are not allowed.
Additional properties are not allowed.
Response example 1
Response headers
Identifier assigned to the workflow run.
- minLength
- 1
Maximum requests allowed in the current window.
- minimum
- 0
- maximum
- 9007199254740991
Requests remaining in the current window.
- minimum
- 0
- maximum
- 9007199254740991
ISO 8601 timestamp when the current rate-limit window resets.
- format
- date-time
- pattern
- ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
400
The request is invalid. This includes a query parameter sent with no value (?limit=, ?search=), which is rejected rather than read as zero, empty, or the parameter default — omit the parameter instead.
Canonical error envelope returned by the public v2 API.
1 field
Canonical error details.
4 fields
Stable machine-readable error code.
Human-readable explanation of the error.
Structured error context whose keys depend on the error. Actionable 403 responses use the V2ActionableForbiddenDetails shape; validation failures may return issue arrays instead.
Schema details
Any of
Machine-readable cause and optional context for an actionable 403 response.
1 field
Stable cause code for an actionable 403 response.
- enum
- ["INSUFFICIENT_WORKSPACE_ROLE","PERSONAL_API_KEYS_DISABLED","WORKSPACE_KEY_OPERATION_NOT_PERMITTED","PRINCIPAL_KIND_NOT_PERMITTED","ORGANIZATION_MEMBERSHIP_REQUIRED","ORGANIZATION_ADMIN_REQUIRED","ENTERPRISE_PLAN_REQUIRED","SSO_DISABLED","SSO_DOMAIN_NOT_VERIFIED","SSO_PROVIDER_LIMIT_REACHED","ORGANIZATION_PLAN_REQUIRED","AUDIT_LOGS_DISABLED","ACCESS_REQUESTS_DISABLED","ACCESS_REQUEST_ORGANIZATION_REQUIRED","SKILL_EDITOR_ACCESS_REQUIRED","SECRET_ADMIN_ACCESS_REQUIRED","WORKSPACE_RESOURCE_LIMIT_REACHED","PUBLIC_SHARING_NOT_ALLOWED","CREDENTIAL_ADMIN_ACCESS_REQUIRED","MCP_SERVER_URL_NOT_ALLOWED","WORKSPACE_PLAN_CAPABILITY_REQUIRED","CHAT_AUTH_MODE_NOT_PERMITTED","CONNECTOR_MANAGED_RESOURCE_READ_ONLY","PERMISSION_GROUP_CAPABILITY_BLOCKED","INTEGRATION_NOT_ALLOWED","INSUFFICIENT_SCOPE","READ_ONLY_API_KEY","SCIM_MANAGED_MEMBERSHIP","FEATURE_NOT_ENABLED"]
Additional context for this refusal.
Other structured context defined by the specific error.
Identifier of this request, the same id as the x-request-id response header. Quote it when contacting support.
Additional properties are not allowed.
Additional properties are not allowed.
401
The API credential is missing or invalid.
Canonical error envelope returned by the public v2 API.
1 field
Canonical error details.
4 fields
Stable machine-readable error code.
Human-readable explanation of the error.
Structured error context whose keys depend on the error. Actionable 403 responses use the V2ActionableForbiddenDetails shape; validation failures may return issue arrays instead.
Schema details
Any of
Machine-readable cause and optional context for an actionable 403 response.
1 field
Stable cause code for an actionable 403 response.
- enum
- ["INSUFFICIENT_WORKSPACE_ROLE","PERSONAL_API_KEYS_DISABLED","WORKSPACE_KEY_OPERATION_NOT_PERMITTED","PRINCIPAL_KIND_NOT_PERMITTED","ORGANIZATION_MEMBERSHIP_REQUIRED","ORGANIZATION_ADMIN_REQUIRED","ENTERPRISE_PLAN_REQUIRED","SSO_DISABLED","SSO_DOMAIN_NOT_VERIFIED","SSO_PROVIDER_LIMIT_REACHED","ORGANIZATION_PLAN_REQUIRED","AUDIT_LOGS_DISABLED","ACCESS_REQUESTS_DISABLED","ACCESS_REQUEST_ORGANIZATION_REQUIRED","SKILL_EDITOR_ACCESS_REQUIRED","SECRET_ADMIN_ACCESS_REQUIRED","WORKSPACE_RESOURCE_LIMIT_REACHED","PUBLIC_SHARING_NOT_ALLOWED","CREDENTIAL_ADMIN_ACCESS_REQUIRED","MCP_SERVER_URL_NOT_ALLOWED","WORKSPACE_PLAN_CAPABILITY_REQUIRED","CHAT_AUTH_MODE_NOT_PERMITTED","CONNECTOR_MANAGED_RESOURCE_READ_ONLY","PERMISSION_GROUP_CAPABILITY_BLOCKED","INTEGRATION_NOT_ALLOWED","INSUFFICIENT_SCOPE","READ_ONLY_API_KEY","SCIM_MANAGED_MEMBERSHIP","FEATURE_NOT_ENABLED"]
Additional context for this refusal.
Other structured context defined by the specific error.
Identifier of this request, the same id as the x-request-id response header. Quote it when contacting support.
Additional properties are not allowed.
Additional properties are not allowed.
402
The workspace has exceeded its usage or billing limits.
Canonical error envelope returned by the public v2 API.
1 field
Canonical error details.
4 fields
Stable machine-readable error code.
Human-readable explanation of the error.
Structured error context whose keys depend on the error. Actionable 403 responses use the V2ActionableForbiddenDetails shape; validation failures may return issue arrays instead.
Schema details
Any of
Machine-readable cause and optional context for an actionable 403 response.
1 field
Stable cause code for an actionable 403 response.
- enum
- ["INSUFFICIENT_WORKSPACE_ROLE","PERSONAL_API_KEYS_DISABLED","WORKSPACE_KEY_OPERATION_NOT_PERMITTED","PRINCIPAL_KIND_NOT_PERMITTED","ORGANIZATION_MEMBERSHIP_REQUIRED","ORGANIZATION_ADMIN_REQUIRED","ENTERPRISE_PLAN_REQUIRED","SSO_DISABLED","SSO_DOMAIN_NOT_VERIFIED","SSO_PROVIDER_LIMIT_REACHED","ORGANIZATION_PLAN_REQUIRED","AUDIT_LOGS_DISABLED","ACCESS_REQUESTS_DISABLED","ACCESS_REQUEST_ORGANIZATION_REQUIRED","SKILL_EDITOR_ACCESS_REQUIRED","SECRET_ADMIN_ACCESS_REQUIRED","WORKSPACE_RESOURCE_LIMIT_REACHED","PUBLIC_SHARING_NOT_ALLOWED","CREDENTIAL_ADMIN_ACCESS_REQUIRED","MCP_SERVER_URL_NOT_ALLOWED","WORKSPACE_PLAN_CAPABILITY_REQUIRED","CHAT_AUTH_MODE_NOT_PERMITTED","CONNECTOR_MANAGED_RESOURCE_READ_ONLY","PERMISSION_GROUP_CAPABILITY_BLOCKED","INTEGRATION_NOT_ALLOWED","INSUFFICIENT_SCOPE","READ_ONLY_API_KEY","SCIM_MANAGED_MEMBERSHIP","FEATURE_NOT_ENABLED"]
Additional context for this refusal.
Other structured context defined by the specific error.
Identifier of this request, the same id as the x-request-id response header. Quote it when contacting support.
Additional properties are not allowed.
Additional properties are not allowed.
403
The caller lacks the rights this operation requires. When the cause is one a caller can act on, error.details.code names it. A resource in a workspace the caller cannot reach at all answers 404 instead, so absence and denial are indistinguishable.
Canonical error envelope returned by the public v2 API.
1 field
Canonical error details.
4 fields
Stable machine-readable error code.
Human-readable explanation of the error.
Structured error context whose keys depend on the error. Actionable 403 responses use the V2ActionableForbiddenDetails shape; validation failures may return issue arrays instead.
Schema details
Any of
Machine-readable cause and optional context for an actionable 403 response.
1 field
Stable cause code for an actionable 403 response.
- enum
- ["INSUFFICIENT_WORKSPACE_ROLE","PERSONAL_API_KEYS_DISABLED","WORKSPACE_KEY_OPERATION_NOT_PERMITTED","PRINCIPAL_KIND_NOT_PERMITTED","ORGANIZATION_MEMBERSHIP_REQUIRED","ORGANIZATION_ADMIN_REQUIRED","ENTERPRISE_PLAN_REQUIRED","SSO_DISABLED","SSO_DOMAIN_NOT_VERIFIED","SSO_PROVIDER_LIMIT_REACHED","ORGANIZATION_PLAN_REQUIRED","AUDIT_LOGS_DISABLED","ACCESS_REQUESTS_DISABLED","ACCESS_REQUEST_ORGANIZATION_REQUIRED","SKILL_EDITOR_ACCESS_REQUIRED","SECRET_ADMIN_ACCESS_REQUIRED","WORKSPACE_RESOURCE_LIMIT_REACHED","PUBLIC_SHARING_NOT_ALLOWED","CREDENTIAL_ADMIN_ACCESS_REQUIRED","MCP_SERVER_URL_NOT_ALLOWED","WORKSPACE_PLAN_CAPABILITY_REQUIRED","CHAT_AUTH_MODE_NOT_PERMITTED","CONNECTOR_MANAGED_RESOURCE_READ_ONLY","PERMISSION_GROUP_CAPABILITY_BLOCKED","INTEGRATION_NOT_ALLOWED","INSUFFICIENT_SCOPE","READ_ONLY_API_KEY","SCIM_MANAGED_MEMBERSHIP","FEATURE_NOT_ENABLED"]
Additional context for this refusal.
Other structured context defined by the specific error.
Identifier of this request, the same id as the x-request-id response header. Quote it when contacting support.
Additional properties are not allowed.
Additional properties are not allowed.
404
The requested resource was not found.
Canonical error envelope returned by the public v2 API.
1 field
Canonical error details.
4 fields
Stable machine-readable error code.
Human-readable explanation of the error.
Structured error context whose keys depend on the error. Actionable 403 responses use the V2ActionableForbiddenDetails shape; validation failures may return issue arrays instead.
Schema details
Any of
Machine-readable cause and optional context for an actionable 403 response.
1 field
Stable cause code for an actionable 403 response.
- enum
- ["INSUFFICIENT_WORKSPACE_ROLE","PERSONAL_API_KEYS_DISABLED","WORKSPACE_KEY_OPERATION_NOT_PERMITTED","PRINCIPAL_KIND_NOT_PERMITTED","ORGANIZATION_MEMBERSHIP_REQUIRED","ORGANIZATION_ADMIN_REQUIRED","ENTERPRISE_PLAN_REQUIRED","SSO_DISABLED","SSO_DOMAIN_NOT_VERIFIED","SSO_PROVIDER_LIMIT_REACHED","ORGANIZATION_PLAN_REQUIRED","AUDIT_LOGS_DISABLED","ACCESS_REQUESTS_DISABLED","ACCESS_REQUEST_ORGANIZATION_REQUIRED","SKILL_EDITOR_ACCESS_REQUIRED","SECRET_ADMIN_ACCESS_REQUIRED","WORKSPACE_RESOURCE_LIMIT_REACHED","PUBLIC_SHARING_NOT_ALLOWED","CREDENTIAL_ADMIN_ACCESS_REQUIRED","MCP_SERVER_URL_NOT_ALLOWED","WORKSPACE_PLAN_CAPABILITY_REQUIRED","CHAT_AUTH_MODE_NOT_PERMITTED","CONNECTOR_MANAGED_RESOURCE_READ_ONLY","PERMISSION_GROUP_CAPABILITY_BLOCKED","INTEGRATION_NOT_ALLOWED","INSUFFICIENT_SCOPE","READ_ONLY_API_KEY","SCIM_MANAGED_MEMBERSHIP","FEATURE_NOT_ENABLED"]
Additional context for this refusal.
Other structured context defined by the specific error.
Identifier of this request, the same id as the x-request-id response header. Quote it when contacting support.
Additional properties are not allowed.
Additional properties are not allowed.
409
The run cannot be started, for one of two causes named by error.details.code: RUN_ID_CONFLICT when the supplied X-Run-Id is already claimed, and CALL_CHAIN_DEPTH_EXCEEDED when the incoming X-Sim-Via chain has reached the maximum workflow-to-workflow call depth.
Canonical error envelope returned by the public v2 API.
1 field
Canonical error details.
4 fields
Stable machine-readable error code.
Human-readable explanation of the error.
Structured error context whose keys depend on the error. Actionable 403 responses use the V2ActionableForbiddenDetails shape; validation failures may return issue arrays instead.
Schema details
Any of
Machine-readable cause and optional context for an actionable 403 response.
1 field
Stable cause code for an actionable 403 response.
- enum
- ["INSUFFICIENT_WORKSPACE_ROLE","PERSONAL_API_KEYS_DISABLED","WORKSPACE_KEY_OPERATION_NOT_PERMITTED","PRINCIPAL_KIND_NOT_PERMITTED","ORGANIZATION_MEMBERSHIP_REQUIRED","ORGANIZATION_ADMIN_REQUIRED","ENTERPRISE_PLAN_REQUIRED","SSO_DISABLED","SSO_DOMAIN_NOT_VERIFIED","SSO_PROVIDER_LIMIT_REACHED","ORGANIZATION_PLAN_REQUIRED","AUDIT_LOGS_DISABLED","ACCESS_REQUESTS_DISABLED","ACCESS_REQUEST_ORGANIZATION_REQUIRED","SKILL_EDITOR_ACCESS_REQUIRED","SECRET_ADMIN_ACCESS_REQUIRED","WORKSPACE_RESOURCE_LIMIT_REACHED","PUBLIC_SHARING_NOT_ALLOWED","CREDENTIAL_ADMIN_ACCESS_REQUIRED","MCP_SERVER_URL_NOT_ALLOWED","WORKSPACE_PLAN_CAPABILITY_REQUIRED","CHAT_AUTH_MODE_NOT_PERMITTED","CONNECTOR_MANAGED_RESOURCE_READ_ONLY","PERMISSION_GROUP_CAPABILITY_BLOCKED","INTEGRATION_NOT_ALLOWED","INSUFFICIENT_SCOPE","READ_ONLY_API_KEY","SCIM_MANAGED_MEMBERSHIP","FEATURE_NOT_ENABLED"]
Additional context for this refusal.
Other structured context defined by the specific error.
Identifier of this request, the same id as the x-request-id response header. Quote it when contacting support.
Additional properties are not allowed.
Additional properties are not allowed.
Response headers
Identifier assigned to the workflow run.
- minLength
- 1
413
The request, or a resource collection it must materialize, exceeds the allowed size: an oversized request body, a generated artifact past the download ceiling, or a workspace folder tree too large to load in full.
Canonical error envelope returned by the public v2 API.
1 field
Canonical error details.
4 fields
Stable machine-readable error code.
Human-readable explanation of the error.
Structured error context whose keys depend on the error. Actionable 403 responses use the V2ActionableForbiddenDetails shape; validation failures may return issue arrays instead.
Schema details
Any of
Machine-readable cause and optional context for an actionable 403 response.
1 field
Stable cause code for an actionable 403 response.
- enum
- ["INSUFFICIENT_WORKSPACE_ROLE","PERSONAL_API_KEYS_DISABLED","WORKSPACE_KEY_OPERATION_NOT_PERMITTED","PRINCIPAL_KIND_NOT_PERMITTED","ORGANIZATION_MEMBERSHIP_REQUIRED","ORGANIZATION_ADMIN_REQUIRED","ENTERPRISE_PLAN_REQUIRED","SSO_DISABLED","SSO_DOMAIN_NOT_VERIFIED","SSO_PROVIDER_LIMIT_REACHED","ORGANIZATION_PLAN_REQUIRED","AUDIT_LOGS_DISABLED","ACCESS_REQUESTS_DISABLED","ACCESS_REQUEST_ORGANIZATION_REQUIRED","SKILL_EDITOR_ACCESS_REQUIRED","SECRET_ADMIN_ACCESS_REQUIRED","WORKSPACE_RESOURCE_LIMIT_REACHED","PUBLIC_SHARING_NOT_ALLOWED","CREDENTIAL_ADMIN_ACCESS_REQUIRED","MCP_SERVER_URL_NOT_ALLOWED","WORKSPACE_PLAN_CAPABILITY_REQUIRED","CHAT_AUTH_MODE_NOT_PERMITTED","CONNECTOR_MANAGED_RESOURCE_READ_ONLY","PERMISSION_GROUP_CAPABILITY_BLOCKED","INTEGRATION_NOT_ALLOWED","INSUFFICIENT_SCOPE","READ_ONLY_API_KEY","SCIM_MANAGED_MEMBERSHIP","FEATURE_NOT_ENABLED"]
Additional context for this refusal.
Other structured context defined by the specific error.
Identifier of this request, the same id as the x-request-id response header. Quote it when contacting support.
Additional properties are not allowed.
Additional properties are not allowed.
415
The request uses an unsupported media type.
Canonical error envelope returned by the public v2 API.
1 field
Canonical error details.
4 fields
Stable machine-readable error code.
Human-readable explanation of the error.
Structured error context whose keys depend on the error. Actionable 403 responses use the V2ActionableForbiddenDetails shape; validation failures may return issue arrays instead.
Schema details
Any of
Machine-readable cause and optional context for an actionable 403 response.
1 field
Stable cause code for an actionable 403 response.
- enum
- ["INSUFFICIENT_WORKSPACE_ROLE","PERSONAL_API_KEYS_DISABLED","WORKSPACE_KEY_OPERATION_NOT_PERMITTED","PRINCIPAL_KIND_NOT_PERMITTED","ORGANIZATION_MEMBERSHIP_REQUIRED","ORGANIZATION_ADMIN_REQUIRED","ENTERPRISE_PLAN_REQUIRED","SSO_DISABLED","SSO_DOMAIN_NOT_VERIFIED","SSO_PROVIDER_LIMIT_REACHED","ORGANIZATION_PLAN_REQUIRED","AUDIT_LOGS_DISABLED","ACCESS_REQUESTS_DISABLED","ACCESS_REQUEST_ORGANIZATION_REQUIRED","SKILL_EDITOR_ACCESS_REQUIRED","SECRET_ADMIN_ACCESS_REQUIRED","WORKSPACE_RESOURCE_LIMIT_REACHED","PUBLIC_SHARING_NOT_ALLOWED","CREDENTIAL_ADMIN_ACCESS_REQUIRED","MCP_SERVER_URL_NOT_ALLOWED","WORKSPACE_PLAN_CAPABILITY_REQUIRED","CHAT_AUTH_MODE_NOT_PERMITTED","CONNECTOR_MANAGED_RESOURCE_READ_ONLY","PERMISSION_GROUP_CAPABILITY_BLOCKED","INTEGRATION_NOT_ALLOWED","INSUFFICIENT_SCOPE","READ_ONLY_API_KEY","SCIM_MANAGED_MEMBERSHIP","FEATURE_NOT_ENABLED"]
Additional context for this refusal.
Other structured context defined by the specific error.
Identifier of this request, the same id as the x-request-id response header. Quote it when contacting support.
Additional properties are not allowed.
Additional properties are not allowed.
429
The caller exceeded the request rate limit.
Canonical error envelope returned by the public v2 API.
1 field
Canonical error details.
4 fields
Stable machine-readable error code.
Human-readable explanation of the error.
Structured error context whose keys depend on the error. Actionable 403 responses use the V2ActionableForbiddenDetails shape; validation failures may return issue arrays instead.
Schema details
Any of
Machine-readable cause and optional context for an actionable 403 response.
1 field
Stable cause code for an actionable 403 response.
- enum
- ["INSUFFICIENT_WORKSPACE_ROLE","PERSONAL_API_KEYS_DISABLED","WORKSPACE_KEY_OPERATION_NOT_PERMITTED","PRINCIPAL_KIND_NOT_PERMITTED","ORGANIZATION_MEMBERSHIP_REQUIRED","ORGANIZATION_ADMIN_REQUIRED","ENTERPRISE_PLAN_REQUIRED","SSO_DISABLED","SSO_DOMAIN_NOT_VERIFIED","SSO_PROVIDER_LIMIT_REACHED","ORGANIZATION_PLAN_REQUIRED","AUDIT_LOGS_DISABLED","ACCESS_REQUESTS_DISABLED","ACCESS_REQUEST_ORGANIZATION_REQUIRED","SKILL_EDITOR_ACCESS_REQUIRED","SECRET_ADMIN_ACCESS_REQUIRED","WORKSPACE_RESOURCE_LIMIT_REACHED","PUBLIC_SHARING_NOT_ALLOWED","CREDENTIAL_ADMIN_ACCESS_REQUIRED","MCP_SERVER_URL_NOT_ALLOWED","WORKSPACE_PLAN_CAPABILITY_REQUIRED","CHAT_AUTH_MODE_NOT_PERMITTED","CONNECTOR_MANAGED_RESOURCE_READ_ONLY","PERMISSION_GROUP_CAPABILITY_BLOCKED","INTEGRATION_NOT_ALLOWED","INSUFFICIENT_SCOPE","READ_ONLY_API_KEY","SCIM_MANAGED_MEMBERSHIP","FEATURE_NOT_ENABLED"]
Additional context for this refusal.
Other structured context defined by the specific error.
Identifier of this request, the same id as the x-request-id response header. Quote it when contacting support.
Additional properties are not allowed.
Additional properties are not allowed.
Response headers
Seconds to wait before retrying, sent on 429 and 503. Add jitter rather than retrying at exactly this offset.
- minimum
- 0
- maximum
- 9007199254740991
499
The client closed the connection before the response was produced. An abort can leave the run going, so error.details.runId carries the run id — reconcile against the runs resource rather than starting another run.
Canonical error envelope returned by the public v2 API.
1 field
Canonical error details.
4 fields
Stable machine-readable error code.
Human-readable explanation of the error.
Structured error context whose keys depend on the error. Actionable 403 responses use the V2ActionableForbiddenDetails shape; validation failures may return issue arrays instead.
Schema details
Any of
Machine-readable cause and optional context for an actionable 403 response.
1 field
Stable cause code for an actionable 403 response.
- enum
- ["INSUFFICIENT_WORKSPACE_ROLE","PERSONAL_API_KEYS_DISABLED","WORKSPACE_KEY_OPERATION_NOT_PERMITTED","PRINCIPAL_KIND_NOT_PERMITTED","ORGANIZATION_MEMBERSHIP_REQUIRED","ORGANIZATION_ADMIN_REQUIRED","ENTERPRISE_PLAN_REQUIRED","SSO_DISABLED","SSO_DOMAIN_NOT_VERIFIED","SSO_PROVIDER_LIMIT_REACHED","ORGANIZATION_PLAN_REQUIRED","AUDIT_LOGS_DISABLED","ACCESS_REQUESTS_DISABLED","ACCESS_REQUEST_ORGANIZATION_REQUIRED","SKILL_EDITOR_ACCESS_REQUIRED","SECRET_ADMIN_ACCESS_REQUIRED","WORKSPACE_RESOURCE_LIMIT_REACHED","PUBLIC_SHARING_NOT_ALLOWED","CREDENTIAL_ADMIN_ACCESS_REQUIRED","MCP_SERVER_URL_NOT_ALLOWED","WORKSPACE_PLAN_CAPABILITY_REQUIRED","CHAT_AUTH_MODE_NOT_PERMITTED","CONNECTOR_MANAGED_RESOURCE_READ_ONLY","PERMISSION_GROUP_CAPABILITY_BLOCKED","INTEGRATION_NOT_ALLOWED","INSUFFICIENT_SCOPE","READ_ONLY_API_KEY","SCIM_MANAGED_MEMBERSHIP","FEATURE_NOT_ENABLED"]
Additional context for this refusal.
Other structured context defined by the specific error.
Identifier of this request, the same id as the x-request-id response header. Quote it when contacting support.
Additional properties are not allowed.
Additional properties are not allowed.
500
An unexpected server error occurred.
Canonical error envelope returned by the public v2 API.
1 field
Canonical error details.
4 fields
Stable machine-readable error code.
Human-readable explanation of the error.
Structured error context whose keys depend on the error. Actionable 403 responses use the V2ActionableForbiddenDetails shape; validation failures may return issue arrays instead.
Schema details
Any of
Machine-readable cause and optional context for an actionable 403 response.
1 field
Stable cause code for an actionable 403 response.
- enum
- ["INSUFFICIENT_WORKSPACE_ROLE","PERSONAL_API_KEYS_DISABLED","WORKSPACE_KEY_OPERATION_NOT_PERMITTED","PRINCIPAL_KIND_NOT_PERMITTED","ORGANIZATION_MEMBERSHIP_REQUIRED","ORGANIZATION_ADMIN_REQUIRED","ENTERPRISE_PLAN_REQUIRED","SSO_DISABLED","SSO_DOMAIN_NOT_VERIFIED","SSO_PROVIDER_LIMIT_REACHED","ORGANIZATION_PLAN_REQUIRED","AUDIT_LOGS_DISABLED","ACCESS_REQUESTS_DISABLED","ACCESS_REQUEST_ORGANIZATION_REQUIRED","SKILL_EDITOR_ACCESS_REQUIRED","SECRET_ADMIN_ACCESS_REQUIRED","WORKSPACE_RESOURCE_LIMIT_REACHED","PUBLIC_SHARING_NOT_ALLOWED","CREDENTIAL_ADMIN_ACCESS_REQUIRED","MCP_SERVER_URL_NOT_ALLOWED","WORKSPACE_PLAN_CAPABILITY_REQUIRED","CHAT_AUTH_MODE_NOT_PERMITTED","CONNECTOR_MANAGED_RESOURCE_READ_ONLY","PERMISSION_GROUP_CAPABILITY_BLOCKED","INTEGRATION_NOT_ALLOWED","INSUFFICIENT_SCOPE","READ_ONLY_API_KEY","SCIM_MANAGED_MEMBERSHIP","FEATURE_NOT_ENABLED"]
Additional context for this refusal.
Other structured context defined by the specific error.
Identifier of this request, the same id as the x-request-id response header. Quote it when contacting support.
Additional properties are not allowed.
Additional properties are not allowed.
503
A required service is temporarily unavailable. When present, Retry-After gives the minimum seconds to wait; add jitter before retrying. Check operation-specific guidance before repeating a change after an uncertain response.
Canonical error envelope returned by the public v2 API.
1 field
Canonical error details.
4 fields
Stable machine-readable error code.
Human-readable explanation of the error.
Structured error context whose keys depend on the error. Actionable 403 responses use the V2ActionableForbiddenDetails shape; validation failures may return issue arrays instead.
Schema details
Any of
Machine-readable cause and optional context for an actionable 403 response.
1 field
Stable cause code for an actionable 403 response.
- enum
- ["INSUFFICIENT_WORKSPACE_ROLE","PERSONAL_API_KEYS_DISABLED","WORKSPACE_KEY_OPERATION_NOT_PERMITTED","PRINCIPAL_KIND_NOT_PERMITTED","ORGANIZATION_MEMBERSHIP_REQUIRED","ORGANIZATION_ADMIN_REQUIRED","ENTERPRISE_PLAN_REQUIRED","SSO_DISABLED","SSO_DOMAIN_NOT_VERIFIED","SSO_PROVIDER_LIMIT_REACHED","ORGANIZATION_PLAN_REQUIRED","AUDIT_LOGS_DISABLED","ACCESS_REQUESTS_DISABLED","ACCESS_REQUEST_ORGANIZATION_REQUIRED","SKILL_EDITOR_ACCESS_REQUIRED","SECRET_ADMIN_ACCESS_REQUIRED","WORKSPACE_RESOURCE_LIMIT_REACHED","PUBLIC_SHARING_NOT_ALLOWED","CREDENTIAL_ADMIN_ACCESS_REQUIRED","MCP_SERVER_URL_NOT_ALLOWED","WORKSPACE_PLAN_CAPABILITY_REQUIRED","CHAT_AUTH_MODE_NOT_PERMITTED","CONNECTOR_MANAGED_RESOURCE_READ_ONLY","PERMISSION_GROUP_CAPABILITY_BLOCKED","INTEGRATION_NOT_ALLOWED","INSUFFICIENT_SCOPE","READ_ONLY_API_KEY","SCIM_MANAGED_MEMBERSHIP","FEATURE_NOT_ENABLED"]
Additional context for this refusal.
Other structured context defined by the specific error.
Identifier of this request, the same id as the x-request-id response header. Quote it when contacting support.
Additional properties are not allowed.
Additional properties are not allowed.
Response headers
Seconds to wait before retrying, sent on 429 and 503. Add jitter rather than retrying at exactly this offset.
- minimum
- 0
- maximum
- 9007199254740991