Skip to main content
POST
Recall memory
This is the REST version of tex.recall. Use it before generation to get the memory your model should read. For mode, top_k, and confidence, see Recall and ranking.

Headers

Body

string
required
Your org id. Minimum length is 1 character. The server still uses the JWT’s org_id claim for tenancy; this field is required for request validation.
string
Session to search. Optional. Falls back to the JWT’s session_id.
string
required
Natural-language query. min_length=1.
"active" | "deep"
default:"\"active\""
Retrieval depth. See Recall and ranking.
integer
Hits to return across all kinds. Defaults to 15 (active) / 25 (deep). Request validation accepts 1 <= top_k <= 50; runtime caps the final value at 30.
boolean
default:"false"
Attach a chronological summary string to the response.

Response — 200

array
Ranked raw turns.
array
Atomic facts.
array
Linked entities. Each entity has {id?, label, score}. This is different from turns and observations.
number
Calibrated [0, 1].
string | null
Pre-rendered chronological summary, set only when include_timeline=true.
string
Echoes request mode.
object
{tokens_in, tokens_out} for this call.

Hit fields

Example

Response