create

Create a workflow.

Authentication

X-API-Keystring
API Key authentication via header

Request

This endpoint expects an object.
chunkStrategyenumOptional
namestringOptional
The name of the workflow being created.
extractobjectOptional
Extract agent definitions.
templatemap from strings to stringsOptional

Workflow-level prompt template values used by fixed and custom workflow step prompts.

sectionStrategyenumOptional
stepsobjectOptional
A collection of workflow steps
customStepslist of objectsOptional

Workflow-level custom extraction steps. Legacy fixed steps remain under steps.

outputRouteslist of objectsOptional
Custom output routes. Each record must have exactly one matching leafFields record on finalPath, workflowGroup, workflowField, stepName, level, and outputKey.
leafFieldslist of objectsOptional

Custom leaf-field metadata used to validate route integrity and executable-step field counts.

Response

Workflow successfully created
workflowobject
Workflow information