Sessions
List session traces
Changed onReturns 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
Request
- Base URLhttps://api.latitude.so
- AuthHTTP bearer
Path parameters
projectSlugstring required
Project slug (human-readable identifier)
Project slug (human-readable identifier). The CLI can also read this from the LATITUDE_PROJECT_SLUG environment variable.
sessionIdstring required
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.
limitinteger
Page size. Defaults to 50; max 200.
sortBy'startTime' | 'endTime' | 'durationNs' | 'tokensTotal' | 'costTotalMicrocents'
Field to sort by. Defaults to startTime.
sortDirection'asc' | 'desc'
Sort direction. Defaults to desc (most recent first).
Response
Page of traces
Changes
- info
endpoint added
- info