QdrantTransport
Wire-protocol seam. Concrete engines (the REST/Ktor engine lives in kdrant-transport-rest; a gRPC engine can be added later) implement this interface so the public models and DSL in kdrant-core stay independent of the wire protocol.
Implementations receive already-built request models (the DSL lives above this seam) and must translate transport failures into a dev.kdrant.KdrantException, always re-throwing kotlinx.coroutines.CancellationException.
Functions
Clear the collected issues (DELETE /issues).
Clear all payload from the selected points (POST /collections/{name}/points/payload/clear).
Whether a collection exists (GET /collections/{name}/exists).
Create a collection (PUT /collections/{name}).
Create a payload field index (PUT /collections/{name}/index).
Create a collection snapshot (POST /collections/{name}/snapshots).
Create a full-storage snapshot (POST /snapshots).
Delete points by id or by filter (POST /collections/{name}/points/delete).
Delete a collection (DELETE /collections/{name}).
Delete keys from the selected points' payload (POST /collections/{name}/points/payload/delete).
Delete a payload field index (DELETE /collections/{name}/index/{field}).
Delete a collection snapshot (DELETE /collections/{name}/snapshots/{snapshot}).
Delete a full-storage snapshot (DELETE /snapshots/{snapshot}).
Delete named vectors from the selected points (POST /collections/{name}/points/vectors/delete).
Stream a collection snapshot's bytes (GET /collections/{name}/snapshots/{snapshot}).
Stream a full-storage snapshot's bytes (GET /snapshots/{snapshot}).
Collection status and counts (GET /collections/{name}).
List every alias across all collections (GET /aliases).
List the aliases pointing at one collection (GET /collections/{name}/aliases).
List all collection names (GET /collections).
Detected performance issues as raw JSON (GET /issues).
List a collection's snapshots (GET /collections/{name}/snapshots).
List full-storage snapshots (GET /snapshots).
Replace the payload of the selected points (PUT /collections/{name}/points/payload).
Nearest-vector search (POST /collections/{name}/points/query).
Batch nearest-vector search (POST /collections/{name}/points/query/batch).
Grouped nearest-vector search (POST /collections/{name}/points/query/groups).
Recover a collection from a snapshot location (PUT /collections/{name}/snapshots/recover).
Fetch a single page of points (POST /collections/{name}/points/scroll).
Distance matrix in offsets form (POST /collections/{name}/points/search/matrix/offsets).
Distance matrix in pairs form (POST /collections/{name}/points/search/matrix/pairs).
Merge payload into the selected points (POST /collections/{name}/points/payload).
Apply alias changes atomically (POST /collections/aliases); timeout is in seconds.
Update an existing collection's config (PATCH /collections/{name}).
Update the vectors of existing points (PUT /collections/{name}/points/vectors).
Upload a snapshot file and recover from it (POST /collections/{name}/snapshots/upload).
Upsert points (PUT /collections/{name}/points). Implementations are responsible for any transport-specific batching (e.g. the REST engine splits points to stay under the 32 MiB payload cap). wait maps to ?wait=.
Upsert points streamed from a Flow, chunked by the engine's batch size (PUT /collections/{name}/points).