Wait for query jobs to complete
Changed onWaits 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.
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v1/query/wait
- AuthHTTP bearer
Query parameters
If "true", completed job lines omit result; read the data afterwards with GET /api/v1/query/results.
Comma-separated list of job UUIDs to wait for. Obtained from the query/run response. Required unless the deprecated job_ids is sent.
Deprecated: use jobIds instead. JSON array or comma-separated list of job UUIDs.
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.
Changes
- info
added the new optional
queryrequest parametercompletionOnly - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status
- info
- info
added the new optional
queryrequest parameterjob_ids - info
the
queryrequest parameterjobIdsbecame optional
- info