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

Body

application/json

The request for the fetch_by_metadata operation.

filter
object
required

Metadata filter expression to select vectors. See Understanding metadata.

Example:
namespace
string

The namespace to fetch records from.

Example:

"example-namespace"

limit
integer<int64>
default:100

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

Required range: 1 <= x <= 10000
Example:

12

paginationToken
string

Pagination token to continue a previous listing operation.

Example:

"Tm90aGluZyB0byBzZWUgaGVyZQo="

Response

A successful response.

The response for the fetch_by_metadata operation.

vectors
object

The fetched vectors, in the form of a map between the fetched ids and the fetched vectors

namespace
string
default:""

The namespace of the vectors.

Example:

"example-namespace"

usage
object
pagination
object