Download OpenAPI specification:
REST API for managing Qdrant vector database backups. Provides endpoints for cluster monitoring, collection management, snapshot operations, storage configuration, and job tracking.
Returns current cluster health, Raft consensus info, and peer details
{- "status": "ok",
- "time": 0.1,
- "result": {
- "status": "green",
- "peer_id": 0,
- "raft_info": {
- "term": 0,
- "commit": 0,
- "pending_operations": 0,
- "leader": 0,
- "role": "Leader",
- "is_voter": true
}
}
}Returns detailed information about a specific collection
| name required | string Collection name |
{- "status": "ok",
- "time": 0.1,
- "result": {
- "name": "string",
- "status": "green",
- "vectors_count": 0,
- "points_count": 0,
- "segments_count": 0,
- "config": {
- "params": {
- "shard_number": 0,
- "replication_factor": 0
}, - "hnsw_config": { },
- "optimizer_config": { },
- "wal_config": { }
}
}
}Returns shard distribution and cluster info for a collection
| name required | string Collection name |
{- "status": "ok",
- "time": 0.1,
- "result": {
- "peer_id": 0,
- "shard_count": 0,
- "local_shards": [
- {
- "shard_id": 0,
- "points_count": 0,
- "state": "Active"
}
], - "remote_shards": [
- {
- "shard_id": 0,
- "peer_id": 0,
- "state": "Active"
}
]
}
}Returns all snapshots for a specific collection
| name required | string Collection name |
{- "status": "ok",
- "time": 0.1,
- "result": [
- {
- "name": "string",
- "creation_time": "2019-08-24T14:15:22Z",
- "size": 0,
- "checksum": "string"
}
]
}Creates a new snapshot for the specified collection
| name required | string Collection name |
| wait | boolean Default: true Wait for snapshot creation to complete |
{- "status": "ok",
- "time": 0.1,
- "result": {
- "name": "string",
- "creation_time": "2019-08-24T14:15:22Z",
- "size": 0,
- "checksum": "string"
}
}Deletes a snapshot from the collection
| name required | string Collection name |
| snapshotName required | string Snapshot name |
| wait | boolean Default: true Wait for deletion to complete |
{- "status": "ok",
- "time": 0.1,
- "result": true
}Restores a collection from a snapshot URL or local file
| name required | string Collection name |
| location required | string Snapshot URL (S3, HTTP, or file://) |
| priority | string Default: "snapshot" Enum: "replica" "snapshot" "no_sync" Recovery priority for conflict resolution |
| api_key | string Optional API key for authenticated URLs |
{- "location": "string",
- "priority": "replica",
- "api_key": "string"
}{- "status": "ok",
- "time": 0.1,
- "result": true
}Returns all snapshots for a specific shard
| name required | string Collection name |
| shardId required | integer Shard ID |
{- "status": "ok",
- "time": 0.1,
- "result": [
- {
- "name": "string",
- "creation_time": "2019-08-24T14:15:22Z",
- "size": 0,
- "checksum": "string"
}
]
}Creates a snapshot for a specific shard
| name required | string Collection name |
| shardId required | integer Shard ID |
| wait | boolean Default: true Wait for snapshot creation to complete |
{- "status": "ok",
- "time": 0.1,
- "result": {
- "name": "string",
- "creation_time": "2019-08-24T14:15:22Z",
- "size": 0,
- "checksum": "string"
}
}Returns all configured storage backends
{- "status": "ok",
- "time": 0.1,
- "result": [
- {
- "id": "string",
- "name": "string",
- "type": "local",
- "path": "string",
- "s3_bucket": "string",
- "s3_region": "string",
- "s3_access_key": "string",
- "is_default": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}Creates a new storage backend configuration
| name required | string Configuration name |
| type required | string (StorageType) Enum: "local" "s3" Storage backend type |
| path | string Local filesystem path (required for local type) |
| s3_endpoint | string <uri> S3 endpoint URL (required for s3 type) |
| s3_bucket | string S3 bucket name (required for s3 type) |
| s3_region | string S3 region (required for s3 type) |
| s3_access_key | string S3 access key (required for s3 type) |
| s3_secret_key | string S3 secret key (required for s3 type) |
| is_default | boolean Default: false Set as default storage |
{- "name": "string",
- "type": "local",
- "path": "string",
- "s3_bucket": "string",
- "s3_region": "string",
- "s3_access_key": "string",
- "s3_secret_key": "string",
- "is_default": false
}{- "status": "ok",
- "time": 0.1,
- "result": {
- "id": "string",
- "name": "string",
- "type": "local",
- "path": "string",
- "s3_bucket": "string",
- "s3_region": "string",
- "s3_access_key": "string",
- "is_default": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Updates an existing storage backend configuration
| id required | string Storage configuration ID |
| name | string Configuration name |
| path | string Local filesystem path |
| s3_endpoint | string <uri> S3 endpoint URL |
| s3_bucket | string S3 bucket name |
| s3_region | string S3 region |
| s3_access_key | string S3 access key |
| s3_secret_key | string S3 secret key |
| is_default | boolean Set as default storage |
{- "name": "string",
- "path": "string",
- "s3_bucket": "string",
- "s3_region": "string",
- "s3_access_key": "string",
- "s3_secret_key": "string",
- "is_default": true
}{- "status": "ok",
- "time": 0.1,
- "result": {
- "id": "string",
- "name": "string",
- "type": "local",
- "path": "string",
- "s3_bucket": "string",
- "s3_region": "string",
- "s3_access_key": "string",
- "is_default": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Tests connectivity to a storage backend without saving
| name required | string Configuration name |
| type required | string (StorageType) Enum: "local" "s3" Storage backend type |
| path | string Local filesystem path (required for local type) |
| s3_endpoint | string <uri> S3 endpoint URL (required for s3 type) |
| s3_bucket | string S3 bucket name (required for s3 type) |
| s3_region | string S3 region (required for s3 type) |
| s3_access_key | string S3 access key (required for s3 type) |
| s3_secret_key | string S3 secret key (required for s3 type) |
| is_default | boolean Default: false Set as default storage |
{- "name": "string",
- "type": "local",
- "path": "string",
- "s3_bucket": "string",
- "s3_region": "string",
- "s3_access_key": "string",
- "s3_secret_key": "string",
- "is_default": false
}{- "status": "ok",
- "time": 0.1,
- "result": {
- "success": true,
- "message": "string"
}
}Returns paginated list of backup and restore jobs
| status | string (JobStatus) Enum: "pending" "running" "completed" "failed" "cancelled" Filter by job status |
| type | string (JobType) Enum: "backup" "restore" "shard_backup" "shard_restore" Filter by job type |
| page | integer >= 1 Default: 1 Page number (1-indexed) |
| limit | integer [ 1 .. 100 ] Default: 20 Items per page |
{- "items": [
- {
- "id": "string",
- "type": "backup",
- "status": "pending",
- "collection_name": "string",
- "shard_id": 0,
- "snapshot_name": "string",
- "progress": 100,
- "error": "string",
- "metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z"
}
], - "total": 0,
- "page": 0,
- "limit": 0
}Creates a new backup or restore job
| type required | string (JobType) Enum: "backup" "restore" "shard_backup" "shard_restore" Job type |
| collection_name required | string Target collection name |
| shard_id | integer Target shard ID (for shard operations) |
| snapshot_name | string Snapshot name (for restore operations) |
object Additional job metadata |
{- "type": "backup",
- "collection_name": "string",
- "shard_id": 0,
- "snapshot_name": "string",
- "metadata": { }
}{- "status": "ok",
- "time": 0.1,
- "result": {
- "id": "string",
- "type": "backup",
- "status": "pending",
- "collection_name": "string",
- "shard_id": 0,
- "snapshot_name": "string",
- "progress": 100,
- "error": "string",
- "metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z"
}
}Returns detailed information about a specific job
| id required | string Job ID |
{- "status": "ok",
- "time": 0.1,
- "result": {
- "id": "string",
- "type": "backup",
- "status": "pending",
- "collection_name": "string",
- "shard_id": 0,
- "snapshot_name": "string",
- "progress": 100,
- "error": "string",
- "metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z"
}
}Cancels a pending or running job
| id required | string Job ID |
{- "status": "ok",
- "time": 0.1,
- "result": {
- "id": "string",
- "type": "backup",
- "status": "pending",
- "collection_name": "string",
- "shard_id": 0,
- "snapshot_name": "string",
- "progress": 100,
- "error": "string",
- "metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z"
}
}Retries a failed or cancelled job
| id required | string Job ID |
{- "status": "ok",
- "time": 0.1,
- "result": {
- "id": "string",
- "type": "backup",
- "status": "pending",
- "collection_name": "string",
- "shard_id": 0,
- "snapshot_name": "string",
- "progress": 100,
- "error": "string",
- "metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z"
}
}