Namespace Operations
Describe a namespace
Describe a namespace in a serverless index, including the total number of vectors in the namespace.
For guidance and examples, see Manage namespaces.
Note: This operation is not supported for pod-based indexes.
get/namespaces/{namespace}
Path parameters
namespacestring required
The namespace to describe.
Headers
X-Pinecone-Api-Versionstring required
Required date-based version header
Response
A description of a namespace.
Example response
{
"name": "example-namespace",
"record_count": 20000,
"schema": {
"fields": {
"description": {
"filterable": true
},
"genre": {
"filterable": true
},
"year": {
"filterable": true
}
}
},
"indexed_fields": {
"fields": [
"genre",
"year",
"author"
]
}
}