Overview
Tasks represent discrete units of work that are assigned to agents. Each task has an objective, acceptance criteria, dependencies, and tracks its completion status.Task Status
| Status | Description |
|---|---|
PENDING | Task created, waiting to be assigned |
IN_PROGRESS | Task is being executed by an agent |
REVIEW_REQUIRED | Task completed, awaiting review |
COMPLETED | Task successfully completed |
NEEDS_FIX | Task requires corrections |
BLOCKED | Task blocked by dependencies or issues |
CANCELLED | Task was cancelled |
Verification Verdict
| Verdict | Description |
|---|---|
APPROVED | Task verification passed |
NOT_APPROVED | Task verification failed |
BLOCKED | Task verification blocked |
List Tasks
Endpoint
List tasks with optional filters
Query Parameters
Filter by workspace ID (defaults to
"default")Filter by task status
Filter by assigned agent ID
Response
Array of task objects
Task Object
Unique task identifier
Task title
Detailed description of the task objective
Scope definition for the task
Array of acceptance criteria strings
Array of commands to verify task completion
ID of the agent assigned to this task
Current task status
Array of task IDs that must be completed first
Group identifier for tasks that can run in parallel
Workspace this task belongs to
Summary of task completion
Verification result:
APPROVED, NOT_APPROVED, or BLOCKEDDetailed verification report
ISO 8601 timestamp of creation
ISO 8601 timestamp of last update
Response Example
Create Task
Endpoint
Create a new task
Request Body
Task title
Detailed description of what needs to be accomplished
Workspace ID (defaults to
"default")Scope definition for the task
Array of acceptance criteria strings
Array of shell commands to verify task completion
Array of task IDs that must complete before this task
Group identifier for parallel execution
Response
The created task object
Response Example
Get Task by ID
Endpoint
Get a single task by ID
Path Parameters
The task ID
Response
The task object
Status Codes
| Status Code | Description |
|---|---|
200 | Success |
404 | Task not found |
Delete Task
Endpoint
Delete a task
Path Parameters
The task ID to delete
Response
Always
true when successfulResponse Example
Update Task Status
Endpoint
Update a task’s status
Path Parameters
The task ID
Request Body
New status:
PENDING, IN_PROGRESS, REVIEW_REQUIRED, COMPLETED, NEEDS_FIX, BLOCKED, or CANCELLEDResponse
Always
true when successfulResponse Example
Get Ready Tasks
Endpoint
Find tasks with all dependencies satisfied and ready for execution
Query Parameters
Filter by workspace ID (defaults to
"default")Response
Array of tasks that are ready to be assigned and executed
Response Example
Delete All Tasks
Endpoint
Delete all tasks in a workspace
Query Parameters
Workspace ID to delete tasks from
Response
Number of tasks deleted