younifyd
Menu

List collections

List collections

GET/collections

Use it in a workflow

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

Fields

baseUrlstring

The API host this action calls. Override to point at a different environment.

Default "https://api.pinecone.io"

forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded. Additional headers below will override forwarded ones.

Default false

headerskeyvalue

Extra HTTP headers to include, beyond what this action already declares. These override forwarded or declared headers with the same name.

queryParamskeyvalue

Extra URL query parameters to include, beyond what this action already declares. These override declared query parameters with the same name.

Response

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

collectionsarray<object>

List of collections in the project

namestringrequired

The name of the collection.

sizeinteger (int64)

The size of the collection in bytes.

statusstringrequired

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.

environmentstringrequired

The environment where the collection is hosted.

json
{
  "collections": [
    {
      "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.