Mint Asset URLs

Mint short-lived presigned URLs for a document’s figure crops.

Supply the figure ids (regions[].figure_id) to mint URLs for. When batch requested, each item degrades on its own: a figure with no crop does not fail the whole request.

Path parameters

collection_namestringRequired
document_idstringRequired

Request

This endpoint expects an object.
asset_idslist of stringsRequired

Figure ids to mint URLs for, from regions[].figure_id. Stable and safe to store, unlike the URLs they mint. Up to 100; duplicates each return their own item.

ttl_secondsinteger or nullOptional60-604800

How long each URL stays valid, in seconds. Default 900 (15 min); min 60, max 604800 (7 days).

Response

Successful Response
collection_namestring
document_idstring
asset_urlslist of objectsOptional
expires_atstring or nullOptional
Earliest expiry across all signed items, so a client can schedule a single refresh instead of one timer per image. Null when nothing was signed.
expires_in_secondsinteger or nullOptional

Same deadline as a duration. Provided because browser clocks are routinely wrong, which makes an absolute-only expiry unreliable.

signed_countintegerOptionalDefaults to 0
unavailable_countintegerOptionalDefaults to 0
warningslist of stringsOptional

Errors

403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
© 2026 Captain