API Reference
Tasks
Create and manage tasks via REST API
GET
Overview
Tasks represent individual pieces of work to be executed by AI agents. Base URL:http://localhost:8887/api/tasks
List Tasks
Get all tasks with filtering and pagination.Query Parameters
| Parameter | Type | Description |
|---|---|---|
projectId | string | Filter by project |
status | enum | Filter by status |
priority | enum | Filter by priority |
labels | string | Comma-separated labels |
assignee | string | Filter by assignee |
search | string | Search title/description |
page | integer | Page number |
limit | integer | Items per page |
sort | string | Sort field |
Status Values
pending- Not startedin_progress- Being executedreview- Awaiting reviewcompleted- Successfully completedfailed- Execution failedcancelled- Cancelled by user
Priority Values
lowmediumhighcritical
Get Task
Retrieve a specific task with all details.Create Task
Create a new task.Request Body
Update Task
Update task properties.Request Body
Cancel Task
Cancel a running task.Get Task Logs
Get execution logs for a task.Query Parameters
| Parameter | Type | Description |
|---|---|---|
attemptId | string | Filter by specific attempt |
level | enum | Filter by log level (info, warn, error) |
follow | boolean | Stream logs in real-time |
Bulk Operations
Bulk Update
Update multiple tasks at once.Request Body
Bulk Delete
Request Body
SDK Examples
JavaScript/TypeScript
Python
Next Steps
Attempts API
Manage task attempts
Projects API
Organize tasks in projects
Processes API
Monitor running processes

