Pinecone Vector Operations API

The Vector Operations API from Pinecone — 10 operation(s) for vector operations.

GitHub OpenAPI

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /describe_index_stats Get statistics about an index · Get index stats #
Ask an LLM
“How full is my Pinecone index, and how many vectors are in each namespace?”
“What are the vector count and dimensionality of an index?”
Tell an agent
Show statistics for index {index}.
Get index stats for namespace {namespace} matching {filter}.
POST /query Search an index with a vector · Search with a vector #
Ask an LLM
“How do I find the most similar vectors to a query vector?”
“Can I search by a vector ID instead of a vector?”
Tell an agent
Find the {topK} most similar vectors to {vector} in namespace {namespace}.
Search namespace {namespace} for vectors matching {filter}, returning {topK} results.
POST /vectors/delete Delete vectors by ID · Delete vectors #
Ask an LLM
“How do I remove specific vectors from a namespace?”
“Can I delete all vectors in a namespace at once?”
Tell an agent destructive · confirm first
Delete vectors {ids} from namespace {namespace}.
Delete every vector in namespace {namespace}.
GET /vectors/fetch Fetch vectors by ID · Fetch vectors #
Ask an LLM
“How do I retrieve the vector values and metadata for a few IDs?”
“What does a stored vector look like when I fetch it by ID?”
Tell an agent
Fetch vectors {ids} from namespace {namespace}.
Get the stored vector data for {ids}.
POST /vectors/fetch_by_metadata Fetch vectors matching metadata · Fetch vectors by metadata #
Ask an LLM
“How do I pull vectors whose metadata fields match a filter?”
“Can I page through vectors that match a metadata expression?”
Tell an agent
Fetch vectors in namespace {namespace} matching {filter}.
List up to {limit} vectors in {namespace} where metadata matches {filter}.
GET /vectors/list List vector IDs in a namespace · List vector IDs #
Ask an LLM
“Which vector IDs exist in a namespace?”
“Can I list only the IDs that start with a prefix?”
Tell an agent
List vector IDs in namespace {namespace}.
List IDs in {namespace} starting with {prefix}.
POST /vectors/update Update a vector's values or metadata · Update a vector #
Ask an LLM
“How do I change the vector values of a single vector?”
“Can I update metadata on a vector without touching its values?”
Tell an agent
Set the values of vector {id} in namespace {namespace} to {values}.
Update the metadata of vector {id} to {setMetadata}.
POST /vectors/upsert Upsert vectors into a namespace · Upsert vectors #
Ask an LLM
“How do I insert or overwrite vectors in a namespace?”
“What is the recommended batch size for upserting vectors?”
Tell an agent
Upsert vectors {vectors} into namespace {namespace}.
Insert or overwrite these vectors: {vectors}.
POST /records/namespaces/{namespace}/upsert Upsert text into a namespace · Upsert text #
Ask an LLM
“How do I add text to a namespace and have it vectorized automatically?”
“Can Pinecone embed my text when I upsert it into a namespace?”
Tell an agent
Upsert the text {text} into namespace {namespace}.
Add this text to {namespace} and vectorize it automatically.
POST /records/namespaces/{namespace}/search Find similar vectors in a namespace · Search with text #
Ask an LLM
“How do I find the most similar vectors to a query in a namespace?”
“Can I rerank search results by relevance?”
Tell an agent
Search namespace {namespace} for {query}.
Rerank similar vectors in {namespace} for {query} using {rerank}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pinecone:pinecone-vector-operations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pinecone-vector-operations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pinecone Data Plane Vector Operations API
  description: Pinecone is a vector database that makes it easy to search and retrieve billions of high-dimensional vectors.
  contact:
    name: Pinecone Support
    url: https://support.pinecone.io
    email: support@pinecone.io
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  version: 2025-10
servers:
- url: https://{index_host}
  variables:
    index_host:
      default: unknown
      description: host of the index
security:
- ApiKeyAuth: []
tags:


# --- truncated at 32 KB (47 KB total) ---
# Full source: https://artifacts.apis.io/pinecone/openapi/pinecone-vector-operations-api-openapi.yml