Poll a retrieval job

GEThttps://api.sqx.com/v1/jobs/{job_id}

202 while the job is queued or running; 200 with a presigned download_url once it is done; 500 (code 1060, message carries the cause) if it failed. The URL is valid until expires_at (one hour); the object itself expires after 7 days.

A job is visible only to the key that submitted it. Another key's job is a 404, not a 403: a 403 would confirm the job exists.

No scope, quota or expiry check: the submission was gated and the worker meters the rows it serves, so the submitting key can collect its file after its grant lapses. Source-address binding and the per-second cap still apply.

Authorization

Send your API key in the X-API-Key header. See Authentication.

Path parameters

job_idstring (uuid)required

The job_id from a 202 response. The example value is a placeholder: a job id exists only after a submit, so take a real one from the 202 of POST /v1/jobs/isins (data.job_id) and poll it here. An id the caller never submitted is a 404 (code 1040).

Example: 3f2b8c1e-5d4a-4e7b-9a60-1c2d3e4f5a6b

Response fields

Inside the envelope's data. Every response also carries errors and meta (Envelope).

job_idstring (uuid)required
statusstring: donerequired
kindstring: price_latest, price_range, price_universe, reference_fields, curve_range, curve_constituents, optionsrequired

What a job retrieves. On /jobs/isins the short spellings latest, range, universe, reference are accepted too. curve_range and curve_constituents are submitted only by /curves/range and /curves/constituents themselves, never via /jobs/isins.

row_countinteger | nullrequired
download_urlstring (uri)required

Presigned S3 URL of the CSV. Valid until expires_at.

expires_atstring (date-time)required
nextstringrequired

Status codes

StatusMeaning
200

Job done — download the CSV

202

Job still queued or running

400

Validation / parse error

401

Missing or invalid API key

403

Key valid but lacks required scope/field grant

404

Identifier resolves to nothing

500

Unexpected server error

Talk to SQX

Tell us what data you need. Ask today and get a response today.

Or email inquiries@sqx.com