Documentation Index Fetch the complete documentation index at: https://docs.xpander.ai/llms.txt
Use this file to discover all available pages before exploring further.
Retrieve a paginated list of tasks with optional filtering by status, agent ID, or creation date. Useful for monitoring task execution across your organization or for specific agents.
Query Parameters
Page number (starting from 1)
Items per page (maximum 50)
Filter by user ID who created the task
Filter by specific agent UUID
Filter by parent task ID (for sub-tasks)
Filter by triggering agent ID (parent calling agent in multi-agent workflows)
Filter by task status: pending, executing, paused, error, failed, completed, stopped
Filter by internal task processing status
Filter tasks created on or after this date (ISO 8601, e.g., 2026-02-01T00:00:00Z)
Filter tasks created on or before this date (ISO 8601)
Response
Array of task objects Unique identifier for the task (UUID format)
UUID of the agent that executed this task
UUID of the user who created the task (null if created via API)
UUID of parent task if this is a subtask (null otherwise)
UUID of agent that triggered this task (null if not triggered by agent)
UUID of the organization that owns this task
Current task status: queued, running, completed, failed, cancelled
ISO 8601 timestamp of task creation
ISO 8601 timestamp of last update
Source that created the task (e.g., sdk, api, webhook)
Task execution result as JSON string (present when completed)
Task title or description (nullable)
Total number of tasks matching the filter across all pages
Number of items returned per page
Total number of pages available
Example Requests
# List all tasks (first page)
curl -X GET -H "x-api-key: <your-api-key>" \
"https://api.xpander.ai/v1/tasks?page=1&per_page=10"
# Filter by status
curl -X GET -H "x-api-key: <your-api-key>" \
"https://api.xpander.ai/v1/tasks?status=completed&page=1&per_page=10"
# Filter by agent
curl -X GET -H "x-api-key: <your-api-key>" \
"https://api.xpander.ai/v1/tasks?agent_id=<agent-id>&page=1"
# Filter by date range
curl -X GET -H "x-api-key: <your-api-key>" \
"https://api.xpander.ai/v1/tasks?from_date=2026-02-01T00:00:00Z&to_date=2026-02-07T23:59:59Z"
Example Response
{
"items" : [
{
"id" : "81250b20-e9d7-4b3b-9995-07dc72b4bb59" ,
"agent_id" : "a1b2c3d4-e5f6-7890-abcd-ef1234567890" ,
"user_id" : null ,
"parent_task_id" : null ,
"triggering_agent_id" : null ,
"organization_id" : "f47ac10b-58cc-4372-a567-0e02b2c3d479" ,
"status" : "completed" ,
"created_at" : "2026-02-07T02:13:27.228497Z" ,
"updated_at" : "2026-02-07T02:13:41.541072Z" ,
"source_node_type" : "sdk" ,
"result" : "{ \" name \" : \" xpander.ai \" , \" notes \" : \" Full-stack agent platform... \" }" ,
"title" : "What is xpander.ai?"
}
],
"total" : 4300 ,
"page" : 1 ,
"per_page" : 2 ,
"total_pages" : 2150
}
Use Cases
Monitor task volume - Track total tasks and completion rates
Filter by agent - See tasks for a specific agent
Find completed work - Retrieve only successful task executions
Track recent activity - Filter by creation date range
API Key for authentication
Page number (starting from 1)
Required range: x >= 1
Required range: 1 <= x <= 50
filter by user id (optional)
filter by parent task id (optional)
filter by agent id (optional)
filter by triggering agent id (parent calling agent) (optional)
filter by task status (optional)
Available options:
pending,
executing,
paused,
error,
failed,
completed,
stopped
filter by internal status (optional)
filter tasks created on or after this date (ISO 8601, optional)
filter tasks created on or before this date (ISO 8601, optional)
items
TasksListItem · object[]
required