cURL
curl --request GET \ --url https://api.infery.ai/v1/files/{fileId}/content \ --header 'Authorization: <api-key>'
"<string>"
GET /v1/files//content — stream the raw file bytes.
curl https://api.infery.ai/v1/files/file_abc123.../content \ -H "Authorization: Bearer $INFERY_API_KEY" \ --output report.pdf
API key in format: Bearer inf_***
Raw file bytes. Content-Type and Content-Disposition reflect the stored metadata.
Content-Type
Content-Disposition
The response is of type file.
file