Run Workflow
workflow_runQueue a run of one exact saved Workflow version. mode pilot is an isolated trial; mode run is production. max_charge_credits is a hard ceiling for the whole run. idempotency_key is required: resubmitting with the same key replays the existing run (replay:true) instead of starting another. Returns the run summary and poll_after_ms; follow progress, results, cancel, or resume with workflow_runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | pilot for an isolated trial run, run for production. | |
| input | No | Inline Workflow input; mutually exclusive with input_artifact_id. | |
| action | No | Optional symmetry alias. Omit it or pass submit. | |
| version | Yes | Exact immutable saved version; latest is not accepted. | |
| max_rows | No | Maximum result rows: max 10000. | |
| workflow_id | Yes | Workflow ID that owns the saved version. | |
| idempotency_key | Yes | Stable exactly-once retry key for submit. | |
| input_artifact_id | No | Tenant-owned artifact holding the Workflow input. | |
| max_charge_credits | Yes | Positive decimal hard cap for the complete run. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | Run summary. | |
| replay | No | True when an identical submit was replayed. | |
| poll_after_ms | No | Suggested poll delay for queued runs. |