API reference · Account
Search a space from /memory
POST/api/account/memory/{id}/searchSigned in session
One embeddings request billed to the signed in account.
Parameters
| Field | Type | What it is |
|---|---|---|
| id (path)required | string |
Request body
application/json, required
| Field | Type | What it is |
|---|---|---|
| queryrequired | string |
Example
{
"query": "string"
}Answer 200
The hits and the cost.
The answer's fields are not named in the document.
Errors
- 401OpenAI shaped error.
- 404OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.