active-memory
Retrieve semantically similar fragments from active memory
Embed body.query_text, then query the Cloudflare Worker for the top-k most similar fragments. The Worker performs cosine similarity over the Durable Object's SQLite vector store and hydrates fragment texts from Workers KV.
If episode_id is omitted, all open episodes for agent_id are searched.
post/active-memory/retrieve
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.