Get a file download URL
Changed onReturns { url, expiresAt } — a short-lived signed URL for the file at path on a workspace file system; GET it to stream the bytes. Pass redirect=true for a 302 straight to the URL (curl -L). For a shareable URL with a longer TTL, run the provider's /cat endpoint.
Request
- Base URL: https://api.monid.ai
- URL: https://api.monid.ai/v1/resources/{resourceId}/files/download-url
- Auth: HTTP bearer
Path parameters
Resource identifier (ULID).
Query parameters
File path relative to the FS root.
true answers a 302 redirect to the signed 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 signed 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
- 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 - info
added the non-success response with the status
- warning