Skip to main content
GET
/
v1
/
files
/
{file_id}
curl https://gateway.bud.studio/v1/files/file-abc123 \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "id": "file-abc123",
  "object": "file",
  "bytes": 2048,
  "created_at": 1699000000,
  "filename": "batch_requests.jsonl",
  "purpose": "batch",
  "status": "processed",
  "status_details": null
}
curl https://gateway.bud.studio/v1/files/file-abc123 \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "id": "file-abc123",
  "object": "file",
  "bytes": 2048,
  "created_at": 1699000000,
  "filename": "batch_requests.jsonl",
  "purpose": "batch",
  "status": "processed",
  "status_details": null
}

Headers

ParameterTypeRequiredDescription
AuthorizationstringYesBearer authentication header

Path Parameters

ParameterTypeRequiredDescription
file_idstringYesThe ID of the file to retrieve

Supported Providers

OpenAI

File management for Batch API and Assistants

Azure OpenAI

Enterprise file storage with compliance