Get workflow
get_workflowRetrieve a workflow's metadata and the steps of its execution version (active or current for draft).
Instructions
Get one workflow's metadata and step projection. The projection is the version pinned for execution (active_version), falling back to current_version for a draft that has not been activated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | The workflow's UUID (from list_workflows or create_workflow). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| engine | Yes | ||
| status | Yes | ||
| user_id | Yes | ||
| agent_id | Yes | ||
| hook_key | Yes | ||
| cron_expr | Yes | ||
| created_at | Yes | ||
| projection | Yes | Arbitrary JSON owned by the producing engine. | |
| updated_at | Yes | ||
| description | Yes | ||
| notify_pref | Yes | ||
| next_fire_at | Yes | ||
| trigger_kind | Yes | ||
| paused_reason | No | ||
| template_slug | No | ||
| active_version | Yes | ||
| current_version | Yes | ||
| spend_cap_month | Yes | ||
| agent_deleted_at | No |