create
Create a workflow.
Authentication
X-API-Keystring
API Key authentication via header
Request
This endpoint expects an object.
chunkStrategy
name
The name of the workflow being created.
yaml
Authored workflow YAML source. When set, the server compiles it into the canonical workflow structures (steps, prompts, routes) — the other definition fields (extract, customSteps, outputRoutes, leafFields, steps) are derived from it and must be omitted. An extraction-definition-only YAML (groups + field prompts, no workflow block) has its workflow definitions scaffolded server-side.
extract
Extract agent definitions.
template
Workflow-level prompt template values used by fixed and custom workflow step prompts.
sectionStrategy
steps
A collection of workflow steps
customSteps
Workflow-level custom extraction steps. Legacy fixed steps remain under steps.
outputRoutes
Custom output routes. Each record must have exactly one matching leafFields record on finalPath, workflowGroup, workflowField, stepName, level, and outputKey.
leafFields
Custom leaf-field metadata used to validate route integrity and executable-step field counts.
Response
Workflow successfully created
workflow
Workflow information

