younifyd
Menu

Recover from a snapshot (PUT /collections/{collection_name}/shards/{shard_id}/snapshots/recover)

Recover from a snapshot

PUT/collections/{collection_name}/shards/{shard_id}/snapshots/recover

Use it in a workflow

  1. Add a step and choose the Qdrant connector.
  2. Pick the Recover from a snapshot (PUT /collections/{collection_name}/shards/{shard_id}/snapshots/recover) action (under Snapshots).
  3. Fill in the fields below, then reference the result from later steps as {{recoverFromASnapshotPutCollectionsCollectionNameShardsShardIdSnapshotsRecover.response.data}}.

Request

Path parameters

collection_namestringrequired

Name of the collection

shard_idintegerrequired

Id of the shard to recover

Query parameters

waitboolean

If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.

Request body

Enter the body as JSON in the step's Body field.

locationoneOfrequired
priorityoneOf

Default null

checksumstring

Optional SHA256 checksum to verify snapshot integrity before recovery.

Default null

api_keystring

Optional API key used when fetching the snapshot from a remote URL.

Default null

json
{
  "location": null,
  "priority": null,
  "checksum": null,
  "api_key": null
}

Response

Returns 200 with an object. Read it in later steps with {{recoverFromASnapshotPutCollectionsCollectionNameShardsShardIdSnapshotsRecover.response.data.<field>}}.

timenumber (float)

Time spent to process this request

statusstring
resultboolean
json
{
  "time": 0.002,
  "status": "ok",
  "result": false
}

Need more? See the Qdrant guide for connection setup and behaviour shared by every action.