ListTasksRequest
¶
Source code in docs_src/capo_context/types/list_tasks_request.py
agent_context_id
instance-attribute
¶
agent_context_id: AgentContextIdentifier
The agent context, as an ID or ARN.
max_results
instance-attribute
¶
max_results: NotRequired[MaxResults]
The maximum number of tasks to return in one page, from 1–100. The service can return fewer. Defaults to 20. A value outside 1–100 fails with ValidationException.
next_token
instance-attribute
¶
next_token: NotRequired[PaginationToken]
The pagination token from a previous ListTasks response. Omit it for the first page, and keep the status and type filters the same on every page.
status
instance-attribute
¶
status: NotRequired[TaskStatus]
Specify a status to list only the tasks with that status.