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
}Anthropic Integration
Get file content (Anthropic format)
Retrieves file content. Returns raw binary file data when Accept header is set to application/octet-stream, or file metadata as JSON when Accept header is set to application/json.
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
}Authorizations
BearerAuthBasicAuthVirtualKeyAuthApiKeyAuth
Bearer token authentication. Use your provider API key or Bifrost authentication token.
Virtual keys (prefixed with sk-bf-) can also be passed here.
Headers
Provider for the file
Response content type - use application/octet-stream for binary download
Available options:
application/json, application/octet-stream Path Parameters
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.
Was this page helpful?
⌘I

