"status": "ok" field, while error responses return a "status" object containing an "error" string with a human-readable message.
Error response format
Every error response follows this structure:time field indicates server-side processing time in seconds. The status.error field contains a human-readable description of what went wrong.
HTTP status codes
The following sections describe each status code the API can return, along with common error messages and their causes.400 — Bad request
The request was rejected because of a client-side input problem.Common causes
- Supplying a vector with the wrong number of dimensions on upsert or search.
- Passing an invalid or malformed filter expression in a points query.
- Omitting a required field in the request body.
404 — Not found
The referenced resource does not exist.Common causes
- Using a collection name that was never created or has been deleted.
- Requesting points by ID that do not exist in the collection.
409 — Conflict
The resource you are trying to create already exists.Common causes
This error typically occurs when creating a collection without first checking whether it exists. UseGET /collections/{collection_name}/exists to check before creating.
412 — Precondition failed
A required system condition was not met before the request could be processed.500 — Internal server error
An unexpected server-side failure occurred. These errors are not caused by the request itself.Batch operations such as upsert and delete may partially succeed before returning a 500. Check your data state before retrying to avoid duplicates or unintended re-deletions.
501 — Not implemented
The endpoint exists in the API surface but has not been implemented in this build. The following endpoint groups currently return this status:- Aliases (
GET /aliases,POST /aliases,GET /collections/{name}/aliases) - Snapshots (
POST /collections/{name}/snapshots,GET /collections/{name}/snapshots,DELETE /collections/{name}/snapshots/{snap}) - Snapshot recovery (
PUT /collections/{name}/snapshots/{snap}/recover) - Maintenance (
POST /collections/{name}/operations/flush,POST /collections/{name}/operations/optimize,POST /collections/{name}/operations/rebuild_index) - Collection status (
GET /collections/{name}/status) - Grouped search (
POST /collections/{name}/points/search/groups,POST /collections/{name}/points/query/groups) - Recommendations (
POST /collections/{name}/points/recommend, batch, and groups variants) - Discovery (
POST /collections/{name}/points/discover, batch variant)