Poll status of a PDF extraction job

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

Authorization

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

Path parameters

job_idstringrequired

A numeric filing_id (the job_id of an /reference/byIsin cache-miss 202) or the 64-character SHA of an uploaded PDF (/reference/byPdf). A job is served only to the API key it was issued to; any other key gets 404, the answer for a job that does not exist.

Example: 17340106

Query parameters

isinstring

The note to serve. One filing can carry several notes, and a job serves the note it was issued for, so the job id alone is enough after one /reference/byIsin request. The status_url of that 202 also names the ISIN here. When one key asks for several notes of the same filing, each gets the same job_id: poll each status_url as given, because the bare job id then answers 400 listing the notes in isins. An ISIN the job was not issued for answers 400.

Example: US78017URQ57

Response fields

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

job_idstringrequired
statusstring: queued, running, complete, failedrequired
resultobject | null

Present when status=complete.

errorstring | null

Status codes

StatusMeaning
200

Job status / result

400

Validation / parse error

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