Skip to content

List Agent Task Trackers

tracker.list(TrackerListParams**kwargs) -> TrackerListResponse
GET/tracker

List all agent task trackers, optionally filtered by query parameters.

ParametersExpand Collapse
agent_id: Optional[str]

Agent ID

limit: Optional[int]

Limit

minimum1
order_by: Optional[str]

Field to order by

order_direction: Optional[str]

Order direction (asc or desc)

page_number: Optional[int]

Page number

minimum1
task_id: Optional[str]

Task ID

ReturnsExpand Collapse
id: str

The UUID of the agent task tracker

agent_id: str

The UUID of the agent

created_at: datetime

When the agent task tracker was created

formatdate-time
task_id: str

The UUID of the task

last_processed_event_id: Optional[str]

The last processed event ID

status: Optional[str]

Processing status

status_reason: Optional[str]

Optional status reason

updated_at: Optional[datetime]

When the agent task tracker was last updated

formatdate-time

List Agent Task Trackers

import os
from agentex import Agentex

client = Agentex(
    api_key=os.environ.get("AGENTEX_SDK_API_KEY"),  # This is the default and can be omitted
)
agent_task_trackers = client.tracker.list()
print(agent_task_trackers)
[
  {
    "id": "id",
    "agent_id": "agent_id",
    "created_at": "2019-12-27T18:11:19.117Z",
    "task_id": "task_id",
    "last_processed_event_id": "last_processed_event_id",
    "status": "status",
    "status_reason": "status_reason",
    "updated_at": "2019-12-27T18:11:19.117Z"
  }
]
Returns Examples
[
  {
    "id": "id",
    "agent_id": "agent_id",
    "created_at": "2019-12-27T18:11:19.117Z",
    "task_id": "task_id",
    "last_processed_event_id": "last_processed_event_id",
    "status": "status",
    "status_reason": "status_reason",
    "updated_at": "2019-12-27T18:11:19.117Z"
  }
]