Create a new task
POST /api/v3/organizations/{organisation}/ai/tasks
Creates a new task for multi-agent coordination and workflow orchestration. * * Key Features: * - Persistent State: Tasks survive across conversations and sessions * - Agent Assignment: Pre-assign tasks to specific agents * - Task Lists: Group related tasks using taskListId (implicit - no need to create lists first) * - Dependencies: Define task dependencies for workflow orchestration * - Metadata: Store flexible JSON metadata for task-specific data * - Progress Tracking: Track progress from 0.0 to 1.0 * * Use Cases: * - Break down complex requests into manageable steps * - Assign work to specialized agents * - Track long-running operations * - Coordinate multi-agent workflows
Authorizations
Parameters
Path Parameters
The organisation ID
Request Body required
object
Task title
Process document and create summaryDetailed task description
Extract text from PDF, analyze content, and generate executive summaryTask list ID for grouping related tasks (implicit - lists are created automatically)
world-1Initial task status
Pre-assign task to specific agent
agent-code-reviewerAgent ID that created this task
agent-coordinatorTask IDs that must complete before this task can start
[ "550e8400-e29b-41d4-a716-446655440000"]Flexible JSON metadata for task-specific data
object
{ "priority": "high", "tags": [ "document-processing" ], "workflow": "document-pipeline"}Maximum retry attempts on failure
Responses
201
Task created successfully
object
400
Invalid request
500
Failed to create task