Production-file responses expose metadata and a relative download_path. The direct download returns the original final production bytes, not a proof or watermark preview. GET returns bytes; HEAD validates availability and returns headers without a body.
curl --request HEAD 'https://tringify-custom-products.developers-c8a.workers.dev/api/v1/production-files/FILE_ID' \
--header 'Authorization: Bearer cpk_live_YOUR_KEY'
The discovery endpoint is useful for a fulfillment worker that processes files as they become available. It returns only ready files and uses a cursor rather than page numbers.
Discover production files
Discover production files
Returns ready final production files for the store bound to the API key. The response is cursor-paginated and never includes source uploads, proofs, or thumbnails.
Query parameters
| Name | Type | Description |
|---|---|---|
limit
|
integer |
Number of files to return. |
cursor
|
string |
Opaque cursor returned as |
Errors
-
400INVALID_CURSORThe cursor is not a valid cursor returned by this API.
-
503PRODUCTION_FILES_UNAVAILABLEA returned file could not be verified temporarily.
Download a production file
Download a production file
Returns the final production bytes for one file. The response is private, is not cacheable, and includes the recorded content type, byte size, and checksum in response headers. Use HEAD on the same path to validate availability without downloading the body.
Path parameters
| Name | Type | Description |
|---|---|---|
file_id
required
|
UUID |
Opaque production-file identifier returned by an order or discovery response. |
Errors
-
400INVALID_FILE_IDThe file identifier is not a UUID.
-
404PRODUCTION_FILE_NOT_FOUNDThe file does not exist in the key's store.
-
409PRODUCTION_FILE_NOT_READYThe final file is not ready yet.
-
410PRODUCTION_FILE_EXPIREDThe final file is no longer available.
-
503PRODUCTION_FILE_UNAVAILABLEThe final object could not be verified temporarily.