Files

Create a download URL

A URL anyone can download the file from, without an API key, until it expires (an hour by default, at most a day). Overwriting or deleting the file ends it.

post/v1/files/{file_id}/url

Request

  • Base URL
    https://api.dexto.ai
  • URL
    https://api.dexto.ai/v1/files/{file_id}/url
  • Auth
    HTTP bearer

Path parameters

file_idstring required

Request body

expires_ininteger

Seconds until the URL stops working; at most 86400.

Response

Successful response.

expires_atstring date-time required
object'file.url' required
urlstring uri required

Changes

No recorded changes to this operation across all 1 revision of this API.