Workflows API
Create, manage, and execute multi-step agent workflows.All workflow endpoints require session authentication. Workflows are scoped to the authenticated user — you can only access workflows that belong to your account.
List workflows
Response
Errors
When the session is missing or invalid, this endpoint returns an empty
workflows array with a 401 status instead of a standard error object.Create workflow
Request body
Response (201 Created)
Errors
Get workflow
Path parameters
Response
Errors
Update workflow
nodes is provided, all existing nodes are deleted and replaced with the new set.
Path parameters
Request body
Response
Errors
Delete workflow
Path parameters
Response
Errors
Node types
Workflows support four node types:
Each node stores its configuration and visual position as JSON strings. The
config object typically includes a label field used for display in the visual builder.