Skip to content

recall

Recall memories by meaning using hybrid vector + full-text search. Results are ranked by semantic similarity, recency, and importance.

ParameterTypeRequiredDescription
querystringYesWhat to search for
projectstringNoFilter by project (also includes “global”)
topicstringNoFilter by topic
limitnumberNoMax results (default: 10)
depthnumberNoGraph traversal depth (0-3, default: 0)

Returns an array of matching memories with [id:N] prefixes, content, topic, project, importance, and distance score.

{
"query": "authentication architecture",
"project": "my-project"
}
{
"query": "auth tokens",
"project": "my-project",
"depth": 1
}

Returns matching memories plus their graph neighbors — surfacing related context flat search would miss.

{
"query": "deployment process",
"project": "my-project",
"topic": "ci-cd"
}

Results are ranked by a combination of:

  • Semantic similarity — Cosine distance between query and memory embeddings
  • Full-text match — SQLite FTS5 term matching
  • Recency — More recent memories rank higher
  • Importance — Higher importance (1-5) boosts ranking by up to 20%