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).

Minimum string length: 1

Query Parameters

limit
integer
default:500
Required range: x <= 1000
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.

from
number

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

to
number

Epoch ms upper bound on event time.

cursor
string

Opaque keyset cursor from the previous response's nextCursor.

Response

Success

events
object[]
required
nextCursor
string | null
required
Last modified on October 12, 2026