Skip to main content
GET
/
v1
/
chat
/
tasks
/
{task_id}
/
steps
Get Chat Task Steps
curl --request GET \
  --url https://api.example.com/v1/chat/tasks/{task_id}/steps \
  --header 'Authorization: Bearer <token>'
{
  "task_id": 123,
  "agent_id": 123,
  "steps": [
    {
      "id": "<string>",
      "started_at": "2023-11-07T05:31:56Z",
      "completed_at": "2023-11-07T05:31:56Z",
      "data": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

task_id
integer
required

Response

Successful Response

GET /v1/chat/tasks/{task_id}/steps response body.

Steps are returned in monotonic started_at order. The endpoint is a polling primitive: each call returns the full known history so far (including any still-running steps as status='running') so SDK clients can resume after a network blip without state.

task_id
integer
required

The task these steps belong to.

agent_id
integer
required

The task's agent.

steps
PublicStep · object[]

Public-timeline steps in started_at ascending order.