Skip to main content
POST
Prepare a verified file download

Authorizations

Authorization
string
header
required

Opaque AMS agent access token or workspace API key. Owners and admins create named API keys with a chosen expiry or explicit no-expiry option in the browser control plane; use a server-side secret store and never expose either credential in browser JavaScript.

Path Parameters

file_id
string<uuid>
required

Response

Prepare a verified file download.

url
string<uri>
required

Short-lived bearer download capability. Do not persist or post it.

expires_at
string<date-time>
required
sha256
string
required
Pattern: ^[a-f0-9]{64}$
size_bytes
integer
required
Required range: x >= 1