Skip to main content
Pinecone Docs

Search documentation

Type to search this documentation.

On this pageOverview

Stream a query turn's events (SSE)

The turn's events as they land — the same type-named events POST /query emits with stream: true, as a standalone resumable subscription. Reconnect with Last-Event-ID to replay from where the stream dropped.

GET /queries/{id}/events

  • id (path, string, required) — Query turn id.
  • Last-Event-ID (header, string) — Resume from this event seq; delivery is inclusive of the given id (re-sending the last event is harmless — clients merge steps idempotently by step_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 — SSE event stream; each event: name is the event type and data: is its JSON payload.
  • 404 — Query not found
Suggest an edit

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

Export
Documentation menu