Skip to main content
Pinecone Docs

Search documentation

Type to search this documentation.

On this pageOverview

Fetch the recorded trace for a query turn

The per-turn debug trace (steps, tool calls, strategy, cost, rollup). Trace persistence is unconditional — every turn lands a trace blob — so this is available once the turn is terminal.

GET /queries/{id}/trace

  • 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 trace document
  • 404 — Query or trace not found
Suggest an edit

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

Export
Documentation menu