Skip to main content
GET
/
agents
/
{agent_id}
/
tasks
/
{task_id}
/
timeline
Get agent task timeline
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
    }
  ]
}

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Path Parameters

agent_id
integer
required
task_id
string
required

Response

200 - application/json

Get agent task timeline.

data
any