v4

OpenAPI 3.1.02026-08-01207318738.7 KB
Query

Wait for query jobs to complete

Waits for previously submitted query jobs and streams results as they complete. The response is a stream of newline-delimited JSON (Content-Type: text/ndjson): one line per job (same shape as the job lines from query/run, including the base64-encoded Arrow IPC result), then a footer. Unlike query/run, there is no jobs_submitted header line. If the footer's remaining_job_ids is non-empty, call this endpoint again with those IDs until it is empty.

get/api/v1/query/wait

Query parameters

jobIdsstring required

Comma-separated list of job IDs to wait for. Obtained from the query/run response.

Example:job_abc123,job_def456

Comma-separated list of job IDs to wait for. Obtained from the query/run response.

Response

Query results for completed jobs, as a text/ndjson stream — one JSON object per line, each matching QueryWaitStreamLine; it cannot be parsed as a single JSON document.