cURL
curl --request GET \ --url https://api.trymaitai.ai/api/v1/agents/{agent_id}/tasks/{task_id}/timeline \ --header 'X-Maitai-Api-Key: <api-key>'
{ "data": [ { "type": "task_start", "task_id": "task_001", "timestamp": 1706000000 }, { "type": "action_invoked", "action_name": "Lookup Order", "timestamp": 1706000001 } ] }
Retrieve the timeline for a specific task within an agent session.
Your Maitai API key from the Portal.
Get agent task timeline.
Was this page helpful?