Memory

Get a memory record

Changed on

Returns one record's current body plus its mutating version history (newest first), each version carrying the authoring span/trace/session/user and per-version token deltas.

get/v1/projects/{projectSlug}/memory/record

Request

  • Base URL
    https://api.latitude.so
  • Auth
    HTTP 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.

Query parameters

storeIdstring required

Store identifier (gen_ai.memory.store.id). Pass an empty string to address the unattributed ("") store.

recordIdstring required

Record identifier (gen_ai.memory.record.id). Pass an empty string to address the unnamed record.

Response

Memory record detail

bodystring nullable required

The record's current body. null when the record is deleted or its body was not captured.

tokenCountinteger required

Tokens in the current body.

Changes