List tasks with optional filtering
GET /api/v3/organizations/{organisation}/ai/tasks
Lists tasks for an organization with optional filtering. Filters can be combined for powerful queries.
*
* Filter Examples:
* - All tasks in a list: ?taskListId=world-1
* - Pending tasks in a list: ?taskListId=world-1&status=pending
* - Tasks assigned to an agent: ?assignedAgentId=agent-code-reviewer
* - Combined: ?taskListId=world-1&status=in_progress&assignedAgentId=agent-1
*
* Reverse Dependency Lookup:
* Use dependsOn to find tasks that depend on a specific task (waiting for it to complete):
* - ?dependsOn=task-123 - Returns task IDs only (lightweight)
* - ?dependsOn=task-123&includeDetails=true - Returns full task objects
* - ?dependsOn=task-123&status=pending - Pending tasks waiting for task-123
*
* Ordering:
* Tasks are returned in reverse chronological order (most recent first).
Authorizations
Parameters
Path Parameters
The organisation ID
Query Parameters
Filter tasks by task list ID. Task lists are implicit groupings - any string can be used.
Example
world-1Filter tasks by status
Example
pendingFilter tasks by assigned agent ID
Example
agent-code-reviewerMaximum number of tasks to return (default 50, max 100)
Reverse lookup: find tasks that depend on this task ID. Returns tasks waiting for the specified task to complete.
Example
550e8400-e29b-41d4-a716-446655440000When using dependsOn, return full task objects in addition to IDs. Default false (IDs only for lightweight responses).
Responses
200
Tasks retrieved successfully. Response format varies: standard returns {tasks, count}, with dependsOn returns {taskIds, count, dependsOn}, with dependsOn+includeDetails returns {taskIds, tasks, count, dependsOn}
object
object
550e8400-e29b-41d4-a716-446655440000quantworld-1Process document and create summaryExtract text from PDF, analyze contentin_progressagent-1230.517356896000001735689700000Task IDs (only with dependsOn filter)
2The queried task ID (only with dependsOn filter)
500
Failed to list tasks