Automation ID (auto_...) or lookup_key of the automation to invoke.
Request body.
Optionalidempotency_key?: stringUnique key to deduplicate concurrent or retried invocations. A second request with the same key returns the existing run instead of creating a new one.
Optionalparticipants?: Record<string, unknown>Map of symbolic participant refs to agent ids (agi_... or UUID) for distributed embed_agent handoffs. Stored in the run's top-level participants field.
Optionalpayload?: Record<string, unknown>Free-form invoke input — the workflow parameters. Validated against the automation's input_schema when configured. Stored as event_payload and becomes the workflow $ after trigger unwrap (e.g. {{$.bug}}).
The automation run created by this invocation.
Invoke an automation Triggers a single run of an automation that has
type: "invoked". Returns the resulting automation run object, which you can use to poll or display run status. Both server-to-server (secret key) and user (publishable key + JWT) auth are supported. The automation'sinvoke_authsetting controls which auth modes are accepted; requests using an unsupported mode are rejected with 403. For server-to-server callers the run executes under the identity configured in the automation'srun_as_userorrun_as_agentfields. For authenticated user callers the invoking user's identity is used automatically. If you supply anidempotency_key, a second request with the same key returns the existing run rather than creating a new one.Body fields
payload— free-form invoke input. This is the workflow parameters: validated againstinput_schemawhen configured, stored asevent_payload, and becomes the workflow$after trigger unwrap (e.g.{{$.bug}}for{"bug":"upload fails"}).participants— optional map of symbolic participant refs to agent ids for distributedembed_agentnodes, e.g.{"investigator":"agi_...","evaluator":"agi_..."}. Stored in the run's top-levelparticipantsfield (not inside free-form payload) and exposed to workflows through their system context. Same top-levelpayload+participantsshape as routine invoke.