Create definition
Creates a new workflow definition.Display name for the definition (up to 255 characters).
Optional description.
The runner that will execute the workflow. Currently the only supported value is
SELF_HOSTED.Configuration for the self-hosted runner.
UUIDs of path parts (folders or documents) that serve as the workflow’s input sources. Between 1 and 20 items.
UUIDs of path parts containing the instructions or prompts the workflow uses. Between 1 and 20 items.
UUIDs of path parts where the workflow writes its output. Between 1 and 20 items.
UUID of an optional template path part.
Maximum number of seconds a single run may take before timing out. Between 60 and 86400 (24 hours). Defaults to
300.WorkflowDefinitionResponse
UUID of the workflow definition.
Display name.
Optional description.
Runner type. Currently always
SELF_HOSTED.Response-safe runner configuration. The
webhook_secret is never returned.UUIDs of source path parts.
UUIDs of instruction path parts.
UUIDs of output path parts.
UUID of the template path part, if set.
Timeout for each run in seconds.
Whether the definition can be invoked. Inactive definitions reject new runs.
ISO 8601 timestamp of creation.
ISO 8601 timestamp of the last update.
List definitions
Returns all workflow definitions in the current tenant.Page number (1-indexed).
Number of results per page.
PaginatedResponse[WorkflowDefinitionResponse]
Get definition
Returns a single workflow definition.UUID of the workflow definition.
WorkflowDefinitionResponse
Update definition
Fully replaces a workflow definition. This is a PUT operation — all required fields must be included even if you only want to change one.UUID of the workflow definition to update.
Display name (up to 255 characters).
Optional description.
Runner type. Currently only
SELF_HOSTED.Self-hosted runner configuration (
url and webhook_secret).Replacement list of source path part UUIDs (1–20 items).
Replacement list of instruction path part UUIDs (1–20 items).
Replacement list of output path part UUIDs (1–20 items).
UUID of the template path part.
Timeout in seconds (60–86400). Defaults to
300.Set to
false to prevent new runs from being triggered. Defaults to true.WorkflowDefinitionResponse
Delete definition
Permanently deletes a workflow definition. Existing run records are not deleted.UUID of the workflow definition to delete.
Invoke workflow
Triggers a new run of a workflow definition. Returns a workflow run object.UUID of the workflow definition to invoke.
An optional string (up to 255 characters) that prevents duplicate runs. If you retry a request with the same key, the API returns the original run instead of creating a new one.
WorkflowRunResponse
See Workflow Runs for the full response field reference.
List runs for definition
Returns all runs associated with a specific workflow definition.UUID of the workflow definition.
Page number (1-indexed).
Number of results per page.
PaginatedResponse[WorkflowRunResponse]