Sessions
Get session memory footprint
Changed onReturns the session's memory footprint: per-record read, added, and removed token metrics plus session-wide totals. Pass traceId to restrict the footprint to a single trace of the session.
get/v1/projects/{projectSlug}/sessions/{sessionId}/memory
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
traceIdstring
Restrict the memory footprint to this trace of the session. Omit for the whole session.
Response
Session memory footprint
Changes
- info
endpoint added
- info