Memories
Query memories
Changed onRetrieves documents matching the query.
post/memories/query
Request
- Base URLhttps://api.hyperspell.com
- URLhttps://api.hyperspell.com/memories/query
- AuthHTTP bearer
Headers
X-Hyperspell-Response-Profile'api' | 'mcp'
Document response budget: lowercase api scales with the requested result count; lowercase mcp uses 256 KiB. Values are case-sensitive. This does not change access permissions or retrieval depth.
X-As-Userstring nullable
Optionally set this header to act as a specific user when using an API Key, equivalent to first exchanging the API Key for a User Token
Request body
Example request
{
"answer": true,
"options": {
"filter": {}
},
"query": "What does Hyperspell do?",
"sources": [
"vault"
]
}Response
Successful Response
Changes
- warning
removed the request property
/
- warning
- warning
added the new
gongenum value to the//response property for the response status - warning
added the new
gongenum value to the////response property for the response status - info
added the new
gongenum value to the request property/
- warning