Files

Get a download URL

Returns a short-lived presigned URL (attachment disposition) for a ready file; fetch the bytes directly from that URL before it expires. The URL grants access to the file contents — treat it as a secret and request a fresh one per download. Responds 409 until the file is ready.

get/api/v1/files/{fileId}/download

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/files/{fileId}/download
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

fileIdstring required

Response

The presigned download URL and its expiry.

urlstring required

Short-lived presigned GET URL with attachment disposition.

expiresAtstring required

Changes

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