Documentation Index
Fetch the complete documentation index at: https://docs.openmem.blog/llms.txt
Use this file to discover all available pages before exploring further.
GET /memories/search returns a ranked list of memories that match a query string. Depending on the provider, the ranking is driven by vector similarity, keyword matching, or a hybrid of both. Each result includes a score field so you can threshold results by confidence.
This endpoint requires the
vector_search or keyword_search capability to be supported by your provider. Call GET /capabilities first to confirm. If your provider does not support either, GET /memories with a scope or tag filter is the appropriate fallback.Query parameters
The search query. The provider runs semantic and/or keyword matching against all memories for the given
user_id.Return only memories belonging to this user. Search is always scoped to a single user.
Restrict results to memories whose scope starts with this prefix (e.g.
coding matches coding/preferences and coding/tools).Maximum number of results to return. Maximum is 100.
Minimum similarity score (0–1) for a result to be included. Results with a
score below this threshold are filtered out before the response is returned. Omit to return all results up to limit.Response — 200 OK
Ranked list of matching memories, highest score first.