Search memories
Returns memories, ordered most useful first. images can appear beside it on a model that stores images (one by default; max_images sets 0 to 5), self_memories on a model that keeps the agent's own words apart, and verify_used when you pass verify above 0: the number of extra passes that added memories; each is billed for what it added.
In the SDKs, search() returns one list: the memories, then the agent's own words, then any image rows, with no id repeated. It does not carry verify_used. Use search_full() (searchFull() in TypeScript) to keep those fields apart.
Request
- Base URL: https://api.wontopos.com
- URL: https://api.wontopos.com/api/v1/memory/search
- Auth: API key in header X-API-Key
Headers
Which engine reads the memory (see GET /api/v1/models). All live models share one memory per workspace, so you can store with one and recall with another. A retired model answers 410 with error.type gone_error and error.code 0, except on DELETE /api/v1/memory/collection, which deletes the store under any model. Until then, a model scheduled to retire names the day in a Sunset header (RFC 8594) on every answer it serves, the same date GET /api/v1/models lists as retires_at.
Request body
Response
Success.
Changes
No recorded changes to this operation across all 1 revision of this API.