younifyd
Menu

Collection cluster info

Collection cluster info

GET/collections/{collection_name}/cluster

Use it in a workflow

  1. Add a step and choose the Qdrant connector.
  2. Pick the Collection cluster info action (under Distributed).
  3. Fill in the fields below, then reference the result from later steps as {{collectionClusterInfo.response.data}}.

Request

Path parameters

collection_namestringrequired

Name of the collection to retrieve the cluster info for

Response

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

usageoneOf

Default null

timenumber (float)

Time spent to process this request

statusstring
resultobject

Current clustering distribution for the collection

peer_idinteger (uint64)required

ID of this peer

shard_countinteger (uint)required

Total number of shards

local_shardsarray<object>required4 fields

Local shards

remote_shardsarray<object>required4 fields

Remote shards

shard_transfersarray<object>required7 fields

Shard transfers

resharding_operationsarray<object>4 fields

Resharding operations

json
{
  "usage": null,
  "time": 0.002,
  "status": "ok",
  "result": {
    "peer_id": 0,
    "shard_count": 0,
    "local_shards": [
      {
        "shard_id": 0,
        "points_count": 0,
        "state": "Active",
        "shard_key": null
      }
    ],
    "remote_shards": [
      {
        "shard_id": 0,
        "peer_id": 0,
        "state": "Active",
        "shard_key": null
      }
    ],
    "shard_transfers": [
      {
        "shard_id": 0,
        "from": 0,
        "to": 0,
        "sync": false,
        "to_shard_id": 0,
        "method": null,
        "comment": "string"
      }
    ],
    "resharding_operations": [
      {
        "direction": "string",
        "shard_id": 0,
        "peer_id": 0,
        "shard_key": null
      }
    ]
  }
}

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