memory

Recall memories for grounding

post/v1/recall

Request

  • Base URL: https://api.contextdb.ai
  • URL: https://api.contextdb.ai/v1/recall
  • Auth: HTTP bearer

Request body

user_idstring required

End-user memory partition key. Not an identity assertion.

querystring required
top_kinteger
as_ofstring date-time
max_context_tokensinteger
entitystring
min_confidencenumber
min_memory_versioninteger

Monotonic consistency version within one organization/project.

min_primary_wal_lsnstring

Minimum primary WAL position the read must include.

read_consistency'default' | 'primary' | 'replica_fallback'

default routes token-bearing reads to primary and tokenless reads to the read pool. primary always uses primary. replica_fallback waits briefly on the read pool, then retries against primary.

Response

Rendered context plus the memories behind it

contextstring required

Injection-guarded rendered context for prompting

Changes

No recorded changes to this operation across all 1 revision of this API.