v64

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-03124241726.5 KB
Sessions

List session traces

Returns a cursor-paginated page of the traces that belong to the session. Rows match the trace list shape and exclude per-message LLM content — use getTrace for the full conversation view.

get/v1/projects/{projectSlug}/sessions/{sessionId}/traces

Path parameters

projectSlugstring required

Project slug (human-readable identifier)

Project slug (human-readable identifier)

sessionIdstring required

Session identifier lifted from instrumentation. Up to 128 characters.

Session identifier lifted from instrumentation. Up to 128 characters.

Query parameters

cursorstring

Opaque cursor returned in a previous response's nextCursor. Omit on the first page.

Opaque cursor returned in a previous response's nextCursor. Omit on the first page.

limitinteger

Page size. Defaults to 50; max 200.

Page size. Defaults to 50; max 200.

sortBy'startTime' | 'endTime' | 'durationNs' | 'tokensTotal' | 'costTotalMicrocents'

Field to sort by. Defaults to startTime.

Field to sort by. Defaults to startTime.

sortDirection'asc' | 'desc'

Sort direction. Defaults to desc (most recent first).

Sort direction. Defaults to desc (most recent first).

Response

Page of traces

nextCursorstring nullable required

Opaque cursor for fetching the next page. null when there are no more pages. Pass it back in cursor to continue.

hasMoreboolean required

true when there is at least one more page after this one.