Returns the status of a previously submitted bulk-label-export job. When the job is complete, the response includes a temporary signed download URL for the artifact and an expires_at timestamp. Cross-org polling deliberately returns 404 (not 403) to prevent id enumeration.
Documentation Index
Fetch the complete documentation index at: https://docs.closient.com/llms.txt
Use this file to discover all available pages before exploring further.
LabelExportJob.short_id returned by POST /labels/export/. 22-char shortuuid. Malformed ids are rejected with 422 before hitting the DB.
OK
Response for GET /labels/export/{job_id}/.
Two terminal states (completed, failed) and two in-flight states
(pending, processing). When status='completed', download_url,
expires_at, output_filename, and file_size_bytes are populated;
when status='failed', error carries the failure reason.
Job identifier (echoed from the request) used to look up this status.
Lifecycle state — pending (queued, not yet picked up), processing (worker is rendering), completed (artifact uploaded; download_url populated), or failed (error populated).
pending, processing, completed, failed Total entity count the job's filters resolved to. Populated as soon as the worker has resolved the filter set; 0 while the job is still queued.
x >= 0Number of entities written so far. Equals total_items when status='completed'. Useful for surfacing progress in a polling client.
x >= 0Convenience field — processed_items / total_items * 100, capped at 100.
0 <= x <= 100Temporary signed download URL for the completed artifact. Only present when status='completed'; null in every other state. URL expires at expires_at; refetch the status endpoint if expired.
ISO-8601 timestamp (with timezone) at which download_url stops working. Null when download_url is null.
Human-readable filename of the completed artifact (e.g. sheet-AbCd-42.pdf or datamatrix-lots-AbCd-42.zip). Null until the job reaches completed.
Size of the completed artifact in bytes; 0 while in-flight.
x >= 0Human-readable error message. Populated only when status='failed'; null otherwise.