Run Workflow
run_workflowStart a multi-step workflow pipeline and return its session id and definition_sha immediately by default — the fingerprint of the definition this run resolved, comparable against the one plan_workflow reported. Poll get_workflow_session for each step's model/provider and output. synthesis. Steps run on YOUR configured provider keys, so a pipeline can chain models across providers. If a step is a human checkpoint, returns the session id to advance. Requires authentication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The input to run the pipeline on. Be specific, e.g. 'Analyze NVDA as an investment'. | |
| workflow | Yes | The workflow slug (from list_workflows), e.g. 'live_market_pipeline', 'due_diligence', 'coding_tdd'. | |
| parameters | No | Values for the workflow's declared parameters, as a flat name-to-value object, e.g. {"region": "EU"}. Omitted names use their declared defaults. Workflows that declare no parameters take none. | |
| step_models | No | Per-run model choices, keyed by zero-based step index, exactly as supplied to plan_workflow. IDs are catalog-validated; existing key, tier and platform fallback rules still apply. These choices must also match when recovering a start with an idempotency key. | |
| wait_seconds | No | Optional synchronous wait; default 0 returns immediately. | |
| idempotency_key | No | Caller-supplied key: sending the same key again returns the run that already exists instead of starting a second, paid run. Use a stable key derived from your own request so an uncertain retry converges. Max 120 chars, [A-Za-z0-9._:-]. |