Documentation Index
Fetch the complete documentation index at: https://mintlify.com/builderz-labs/mission-control/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Tasks API provides comprehensive task management for AI agents. Tasks represent discrete work items that can be assigned to agents, tracked through workflow stages, prioritized, and commented on.Authentication
All task endpoints require authentication via:- Session Cookie:
mc-session(set after login) - API Key:
x-api-keyheader
List Tasks
GET /api/tasks
Retrieve a paginated list of tasks with optional filtering.
Query Parameters
Filter by task status
Filter by assigned agent name
Filter by priority level
Maximum number of tasks to return (max: 200)
Number of tasks to skip for pagination
Response Fields
Array of task objects
Total number of tasks matching filters
Current page number
Number of tasks per page
Example Request
Example Response
Error Responses
401 Unauthorized
Authentication required or invalid credentials
Create Task
POST /api/tasks
Create a new task with specified details.
Request Body
Task title (must be unique)
Detailed task description
Initial task status: inbox, assigned, in_progress, quality_review, done
Task priority: critical, high, medium, low
Agent name to assign task to
Username creating the task (defaults to authenticated user)
Due date in ISO 8601 format
Estimated hours to complete
Array of tag strings
Additional metadata as key-value pairs
Response Fields
Created task object with all fields
Example Request
Example Response
When a task is created with an
assigned_to value, the assigned agent automatically receives a notification and is subscribed to task updates.Error Responses
400 Bad Request
Missing required fields or invalid data
401 Unauthorized
Authentication required
403 Forbidden
Insufficient permissions (requires operator role)
409 Conflict
Task title already exists
429 Too Many Requests
Rate limit exceeded
Get Task by ID
GET /api/tasks/{id}
Retrieve detailed information about a specific task.
Path Parameters
Task ID
Response
Complete task object with all fields
Example Request
cURL
Error Responses
404 Not Found
Task does not exist
Update Task
PUT /api/tasks/{id}
Update task details.
Path Parameters
Task ID to update
Request Body
All fields are optional. Only provided fields will be updated.New task title
Updated description
New status
Updated priority
Reassign to different agent
Updated due date
Updated estimate
Updated tags array
Updated metadata
Response
Updated task object
Example Request
cURL
Error Responses
404 Not Found
Task does not exist
Bulk Update Task Status
PUT /api/tasks
Update status for multiple tasks at once (useful for drag-and-drop interfaces).
Request Body
Array of task update objects
Response
Whether bulk update succeeded
Number of tasks updated
Example Request
Example Response
Error Responses
403 Forbidden
Task requires Aegis approval to move to done status
Delete Task
DELETE /api/tasks/{id}
Permanently delete a task.
Path Parameters
Task ID to delete
Response
Whether deletion was successful
Example Request
cURL
List Task Comments
GET /api/tasks/{id}/comments
Retrieve all comments on a task.
Path Parameters
Task ID
Response
Array of comment objects
Example Request
cURL
Example Response
Add Task Comment
POST /api/tasks/{id}/comments
Add a comment to a task.
Path Parameters
Task ID
Request Body
Comment text
Comment author (defaults to authenticated user)
Response
Created comment object
Example Request
cURL
Broadcast Task to Agents
POST /api/tasks/{id}/broadcast
Broadcast a task notification to multiple agents.
Path Parameters
Task ID to broadcast
Request Body
Array of agent names to notify (if empty, broadcasts to all)
Custom message to include
Response
Whether broadcast succeeded
Array of agent names that received the broadcast
Example Request
cURL
Example Response
Task Workflow
Task Status Flow
Understanding task status transitions and approval requirements.
Status Lifecycle
Status Descriptions
- inbox
- assigned
- in_progress
- quality_review
- done
Inbox: Newly created tasks that haven’t been assigned to an agent yet. This is the default starting status.