Skip to content

Download the original file

GET
/api/v1/sources/{id}/download

Records an audit entry, then redirects to a signed URL that serves the file as an attachment. Follow the redirect without the Authorization header; the signed URL is self-authenticating.

NameType
id
required
string

The record’s prefixed ID

302

Redirect to the file

Location
string format: uri

A signed URL that serves the file as an attachment

404

No file attached, or no such source

Response body
Media typeapplication/json
object
error
object
code
string

A stable machine-readable code

message
string
details
Array<string>

Present on validation errors; one entry per failed validation