Workflows let you chain agent actions into repeatable, multi-step pipelines. Each step in a workflow triggers an agent run, passing input forward through the sequence. Workflows execute asynchronously — you receive a job ID immediately and poll for progress — making them suitable for long-running automation tasks like content pipelines, research flows, and multi-stage data processing.Documentation Index
Fetch the complete documentation index at: https://operativusai.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
What is a workflow?
A workflow is a named, ordered sequence of steps. Each step references an agent ID and optional configuration. When you execute a workflow, Agent Manager runs each step in order, feeding the output of one step as the input to the next. The state of every run is persisted to the database, so workflows survive restarts and can be resumed after a human approval pause.Content pipelines
Research a topic with
web_agent, summarize with procurator_assistant, then draft a post.Research flows
Gather data across multiple sources, analyze findings, and produce a structured report.
Data processing
Extract, transform, and validate data across agents with different tool sets.
Creating a workflow
WorkflowDTO):
A human-readable name for the workflow.
Optional description of what the workflow does.
Adding steps
After creating a workflow, add steps to define what each agent should do. Steps execute in the order they are added (bystepOrder).
WorkflowStepDTO):
The ID of the agent to invoke for this step.
The prompt or instruction sent to the agent for this step.
The position of this step in the sequence, starting from 1. Steps execute in ascending order.
Executing a workflow
Trigger an asynchronous run of the workflow:The initial input passed to the first step.
Optional session ID for context continuity. A new session is created if omitted.
202 Accepted:
The workflow runs asynchronously. The
jobId in the response is an internal queue job identifier. Use the workflow runs endpoint (below) to track execution progress by workflowId.Checking run status
List all historical runs for a workflow, newest first:?page=0&size=20.
Run response fields:
Unique identifier for this workflow run.
ID of the parent workflow.
The session used for this run.
Current run status:
RUNNING, COMPLETED, FAILED, or PAUSED.The step number currently being executed (or last executed if the run is paused or complete).
Total elapsed time in milliseconds (computed from
createdAt to updatedAt).ISO 8601 timestamp when the run was created.
ISO 8601 timestamp of the last status change.
Resuming a paused workflow
If a step involves an agent tool that requires human approval, the workflow pauses at that step and the run entersPAUSED status. Resume it with the approved output:
The human-approved content to inject as the output of the paused step. This value is passed as input to the next step in the sequence.
202 Accepted:
Cloning a workflow
Create an independent copy of an existing workflow with all its steps: (Copy) appended to its name and a new unique ID.
Example response:
Workflow management endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /api/v1/workflows | List all workflows (paginated). |
GET | /api/v1/workflows/{id} | Get workflow by ID. |
POST | /api/v1/workflows | Create a new workflow. |
PATCH | /api/v1/workflows/{id} | Update workflow name or description. |
DELETE | /api/v1/workflows/{id} | Delete a workflow and its steps. |
GET | /api/v1/workflows/{id}/steps | List steps for a workflow. |
POST | /api/v1/workflows/{id}/steps | Add a step to a workflow. |
DELETE | /api/v1/workflows/{id}/steps/{stepId} | Remove a step. |
POST | /api/v1/workflows/{id}/clone | Clone a workflow with all its steps. |
POST | /api/v1/workflows/{id}/run | Execute a workflow asynchronously. |
GET | /api/v1/workflows/{workflowId}/runs | List run history for a workflow. |
POST | /api/v1/workflows/runs/{runId}/resume | Resume a paused workflow run. |