cURL
Query tasks
Get results
Get results for a finished task query job.
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 beforeexpires_at.
Examples
SetUNIFY_API_KEY to your API key.
Read a page of tasks
Read a page of tasks
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.Stream a larger page
Stream a larger page
Add A
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.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
Path Parameters
Query Parameters
Required range:
x >= 1Maximum is 2,000 for JSON responses and 10,000 when Accept is
application/x-ndjson.
Required range:
1 <= x <= 10000