Access the Qdrant REST API of a Qdrant Cloud cluster with managed authentication. List and inspect collections, search and query vectors, read, scroll, and count points, and create collections and payload indexes, upsert points, change payloads, and manage aliases and snapshots. Deleting a collection, points, or a snapshot is immediate and cannot be undone. All access runs through the Maton gateway and the maton CLI.
Permissions
Suggested read access
In the Console, Read limits the connection to these 34 read-only endpoints, plus deny rules for any write endpoint a broader rule would otherwise match. Endpoints Maton has found to return credentials, start jobs, or spend credits are left out; a few reads that can change state or return a secret depending on their parameters stay in, and their descriptions say how. It is a suggestion: the saved rules are exactly the ones you see, and you can change them with Custom. See Access policy.
Reference
Cluster
Get Version
maton api '/qdrant/'Response:
{
"title": "qdrant - vector search engine",
"version": "1.20.2",
"commit": "23065a0bf6857c3e5da45f6c8939cc746cc0580e"
}Health Checks
maton api '/qdrant/healthz'
maton api '/qdrant/readyz'Return plain text (healthz check passed, all shards are ready), not JSON.
Get Cluster Status
maton api '/qdrant/cluster'Returns the Raft status: peers, raft_info (leader, role, pending_operations), and consensus_thread_status.
Get Telemetry
maton api '/qdrant/telemetry'Returns collection counts, configuration, and per-endpoint request statistics for the cluster.
Collections
List Collections
maton api '/qdrant/collections'Response:
{
"result": {
"collections": [
{"name": "{collection_name}"}
]
},
"status": "ok",
"time": 0.000004
}Get Collection
maton api '/qdrant/collections/{collection_name}'Response (trimmed):
{
"result": {
"status": "green",
"optimizer_status": "ok",
"points_count": 4,
"indexed_vectors_count": 0,
"segments_count": 2,
"config": {
"params": {"vectors": {"size": 4, "distance": "Cosine"}, "shard_number": 1, "replication_factor": 1},
"strict_mode_config": {"enabled": true, "unindexed_filtering_retrieve": false, "max_payload_index_count": 100}
},
"payload_schema": {
"city": {"data_type": "keyword", "points": 4}
}
},
"status": "ok"
}payload_schema lists the collection's payload indexes. config.params.vectors gives the vector size and distance that every upsert and query must match.
Check a Collection Exists
maton api '/qdrant/collections/{collection_name}/exists'Returns {"result": {"exists": true}}.
Create Collection
maton api -X PUT '/qdrant/collections/{collection_name}' -H 'Content-Type: application/json' --input - <<'JSON'
{
"vectors": {"size": 1536, "distance": "Cosine"}
}
JSONdistance is Cosine, Dot, Euclid, or Manhattan, and size must match the embedding model. For several named vectors per point, pass an object keyed by name ("vectors": {"text": {"size": 1536, "distance": "Cosine"}, "image": {"size": 512, "distance": "Dot"}}); sparse vectors go under sparse_vectors. Returns {"result": true}.
Update Collection
maton api -X PATCH '/qdrant/collections/{collection_name}' -H 'Content-Type: application/json' --input - <<'JSON'
{
"optimizers_config": {"indexing_threshold": 20000}
}
JSONChanges optimizer, HNSW, quantization, or per-vector parameters of an existing collection. The vector size and distance cannot be changed. Returns {"result": true}.
Delete Collection
maton api -X DELETE '/qdrant/collections/{collection_name}'Returns {"result": true}.
Payload Indexes
Create Payload Index
maton api -X PUT '/qdrant/collections/{collection_name}/index?wait=true' -H 'Content-Type: application/json' --input - <<'JSON'
{
"field_name": "city",
"field_schema": "keyword"
}
JSONfield_schema is keyword, integer, float, bool, geo, datetime, text, or uuid. On Qdrant Cloud, filtering, grouping, or faceting on a payload field needs an index on that field (see Notes). Existing indexes are listed in payload_schema of Get Collection. Returns {"result": {"operation_id": 3, "status": "completed"}}.
Delete Payload Index
maton api -X DELETE '/qdrant/collections/{collection_name}/index/{field_name}?wait=true'Note: Filters on that field fail with 400 once the index is gone.
Points
Point IDs are unsigned integers or UUID strings. Add ?wait=true to a write to get the response only after it is applied; without it the response returns "status": "acknowledged" before the change is visible.
Upsert Points
maton api -X PUT '/qdrant/collections/{collection_name}/points?wait=true' -H 'Content-Type: application/json' --input - <<'JSON'
{
"points": [
{"id": 1, "vector": [0.05, 0.61, 0.76, 0.74], "payload": {"city": "Berlin", "price": 10}},
{"id": "5c56c793-69f3-4fbf-87e6-c4bf54c28c26", "vector": [0.18, 0.01, 0.85, 0.80], "payload": {"city": "Berlin", "price": 40}}
]
}
JSONInserts new points and overwrites any point whose ID already exists. For named vectors, vector is an object keyed by vector name. Response:
{
"result": {"operation_id": 1, "status": "completed"},
"status": "ok"
}Get a Point
maton api '/qdrant/collections/{collection_name}/points/{point_id}'Returns {"result": {"id": 1, "payload": {...}, "vector": [...]}}. With Cosine distance, stored vectors come back normalized.
Retrieve Points by ID
maton api -X POST '/qdrant/collections/{collection_name}/points' -H 'Content-Type: application/json' --input - <<'JSON'
{
"ids": [1, 2],
"with_payload": true,
"with_vector": false
}
JSONA read. Returns {"result": [{"id": 1, "payload": {...}}, ...]}; IDs that do not exist are omitted.
Scroll Points
maton api -X POST '/qdrant/collections/{collection_name}/points/scroll' -H 'Content-Type: application/json' --input - <<'JSON'
{
"limit": 10,
"with_payload": true,
"filter": {"must": [{"key": "city", "match": {"value": "Berlin"}}]}
}
JSONA read that lists points in ID order. Response:
{
"result": {
"points": [{"id": 1, "payload": {"city": "Berlin", "price": 10}}],
"next_page_offset": 3
},
"status": "ok"
}See Pagination for next_page_offset.
Count Points
maton api -X POST '/qdrant/collections/{collection_name}/points/count' -H 'Content-Type: application/json' --input - <<'JSON'
{
"exact": true,
"filter": {"must": [{"key": "city", "match": {"value": "Berlin"}}]}
}
JSONReturns {"result": {"count": 2}}. Run this with a delete filter before deleting by filter.
Set Payload
maton api -X POST '/qdrant/collections/{collection_name}/points/payload?wait=true' -H 'Content-Type: application/json' --input - <<'JSON'
{
"payload": {"verified": true},
"points": [1]
}
JSONMerges the given keys into each point's payload, leaving other keys in place. Target points with points (IDs) or filter.
Overwrite Payload
maton api -X PUT '/qdrant/collections/{collection_name}/points/payload?wait=true' -H 'Content-Type: application/json' --input - <<'JSON'
{
"payload": {"city": "Berlin"},
"points": [1]
}
JSONReplaces each point's entire payload with the one given; keys not listed are removed.
Delete Payload Keys
maton api -X POST '/qdrant/collections/{collection_name}/points/payload/delete?wait=true' -H 'Content-Type: application/json' --input - <<'JSON'
{
"keys": ["city"],
"points": [1]
}
JSONPOST .../points/payload/clear with {"points": [...]} removes every payload key from those points.
Update Vectors
maton api -X PUT '/qdrant/collections/{collection_name}/points/vectors?wait=true' -H 'Content-Type: application/json' --input - <<'JSON'
{
"points": [
{"id": 3, "vector": [0.1, 0.2, 0.3, 0.4]}
]
}
JSONReplaces only the vectors of existing points; payloads are kept.
Delete Points
maton api -X POST '/qdrant/collections/{collection_name}/points/delete?wait=true' -H 'Content-Type: application/json' --input - <<'JSON'
{
"points": [2]
}
JSONTo delete by filter, send {"filter": {...}} instead of points; every matching point is removed.
Search and Query
All of these are POST reads. The query vector must have the collection's vector size.
Query Points
maton api -X POST '/qdrant/collections/{collection_name}/points/query' -H 'Content-Type: application/json' --input - <<'JSON'
{
"query": [0.2, 0.1, 0.9, 0.7],
"filter": {"must": [{"key": "city", "match": {"value": "Berlin"}}]},
"limit": 3,
"with_payload": true
}
JSONResponse:
{
"result": {
"points": [
{"id": "5c56c793-69f3-4fbf-87e6-c4bf54c28c26", "version": 1, "score": 0.9924, "payload": {"city": "Berlin", "price": 40}},
{"id": 1, "version": 1, "score": 0.8946, "payload": {"city": "Berlin", "price": 10}}
]
},
"status": "ok"
}The universal search endpoint. query can also be a point ID (find points similar to a stored point), {"recommend": {"positive": [1], "negative": [2]}}, {"discover": {"target": [...], "context": [{"positive": 1, "negative": 2}]}}, {"fusion": "rrf"} with prefetch for hybrid search, or {"order_by": "price"} (needs an integer, float, or datetime index on that field). Pass using to pick a named vector, score_threshold to drop weak matches, and offset to page.
Batch Query
maton api -X POST '/qdrant/collections/{collection_name}/points/query/batch' -H 'Content-Type: application/json' --input - <<'JSON'
{
"searches": [
{"query": [0.2, 0.1, 0.9, 0.7], "limit": 1},
{"query": [0.5, 0.5, 0.5, 0.5], "limit": 1}
]
}
JSONReturns one {"points": [...]} result per entry, in order.
Query Groups
maton api -X POST '/qdrant/collections/{collection_name}/points/query/groups' -H 'Content-Type: application/json' --input - <<'JSON'
{
"query": [0.2, 0.1, 0.9, 0.7],
"group_by": "city",
"limit": 2,
"group_size": 1
}
JSONReturns {"result": {"groups": [{"id": "Berlin", "hits": [...]}, ...]}}, at most group_size hits per payload value. group_by needs a payload index on that field.
Facet Counts
maton api -X POST '/qdrant/collections/{collection_name}/facet' -H 'Content-Type: application/json' --input - <<'JSON'
{
"key": "city",
"limit": 10
}
JSONReturns {"result": {"hits": [{"value": "Berlin", "count": 2}, ...]}}. Needs a keyword, integer, or bool payload index on key; accepts an optional filter.
Distance Matrix
maton api -X POST '/qdrant/collections/{collection_name}/points/search/matrix/pairs' -H 'Content-Type: application/json' --input - <<'JSON'
{
"sample": 4,
"limit": 1
}
JSONSamples sample points and returns each one's limit nearest neighbours among them as {"pairs": [{"a": 1, "b": 3, "score": 0.926}, ...]}. .../matrix/offsets returns the same as offset arrays.
Legacy Search and Recommend
POST .../points/search ({"vector": [...], "limit": 2}), POST .../points/recommend ({"positive": [1], "negative": [2], "limit": 2}), and POST .../points/discover still work and return a plain list in result. Prefer points/query, which covers all of them.
Aliases
List Aliases
maton api '/qdrant/aliases'
maton api '/qdrant/collections/{collection_name}/aliases'Returns {"result": {"aliases": [{"alias_name": "...", "collection_name": "..."}]}}.
Create, Rename, or Delete Aliases
maton api -X POST '/qdrant/collections/aliases' -H 'Content-Type: application/json' --input - <<'JSON'
{
"actions": [
{"create_alias": {"collection_name": "{collection_name}", "alias_name": "{alias_name}"}}
]
}
JSONOther actions are {"delete_alias": {"alias_name": "..."}} and {"rename_alias": {"old_alias_name": "...", "new_alias_name": "..."}}. All actions in one request are applied atomically, so a delete_alias plus create_alias pair switches an alias to a new collection with no gap. Anything reading through the alias moves with it.
Snapshots
List Snapshots
maton api '/qdrant/collections/{collection_name}/snapshots'Response:
{
"result": [
{
"name": "{collection_name}-5639027522847042-2026-11-26-23-07-35-1.snapshot",
"creation_time": "2026-11-26T23:07:35",
"size": 67072,
"checksum": "45a3e3711b4e6531aaafa1cae1c977945338a3a0073914fba921fc1e05049c33"
}
],
"status": "ok"
}GET /snapshots lists full-storage snapshots.
Create Snapshot
maton api -X POST '/qdrant/collections/{collection_name}/snapshots?wait=true'Returns the new snapshot's name, size, and checksum. Snapshots use the cluster's disk; take one before a large delete or overwrite.
Delete Snapshot
maton api -X DELETE '/qdrant/collections/{collection_name}/snapshots/{snapshot_name}?wait=true'GET /collections/{collection_name}/snapshots/{snapshot_name} downloads the snapshot file (binary, the whole collection). Download only when the user asks for that file. Recovering a collection from a snapshot replaces its current data and is out of scope for this reference.
Pagination
Scroll pages by point ID. Pass the response's next_page_offset as offset on the next request; null means the last page:
maton api -X POST '/qdrant/collections/{collection_name}/points/scroll' -H 'Content-Type: application/json' --input - <<'JSON'
{"limit": 100, "offset": 3, "with_payload": true}
JSONQuery results page with limit and offset (the number of results to skip); large offsets get slower, so prefer a filter or a tighter score_threshold.
Notes
- Strict mode on Qdrant Cloud: filtering, grouping, or faceting on a payload field with no index returns
400(Index required but not found for "city"). Create a payload index for that field first (at most 100 per collection), which is a write that needs approval. - Filters combine
must,should, andmust_notclauses; conditions includematch(value,any,except,text),range(gt,gte,lt,lte),geo_radius,geo_bounding_box,values_count,is_empty,is_null, andhas_id. with_payloadacceptstrue,false, or a list of keys;with_vectoracceptstrue,false, or a list of vector names. Leave vectors out unless the task needs them; they make responses large.- Writes without
?wait=truereturn"status": "acknowledged"before they are applied; reads right after may not see them yet. - A key that lacks access to a collection or an operation gets
403, not401. A missing collection gets404(Collection {name} doesn't exist!).