Read query results by offset
Read a completed job’s stored result by raw byte offset. See Reading large results for the full flow with completionOnly.
Results stay readable for about an hour after the job completes. Reading a job that hasn’t completed yet, or whose result has expired, returns an error status on the job line.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Query Parameters
ID of a completed query job, from the Run query or Wait for query results response. Only one job can be read per request.
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Response
The requested byte window of the job's result, streamed as newline-delimited JSON (text/ndjson): one job line, then a footer line. The response as a whole cannot be parsed as a single JSON document — parse it line by line.
- Option 1
- Option 2
One job line including the requested slice in result and the byte window in stream_stats, then a footer line.
Streaming stats for a completed job, including the byte window its result covers. A large result can be read in pieces with the Read query results by offset endpoint: decode each result and append the bytes before parsing the Arrow stream.

