Skip to main content
POST

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

Path Parameters

namespace
string
required

The namespace to list documents from.

Body

application/json

The request for the list_documents operation.

prefix
string

A prefix to filter document IDs. Only documents whose IDs begin with this prefix are returned.

Maximum string length: 512
Pattern: ^[\x01-\x7F]*$
limit
integer<int32>
default:100

The maximum number of documents to return per page. Defaults to 100.

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

A pagination token from a previous list response, used to retrieve the next page of results.

Response

A successful list response.

The response for the list_documents operation.

documents
object[]
required

The listed documents, in sorted order by ID.

namespace
string
required

The namespace the documents were listed from.

Example:

"my-namespace"

usage
object
required

Usage information for the list_documents operation.

Example:
pagination
object