Manage namespaces
This page describes how to list, describe, and delete a namespace in Pinecone.
These operations are available in API versions 2025-04
and later.
List all namespaces in an index
To list all namespaces in a serverless index:
The response will look like the following:
Up to 100 namespaces are returned at a time by default, in sorted order (bitwise “C” collation). If the limit
parameter is set, up to that number of namespaces are returned instead. Whenever there are additional namespaces to return, the response also includes a pagination_token
that you can use to get the next batch of namespaces. When the response does not include a pagination_token
, there are no more namespaces to return.
Describe a namespace
To get details about a namespace in a serverless index, including the total number of vectors in the namespace:
The response will look like the following:
Delete a namespace
To delete a namespace in a serverless index:
Deleting a namespace is irreversible. All data in the namespace will be permanently deleted.
Was this page helpful?