v2

latestOpenAPI 3.1.0Proprietary2026-07-26127193620.1 KB
Memories

Get a memory

Fetch one active memory by key and scope. Omit scope parameters to use automatic scope resolution. Function-authenticated requests use their own Function id and cannot override it. Function scope uses a function id UUID in scope_id.

get/memories

Query parameters

keystring required

Memory key. Must be at most 512 UTF-8 bytes.

scope_type'org' | 'function'

Explicit scope type. Omit to use automatic scope resolution. Pass function with scope_id=<function-id>, or org with no scope_id. Function-authenticated requests cannot override their automatic Function scope.

scope_idstring uuid

Function id UUID when scope_type=function. Not valid with scope_type=org. Function-authenticated requests may only use their own Function id.

Headers

x-primitive-function-idstring uuid

Optional function id UUID used as the default scope for non-function-authenticated requests when query scope parameters are omitted.

Response

Memory record with value.

successtrue required