API reference

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

Path and query parameters
FieldTypeWhat it is
id (path)requiredstring

Request body

application/json, required

Request body fields
FieldTypeWhat it is
queryrequiredstring

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.

Antimatter