run_workflow
Run a workflow Composer planned for you and get the synthesized result. PAID via x402 — one payment replaces the multi-step work you'd otherwise do yourself.
Pass the plan_id from plan_workflow. This call is payment-gated: it returns an
x402 402 carrying the final live-checked price (normally ≈ plan_workflow's
indicative quote); your x402 client pays it (settled on Base), and Composer then
executes the multi-step workflow — paying each provider from its own wallet — and
returns the synthesized answer. You pay Composer's price for the outcome
(principal/reseller); the 402 is authoritative, and a run that fails after
payment is refunded.
agent_id is optional — identify yourself for attribution if you like.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | ||
| agent_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||