from pinecone import Pinecone
pc = Pinecone(api_key="YOUR_API_KEY")
active_collections = pc.list_collections()
Backups
List collections
List all collections in a project. Serverless indexes do not support collections.
GET
/
collections
from pinecone import Pinecone
pc = Pinecone(api_key="YOUR_API_KEY")
active_collections = pc.list_collections()
from pinecone import Pinecone
pc = Pinecone(api_key="YOUR_API_KEY")
active_collections = pc.list_collections()
Authorizations
Headers
Required date-based version header
Response
List all the collections in your current project.
The list of collections that exist in the project.
List of collections in the project
Show child attributes
Show child attributes
Was this page helpful?
⌘I