Lists tasks with optional filtering and cursor-based pagination.
Number of tasks to return per page. Default: 20, Max: 100.
Pagination cursor from the previous response's next_cursor field. Omit for the first page.
Sort direction by creation time. "desc" (default) returns newest first, "asc" returns oldest first.
asc, desc Filter by task type. "all" (default) returns all tasks. "standard" returns regular tasks. "project" returns tasks within a project (requires project_id). "agent_subtask" returns subtasks created by an agent (requires agent_id).
all, agent_subtask, project, standard Filter tasks by agent. Required when scope="agent_subtask". Use agent.list to get available agent IDs.
Filter tasks by project. Required when scope="project". Use project.list to get available project IDs.
Tasks retrieved successfully.
Whether the request was successful.
true
Unique identifier for this API request.
Array of task objects matching the filter criteria.
Whether there are more tasks beyond this page. If true, use next_cursor to fetch the next page.
Cursor to pass as the cursor parameter for the next page. Only present when has_more is true.