v64

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

Get a memory record

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

Path parameters

projectSlugstring required

Project slug (human-readable identifier)

Project slug (human-readable identifier)

Query parameters

storeIdstring required

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

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.

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.