Get Agent Tasks
REST API - Agents
Get Agent Tasks
Retrieve paginated list of task executions for a specific agent with optional filters
GET
Get Agent Tasks
Get paginated task records for a specific agent with support for filtering by user, status, and parent task relationships. In multi-turn conversations, reusing an invocationDocumentation Index
Fetch the complete documentation index at: https://docs.xpander.ai/llms.txt
Use this file to discover all available pages before exploring further.
id updates the same task/thread record instead of creating a brand-new top-level item for every turn.
Path Parameters
Unique identifier of the agent (UUID format)
Query Parameters
Page number (starting from 1)
Items per page (maximum 50)
Filter by user ID who created the task
Filter by parent task ID (for sub-tasks)
Filter by triggering agent ID (parent calling agent in multi-agent workflows)
Filter by task execution status:
pending, executing, paused, error, failed, completed, stoppedFilter by internal task processing status
Response
Array of task objects
Total number of tasks for this agent
Current page number
Number of items per page
Total number of pages available
Example Requests
List all tasks for an agent
Filter by status
Filter by user
Example Response
Use Cases
- Monitor Agent Activity: Track all tasks executed by a specific agent
- Debug Workflows: Filter by parent_task_id to see sub-task hierarchies
- User Analytics: Filter by user_id to see tasks from specific users
- Multi-Agent Debugging: Use triggering_agent_id to trace agent-to-agent delegations
- Performance Analysis: Track task completion times and status distribution
Notes
- Tasks are returned in reverse chronological order (newest first)
- Continuing a conversation by sending the same invocation
idupdates the same task/thread record instead of creating a new top-level task item - The
title,result, andupdated_atfields reflect the latest turn for that task/thread - The
source_node_typeindicates how the task was invoked (SDK, webhook, web UI, etc.) - Sub-tasks (when
parent_task_idis set) represent work delegated to other agents - Use Get Task for the latest full task object and Get Task Thread or Get Task Thread (Full) for message history
See Also
- List Tasks - List all tasks across all agents
- Get Task - Get detailed information about a specific task
- Invoke Agent - Create new tasks
Authorizations
API Key for authentication
Path Parameters
Query Parameters
Page number (starting from 1)
Required range:
x >= 1Items per page (max 50)
Required range:
1 <= x <= 50Filter by user ID
Filter by parent task ID
Filter by triggering agent ID (parent calling agent)
Filter by task execution status
Available options:
pending, executing, paused, error, failed, completed, stopped Filter by internal task status

