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
Parameters
Section titled “Parameters”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); sendunstablefor the in-development surface. An unrecognized value is rejected with400 unsupported_api_version.
Responses
Section titled “Responses”200— The (now cancelled) query404— Not found