Skip to main content
GET
/
v1
/
files
/
{file_id}
/
content
curl https://gateway.bud.studio/v1/files/file-abc123/content \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -o downloaded_file.jsonl
Returns the raw file content with appropriate Content-Type header
curl https://gateway.bud.studio/v1/files/file-abc123/content \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -o downloaded_file.jsonl
Returns the raw file content with appropriate Content-Type header

Headers

ParameterTypeRequiredDescription
AuthorizationstringYesBearer authentication header

Path Parameters

ParameterTypeRequiredDescription
file_idstringYesThe ID of the file to download

Supported Providers

OpenAI

File management for Batch API and Assistants

Azure OpenAI

Enterprise file storage with compliance