younifyd
Menu

Describe a collection

Describe a collection

GET/collections/{collection_name}

Use it in a workflow

  1. Add a step and choose the Pinecone connector.
  2. Pick the Describe a collection action (under Indexes).
  3. Fill in the fields below, then reference the result from later steps as {{describeACollection.response.data}}.

Request

Path parameters

collection_namestringrequired

The name of the collection to be described.

Response

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

namestring

The name of the collection.

sizeinteger (int64)

The size of the collection in bytes.

statusstring

The status of the collection. Possible values: `Initializing`, `Ready`, `Terminating`, or `Terminated`.

dimensioninteger (int32)

The dimension of the vectors stored in each record held in the collection.

vector_countinteger (int32)

The number of records stored in the collection.

environmentstring

The environment where the collection is hosted.

json
{
  "name": "example-collection",
  "status": "Initializing",
  "environment": "us-east1-gcp",
  "size": 10000000,
  "dimension": 1536,
  "vector_count": 120000
}

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