---
title: "Upload file (Anthropic format)"
method: POST
path: "/anthropic/v1/files"
tags: ["Anthropic Integration"]
---

# Upload file (Anthropic format)

`POST /anthropic/v1/files`

Uploads a file. Use x-model-provider header to specify the provider.

## Headers

- `x-model-provider` string

## Response `200`

Successful response

- object
  - `id` string
  - `type` string
  - `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

## Other responses

- `400` — Bad request
- `500` — Internal server error

---

[API](https://skmtc.net/getbifrost/apis/bifrost-api.md) · [All operations](https://skmtc.net/getbifrost/apis/bifrost-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbifrost/bifrost-api/versions/f8cab88f64ea/schema)
