Skip to content

Download a file by id

Request

Download the content of a file with the given identifier.

Security
OAuth2(Required scopes: files.read)
Path
idstringrequired

File id to download

curl -i -X GET \
  'https://api.cloud.hypatos.ai/v2/files/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Binary content of a file

Headers
X-Hy-Filenamestring

If a filename was provided during the file upload via the X-Hy-Filename request header, it will be returned in this header.

Body
string, (binary)(BinaryFile)
Response
string