younifyd
Menu

Recover shard from an uploaded snapshot

Recover shard from an uploaded snapshot

POST/collections/{collection_name}/shards/{shard_id}/snapshots/upload

Use it in a workflow

  1. Add a step and choose the Qdrant connector.
  2. Pick the Recover shard from an uploaded snapshot action (under Snapshots).
  3. Fill in the fields below, then reference the result from later steps as {{recoverShardFromAnUploadedSnapshot.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.

prioritystring

Defines source of truth for snapshot recovery

One ofno_syncsnapshotreplica

checksumstring

Optional SHA256 checksum to verify snapshot integrity before recovery.

Request body

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

snapshotstring (binary)
json
{
  "snapshot": "string"
}

Response

Returns 200 with an object. Read it in later steps with {{recoverShardFromAnUploadedSnapshot.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.

Was this page helpful?
Recover shard from an uploaded snapshot — Qdrant — Documentation