Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Qdrant Distributed API

Service distributed setup.

Qdrant Distributed API is one of 9 APIs that Qdrant publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Distributed. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 9 operations across 7 paths, and defines 85 schemas. It is described by OpenAPI 3.0.1, at version master.

Requests are made against a single base URL, {protocol}://{hostname}:{port}.

9 operations 7 paths 85 schemas 1 DELETE4 GET3 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
master
Server
{protocol}://{hostname}:{port}
Authentication
API Key, HTTP Bearer
License
Resource Areas
1

Authentication & Security 2

Qdrant Distributed API declares 2 security schemes for authenticating requests. An API key is passed in the header as api-key (api-key). It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated, though some operations may also be called without credentials.

  • api-key — Authorization key, either read-write or read-only

Paths & Operations 9

Across 7 paths, the API surfaces 9 operations — 1 DELETE, 4 GET, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Distributed 9

Service distributed setup.

PUT
/collections/{collection_name}/shards
Create shard key
create_shard_key 2 params body → default4XX200
GET
/collections/{collection_name}/shards
List shard keys
list_shard_keys 1 param → default4XX200
POST
/collections/{collection_name}/shards/delete
Delete shard key
delete_shard_key 2 params body → default4XX200
GET
/cluster
Get cluster status info
cluster_status → default4XX200
GET
/cluster/telemetry
Collect cluster telemetry data
cluster_telemetry 2 params → default4XX200
POST
/cluster/recover
Tries to recover current peer Raft state.
recover_current_peer → default4XX200
DELETE
/cluster/peer/{peer_id}
Remove peer from the cluster
remove_peer 3 params → default4XX200
GET
/collections/{collection_name}/cluster
Collection cluster info
collection_cluster_info 1 param → default4XX200
POST
/collections/{collection_name}/cluster
Update collection cluster setup
update_collection_cluster 2 params body → default4XX200

Schemas 85

The contract defines 85 schemas that model the data the API accepts and returns. The most detailed are DistributedReplicaTelemetry (11 properties), FieldCondition (9 properties), DistributedPeerDetails (7 properties), HardwareUsage (7 properties). Each schema is shown below with its type and property counts.

DropShardingKey
object
1 property 1 required
DistributedClusterTelemetry
object
3 properties 2 required
ReshardingInfo
object
4 properties 3 required
IsNullCondition
object
Select points with null payload for a specified field
1 property 1 required
FieldCondition
object
All possible payload filtering conditions
9 properties 1 required
HasIdCondition
object
ID-based filtering condition
1 property 1 required
ShardCleanStatusFailedTelemetry
object
1 property 1 required
GeoLineString
object
Ordered sequence of GeoPoints representing the line
1 property 1 required
AbortReshardingOperation
object
1 property 1 required
IsEmptyCondition
object
Select points with empty payload for a specified field
1 property 1 required
Usage
object
Usage of the hardware resources, spent to process the request
2 properties
Filter
object
4 properties
ExtendedPointId
Type, used for specifying point ID in user interface
InferenceUsage
object
1 property 1 required
MoveShard
object
4 properties 3 required
ShardTransferInfo
object
7 properties 4 required
LocalShardInfo
object
4 properties 3 required
ShardKey
ReshardingDirection
string
Resharding direction, scale up or down in number of shards - up - Scale up, add a new shard - down - Scale down, remove a shard
HasVectorCondition
object
Filter points which have specific vector assigned
1 property 1 required
ConsensusThreadStatus
Information about current consensus thread status
ShardCleanStatusTelemetry
DropReplicaOperation
object
1 property 1 required
MatchAny
object
Exact match on any of the given values
1 property 1 required
StartResharding
object
3 properties 1 required
MatchPhrase
object
Full-text phrase match of the string.
1 property 1 required
PeerInfo
object
Information of a peer in the cluster
1 property 1 required
RaftInfo
object
Summary information about the current raft state
6 properties 4 required
StateRole
string
Role of the peer in the consensus
RestartTransferOperation
object
1 property 1 required
ShardTransferMethod
string
Methods for transferring a shard from one node to another. - streamrecords - Stream all shard records in batches until the whole shard is transferred. - snapsh…
Range
object
Range filter request
4 properties
Condition
ShardCleanStatusProgressTelemetry
object
1 property 1 required
PartialSnapshotTelemetry
object
3 properties 3 required
DropShardingKeyOperation
object
1 property 1 required
DistributedReplicaTelemetry
object
11 properties 2 required
MinShould
object
2 properties 2 required
MatchTextAny
object
Full-text match of at least one token of the string.
1 property 1 required
PayloadField
object
Payload field
1 property 1 required
ModelUsage
object
1 property 1 required
GeoRadius
object
Geo filter request Matches coordinates inside the circle of radius and center with coordinates center
2 properties 2 required
RestartTransfer
object
4 properties 4 required
ShardStatus
string
Current state of the shard (supports same states as the collection) Green - all good. Yellow - optimization is running, 'Grey' - optimizations are possible but…
ReplicateShard
object
4 properties 3 required
MoveShardOperation
object
1 property 1 required
AbortTransferOperation
object
1 property 1 required
DistributedCollectionTelemetry
object
4 properties 1 required
HardwareUsage
object
Usage of the hardware resources, spent to process the request
7 properties 7 required
MatchValue
object
Exact match of the given value
1 property 1 required
Nested
object
Select points with payload for a specified nested field
2 properties 2 required
RemoteShardInfo
object
4 properties 3 required
ClusterOperations
CreateShardingKey
object
5 properties 1 required
ClusterStatus
Information about current cluster status and structure
DistributedPeerDetails
object
7 properties 6 required
DatetimeRange
object
Range filter request
4 properties
Replica
object
2 properties 2 required
ErrorResponse
object
3 properties
GeoPolygon
object
Geo filter request Matches coordinates inside the polygon, defined by exterior and interiors
2 properties 1 required
ValuesCount
object
Values count filter request
4 properties
ValueVariants
StartReshardingOperation
object
1 property 1 required
GeoPoint
object
Geo point payload schema
2 properties 2 required
ReplicaState
string
State of the single shard within a replica set.
DistributedTelemetryData
object
2 properties 1 required
GeoBoundingBox
object
Geo filter request Matches coordinates inside the rectangle, described by coordinates of lop-left and bottom-right edges
2 properties 2 required
AbortResharding
object
RangeInterface
CreateShardingKeyOperation
object
1 property 1 required
AbortShardTransfer
object
3 properties 3 required
ReplicatePoints
object
3 properties 2 required
AnyVariants
ShardKeyDescription
object
1 property 1 required
DistributedShardTelemetry
object
3 properties 2 required
ReplicatePointsOperation
object
1 property 1 required
ReplicateShardOperation
object
1 property 1 required
MatchText
object
Full-text match of the strings.
1 property 1 required
Match
Match filter request
CollectionClusterInfo
object
Current clustering distribution for the collection
6 properties 5 required
NestedCondition
object
1 property 1 required
DistributedPeerInfo
object
3 properties 2 required
MatchExcept
object
Should have at least one value not matching the any given values
1 property 1 required
ShardKeysResponse
object
1 property
MessageSendErrors
object
Message send failures for a particular peer
3 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

qdrant-distributed-api-openapi.yml Raw ↑

Other APIs Qdrant publishes across the network.

Qdrant Aliases API
Qdrant Beta API
Qdrant Collections API
Qdrant Indexes API
Qdrant Points API
Qdrant Search API
Qdrant Service API
Qdrant Snapshots API