Skip to main content
Use this endpoint to retrieve the complete ordered event log for an agent session. Events are returned in ascending event_time order, giving you a precise chronological trace of every API call the agent made during that session. This is the primary tool for session replay, root cause analysis, and understanding exactly what an agent did — including which external paths it hit, what responses it received, and whether any errors occurred.
Results are capped at 500 events per request. Use the limit parameter to reduce the page size. If a session has more than 500 events, only the earliest limit events are returned.

Request

string
required
JWT identifying the authenticated user.
string
required
UUID of the agent that owns the session.
string
required
UUID of the project the agent belongs to.

Query parameters

string
required
UUID of the agent session. Corresponds to the agent_session_id claim in the session JWT and the AgentSession.id in UASAM.
number
default:"200"
Maximum number of events to return. Clamped to the range [1, 500]. Defaults to 200.

Response

number
required
1 on success.
string
required
session_events_listed on success.
string
required
The agent UUID from the request headers.
string
required
The project UUID from the request headers.
string
required
The session UUID from the query parameters, echoed back.
number
required
Number of events included in this response (at most limit).
object[]
required
Ordered list of serialized BackendEvent records.