Skip to main content
Pinecone Docs

Search documentation

Type to search this documentation.

On this pageOverview

Cancel an in-progress query turn

Idempotent — an already-terminal query is returned unchanged. On success the turn's status becomes cancelled.

POST /queries/{id}/cancel

  • id (path, string, required) — Query turn id.
  • X-Pinecone-Api-Version (header, string) — Date-based contract version, echoed back on the same header. Omit for the default (2026-07); send unstable for the in-development surface. An unrecognized value is rejected with 400 unsupported_api_version.
  • 200 — The (now cancelled) query
  • 404 — Not found
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu