v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-304917042.1 MB
workflows

Create a workflow revision

post/v1/workflows/{workflow_id}/revisions

Path parameters

workflow_idstring uuid required

Request body

namestring required
descriptionstring nullable
based_on_revision_idstring uuid nullable
instructionsstring required
system_promptstring nullable
compilation_strategystring nullable
trigger_typestring nullable
trigger_configobject nullable
router_config_idstring uuid nullable
policy_idsstring[] nullable

Response

Successful Response

idstring uuid required
workflow_idstring uuid required
namestring required
descriptionstring nullable
instructionsstring required
system_promptstring nullable
compiled_graphobject nullable
quality_reportobject nullable
compilation_errorsstring[] nullable
compilation_strategystring required
compilation_statusstring required
compilation_task_idstring nullable
compilation_input_hashstring nullable
trigger_typestring required
trigger_configobject required
router_config_idstring uuid nullable
tool_input_defaultsobject nullable
knowledge_base_idsstring[]
created_bystring nullable
created_atstring date-time required
updated_atstring date-time required