Get an asset file's download URL
Changed onReturns { url } — a freshly minted download URL for one file of one library asset; GET it to stream the bytes. The provider's URLs are short-lived and never stored, so call this each time you need one. Pass redirect=true for a 302 straight to the URL (curl -L). format must be one of the format values from /mint-assets/files.
Request
- Base URL: https://api.monid.ai
- URL: https://api.monid.ai/v1/resources/{resourceId}/mint-assets/download-url
- Auth: HTTP bearer
Path parameters
Resource identifier (ULID).
Query parameters
Asset id from the library listing.
A format from /mint-assets/files (e.g. glb).
true answers a 302 redirect to the URL instead of the JSON body (the curl -L ergonomic).
Headers
Model driving the calling agent. Optional; a value that is empty, longer than 256 characters or not printable ASCII is ignored (never an error).
Agent harness or client making the call (e.g. a coding agent, an agent framework). Optional; a value that is empty, longer than 256 characters or not printable ASCII is ignored (never an error).
Caller-side session identifier, so the calls of one agent session (discover → inspect → run → polling) can be correlated. Optional; a value that is empty, longer than 256 characters or not printable ASCII is ignored (never an error).
Response
The download URL
Changes
- info
added the new optional
headerrequest parameterX-Monid-Agent-Harness - info
added the new optional
headerrequest parameterX-Monid-Agent-Model - info
added the new optional
headerrequest parameterX-Monid-Agent-Session-Id - info
removed the
PROMO_REDEEM_DISABLEDenum value from theresponse property for the response status - info
removed the
PROMO_REDEEM_DISABLEDenum value from theresponse property for the response status - info
removed the
PROMO_REDEEM_DISABLEDenum value from theresponse property for the response status - info
removed the
PROMO_REDEEM_DISABLEDenum value from theresponse property for the response status - info
removed the
PROMO_REDEEM_DISABLEDenum value from theresponse property for the response status - info
removed the
PROMO_REDEEM_DISABLEDenum value from theresponse property for the response status
- info
- warning
added the new
PROMO_REDEEM_DISABLEDenum value to theresponse property for the response status - warning
added the new
PROMO_REDEEM_DISABLEDenum value to theresponse property for the response status - warning
added the new
PROMO_REDEEM_DISABLEDenum value to theresponse property for the response status - warning
added the new
PROMO_REDEEM_DISABLEDenum value to theresponse property for the response status - warning
added the new
PROMO_REDEEM_DISABLEDenum value to theresponse property for the response status - warning
added the new
RATE_LIMITEDenum value to theresponse property for the response status - warning
added the new
RATE_LIMITEDenum value to theresponse property for the response status - warning
added the new
RATE_LIMITEDenum value to theresponse property for the response status - warning
added the new
RATE_LIMITEDenum value to theresponse property for the response status - warning
added the new
RATE_LIMITEDenum value to theresponse property for the response status - info
added the non-success response with the status
- warning