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

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 to use (defaults to anthropic)

Query Parameters

limit
integer
default:30

Maximum files to return

after_id
string

Cursor for pagination

Response

Successful response

data
object[]
has_more
boolean
first_id
string
last_id
string