Vector search.
POST/api/query/embeddings
vector is required and must match the embedding model's dimension. query is an HXQL filter on the parent documents, not search text. totalCount is only returned when trackTotalCount is true.
Request
Responses
- 200
- 400
- 401
- 403
- 406
- 415
- 503
Returns the nearest embeddings for given query.
The request body could not be parsed, or the vector is missing or has the wrong dimension.
Not Authorized
Not Allowed
No representation matches the Accept header. This API carries its version in the media type, so asking for a version it no longer serves — for example application/vnd.hxcs.v0+json — is answered here.
Unsupported request body media type. Accepted: application/json.
The search index is unreachable. The request was not served and can be retried; Retry-After gives a delay in seconds.
Response Headers
Seconds to wait before retrying.