Skip to content

Memories

GET /v1/memories
Parameter In Type Required Notes
end_user_id query string yes min length 1; max length 255
query query string | null no max length 1000
include_superseded query boolean no default false
limit query integer no ≥ 1; ≤ 100; default 20

MemoryList

401 Unauthorized · 402 Payment Required · 403 Forbidden · 404 Not Found · 413 Request Entity Too Large · 422 Unprocessable Entity · 429 Too Many Requests

Every error has the same body: see Limits and errors.

POST /v1/memories

Send messages and facts are extracted in the background with your LLM key (202), or send one fact to store it directly (201). Near-duplicates update the existing fact; a fact that contradicts an older one supersedes it.

Field Type Required Notes
end_user_id string yes min length 1; max length 255
messages array of ConversationMessage | null no at least 1 items; at most 50 items
fact string | null no min length 1; max length 500
category "goal" | "preference" | "condition" | "history" | "other" no default "other"

Memory | MemoryExtractionQueued

MemoryExtractionQueued

401 Unauthorized · 402 Payment Required · 403 Forbidden · 404 Not Found · 413 Request Entity Too Large · 422 Unprocessable Entity · 429 Too Many Requests

Every error has the same body: see Limits and errors.

DELETE /v1/memories/{memory_id}
Parameter In Type Required Notes
memory_id path string (uuid) yes

no body

401 Unauthorized · 402 Payment Required · 403 Forbidden · 404 Not Found · 413 Request Entity Too Large · 422 Unprocessable Entity · 429 Too Many Requests

Every error has the same body: see Limits and errors.