Skip to main content
GET
/
anthropic
/
v1
/
files
/
{file_id}
/
content
Error
A valid request URL is required to generate request examples
{
  "id": "<string>",
  "type": "file",
  "filename": "<string>",
  "mime_type": "<string>",
  "size_bytes": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "downloadable": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.getbifrost.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your provider API key or Bifrost authentication token. Virtual keys (prefixed with sk-bf-) can also be passed here.

Headers

x-model-provider
string

Provider for the file

Accept
enum<string>
default:application/json

Response content type - use application/octet-stream for binary download

Available options:
application/json,
application/octet-stream

Path Parameters

file_id
string
required

File ID

Response

Successful response. Returns file metadata as JSON or raw binary file content. When returning binary content, the Content-Type header indicates the file's MIME type and Content-Disposition header may include the filename.

id
string
type
string
default:file
filename
string
mime_type
string

MIME type of the file

size_bytes
integer

Size of the file in bytes

created_at
string<date-time>
downloadable
boolean