Get Agent Task Tracker
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_tracker = client.tracker.retrieve(
"tracker_id",
)
print(agent_task_tracker.id){
"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"
}