Get Events
Sessions
Get Events
Poll for session events
GET
Get Events
Get buffered events for a session. Use polling to follow the agent’s progress in real time.Documentation Index
Fetch the complete documentation index at: https://docs.tapkit.ai/llms.txt
Use this file to discover all available pages before exploring further.
Request
Path Parameters
| Parameter | Type | Description |
|---|---|---|
session_id | string | The session identifier |
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
since | integer | 0 | Get events starting from this index |
Response
Status: 200 OKResponse Fields
| Field | Type | Description |
|---|---|---|
events | array | Array of event objects |
events[].index | integer | Sequential event index |
events[].type | string | Event type |
events[].ts | string | ISO 8601 timestamp |
events[].data | object | Event-specific data |
next_index | integer | Pass this as since in your next poll |
Examples
Polling Loop
Related Endpoints
- Get Session - Get session status
- Send Message - Send a follow-up message to the agent
- Stop Session - Kill a running session