Create a workflow definition as a directed acyclic graph (DAG) of steps for repeatable AI orchestrations.
draft status and must be published before they can be executed. This two-phase approach allows teams to review and validate workflow definitions before they are available to agents.
workflows:write scope. Alternatively, pass a Bearer JWT token
in the Authorization header.name (string,
required) — Unique step identifier within the workflow - type (string,
required) — Step type: llm_inference, tool_call, guardrail_check,
decision, transform, webhook - config (object, required) —
Step-specific configuration (model, tool name, guardrail rules, etc.) -
depends_on (string[]) — Array of step names that must complete before this
step executes1.0.0). Defaults to 1.0.0 if
omitted.draft on creation.API key for machine-to-machine authentication