Tool
workflow_definition_import
Create a draft from an exported definition.
Create a draft from an exported definition. `id`, `product_id`, `owner`, `grants` and the version history are dropped: grants are requested again in this product.
Behavior
- HTTP
POST /workflow/definition/import
Arguments
Name | Type | Required | Description |
|---|---|---|---|
name | string | • | No description in the catalog. |
definition | object | • | A workflow definition: trigger, nodes, edges, grants, config_refs. |
Response
Field | Type | Always | Description |
|---|---|---|---|
live | object | • | |
draft | object | • | |
grants | object | • | The workflow principal's grants; null when Governance could not be reached. |
health | object | • | What the dependency check found; null when nothing is unknown. |
issues | array | • | Validation of the draft as it stands right now. |
timeline | array | • | The last 20 health entries, newest first; `workflow_health_list` pages the rest. |
workflow | object | • | |
dependencies | array | • | What the live version was validated against, with the hashes it saw. |
Try it
Create a draft from an exported definition.