Skip to main content
GET
cURL

Overview

Retrieve a finished task query job one page at a time. Check the job’s status before requesting results and download all pages before expires_at.

Examples

Set UNIFY_API_KEY to your API key.
Replace the example job ID with your finished query job:
The JSON response contains data, total, page, and page_size. Increment page until you’ve retrieved all total rows. JSON pages support up to 2,000 rows. If a page exceeds the payload limit, request fewer rows or use NDJSON.
Add Accept: application/x-ndjson to receive one task per line. NDJSON supports up to 10,000 rows per page and returns pagination metadata in the x-total, x-page, and x-page-size response headers.
A 409 response means the job has no available results. Inspect the job status to distinguish an in-progress job from a failed or canceled job. A 410 response means the results expired and you need to create a new job.

Authorizations

x-api-key
string
header
required

Path Parameters

job_id
string
required

Query Parameters

page
integer
Required range: x >= 1
page_size
integer

Maximum is 2,000 for JSON responses and 10,000 when Accept is application/x-ndjson.

Required range: 1 <= x <= 10000

Response

Successful response returned when fetching completed query job results.

Successful response returned when fetching completed query job results.

total
integer
required
page
integer
required
page_size
integer
required
data
object[]
required