Skip to main content
GET
/
collections
from pinecone import Pinecone

pc = Pinecone(api_key="YOUR_API_KEY")

active_collections = pc.list_collections()

Documentation Index

Fetch the complete documentation index at: https://docs.pinecone.io/llms.txt

Use this file to discover all available pages before exploring further.

from pinecone import Pinecone

pc = Pinecone(api_key="YOUR_API_KEY")

active_collections = pc.list_collections()

Authorizations

Api-Key
string
header
required

An API Key is required to call Pinecone APIs. Get yours from the console.

Headers

X-Pinecone-Api-Version
string
default:202601-alpha
required

Required date-based version header

Response

List all the collections in your current project.

The list of collections that exist in the project.

collections
object[]

List of collections in the project