Authorization header. Workflow access is tenant-scoped: operations on workflows belonging to another organization return 404 Not Found.
List workflows
number
default:"0"
Zero-based page index.
number
default:"20"
Number of workflows per page.
string
Sort field and direction, e.g.
createdAt,desc.Create a workflow
201 Created with the persisted WorkflowDTO.
string
required
Human-readable name for the workflow.
string
Optional description of the workflow’s purpose.
object[]
Initial steps to create with the workflow. You can also add steps after creation via the steps endpoint.
Get a workflow
404 Not Found if the workflow does not exist or belongs to another tenant.
string
required
The workflow identifier.
Update a workflow
string
required
The workflow identifier.
string
Updated name for the workflow.
string
Updated description.
Delete a workflow
204 No Content.
string
required
The workflow identifier.
List workflow steps
string
required
The workflow identifier.
Add a step
201 Created with the persisted WorkflowStepDTO.
string
required
The workflow to add the step to.
string
required
The agent to invoke for this step.
string
required
The prompt or instruction sent to the agent for this step.
number
The position in the sequence, starting from 1. Steps execute in ascending order.
Remove a step
204 No Content.
string
required
The workflow identifier.
string
required
The step identifier to remove.
Clone a workflow
" (Copy)". Returns 201 Created.
string
required
The workflow to clone.
Execute a workflow
jobId, workflowId, and sessionId. The workflow executes each step in order, passing outputs between steps.
string
required
The workflow to execute.
string
required
The initial input text passed to the first step.
string
UUID of an existing session to associate with this run. A new session is created if omitted.
string
Background job identifier for tracking execution.
string
The workflow that was triggered.
string
The session associated with this run.
List workflow runs
200 OK with an empty page if the workflow exists but has no runs yet.
string
required
The workflow whose run history to fetch.
number
default:"0"
Zero-based page index.
number
default:"20"
Number of runs per page. Maximum enforced by server configuration.
object[]
Array of
WorkflowRunResponse objects.Resume a paused workflow run
jobId for the resumed execution.
string
required
The run identifier of the paused workflow run.
string
required
The human-approved content to pass as input to the next workflow step.
string
Background job identifier for the resumed execution.
string
The run that was resumed.