Skip to main content
GET
List coding agent session events

Authorizations

X-Auth-Token
string
header
required

Project API key for sending traces and accessing project-scoped resources. Format: sk-lw-... (no underscore). Obtain one by creating a project via the Admin API or the LangWatch UI.

Path Parameters

sessionId
string
required

The agent's own session id (session.id / conversation id).

Query Parameters

kinds
string

Comma-separated event kinds to include. Known kinds: model_call, compaction, rate_limit, api_error, retries_exhausted, tool_result, tool_decision, user_prompt, subagent_completed.

cursor
string

Opaque keyset cursor from the previous response's nextCursor.

limit
integer
default:500
Required range: x <= 1000
from
integer

Epoch ms lower bound on event time; with to, prunes storage partitions for faster reads.

to
integer

Epoch ms upper bound on event time.

Response

One page of session events plus the cursor for the next page

events
object[]
required
nextCursor
string | null
required