Skip to main content
GET
Returns the ordered timeline of events captured during a session. Events include prompts, commands, file diffs, decisions, and more. Supports cursor-based pagination via the after parameter.

Authentication

Requires either an org API key or a candidate key.
string
required
The session ID.
integer
default:"500"
Number of events to return. Maximum 2000.
string
Cursor for pagination. Pass the id of the last event from the previous page to get the next page.
array
List of timeline event objects.
boolean
Whether there are more events beyond this page. Use the last event’s id as the after cursor to fetch the next page.