Skip to main content
GET

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:2026-07
required

Required date-based version header

Query Parameters

limit
integer<int32>
default:100

Max number of namespaces to return per page. Defaults to 100.

Required range: 1 <= x <= 100
paginationToken
string

Pagination token to continue a previous listing operation.

prefix
string

Prefix of the namespaces to list. Acts as a filter to return only namespaces that start with this prefix.

Must be ASCII and must not contain the NUL character, matching the namespace names it filters. An empty prefix matches every namespace.

Maximum string length: 512
Pattern: ^[\x01-\x7F]*$

Response

A successful response

namespaces
object[]

The list of namespaces belonging to this index.

pagination
object
total_count
integer<int32>

The total number of namespaces in the index matching the prefix

Example:

25