Search & Discovery
Recall
Run semantic search across an agent’s stored memories using natural language.
POST
Overview
Run semantic search across stored memories. This retrieves contextually relevant memories for the active agent based on semantic similarity to the query. Filters are sent as JSON in the request body only (no query-string parameters).Authentication
API clients do not send an API key orAuthorization header.
Session token from Activate Agent. Must match
agent_id.Must be
application/jsonPath Parameters
The unique identifier of the agent.
Body
Natural-language search text matched against the agent’s memories (max 1000 characters).
Maximum number of results to return. Range
1–100. If omitted, the server default applies (RECALL_LIMIT).Minimum similarity score in the range
0.0–1.0 to filter out less relevant memories.Optional list of memory type filters (e.g.
["fact", "preference"]).ITS Scoring System
Memories are scored using Information Theoretic Similarity (ITS), providing nuanced relevance measurements. Use themin_similarity parameter to filter out results below a certain threshold:
| Label | Score Range | Description |
|---|---|---|
| Close Match | score ≥ 0.894 | Near-perfect relevance to the query |
| Very High Relevance | 0.632 ≤ score < 0.894 | Strongly related content |
| High Relevance | 0.447 ≤ score < 0.632 | Significantly related content |
| Good Relevance | 0.316 ≤ score < 0.447 | Moderately related content |
| Low Relevance | 0.224 ≤ score < 0.316 | Minimally related content |
| Very Low Relevance | 0.1 ≤ score < 0.224 | Barely related content |
| Irrelevant | score < 0.1 | No meaningful relation to the query |
Next Steps
- Generate AI Answer to have an LLM synthesize the returned memories into a response
- Recall Recent to fetch the most recently stored memories
- Recall As Of for point-in-time queries
- Recall Changed Since for differential retrieval