Unified episodic memory retrieval — routes across active and passive tiers
Embed body.query_text, consult the Episode Registry, then query the appropriate backends in parallel:
-
ACTIVE episodes → POST /retrieve/active on the Cloudflare Worker. Returns per-fragment cosine hits + KV-hydrated text. Hits receive a +0.15 recency boost before ranking.
-
PASSIVE episodes → HelixDB EPISODE_SUMMARY nodes (GET /nodes, on the caller's scoped token), ranked by cosine similarity. Scored as-is.
Results from both tiers are merged, sorted by final score descending, and the top body.top_k hits are returned with a source annotation.
Each tier is queried independently — a failure in one tier surfaces as a warning log and the other tier's results are still returned.
Request
- Base URLhttps://api.getmetacognition.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.