GET
/
events
[
  {
    "id": "<string>",
    "sequence_id": 123,
    "task_id": "<string>",
    "agent_id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "content": {
      "type": "text",
      "author": "user",
      "style": "static",
      "format": "plain",
      "content": "<string>",
      "attachments": [
        {
          "file_id": "<string>",
          "name": "<string>",
          "size": 123,
          "type": "<string>"
        }
      ]
    }
  }
]

Query Parameters

last_processed_event_id
string | null

Optional event ID to get events after this ID

limit
integer | null

Optional limit on number of results

Required range: 1 <= x <= 1000
task_id
string
required

The task ID to filter events by

agent_id
string
required

The agent ID to filter events by

Response

200
application/json

Successful Response

The response is of type Event · object[].