Mixedbread

Upload File

POST/v1/files

Authorization

Authorizationstringrequired

Bearer token for API authentication. Format: `Bearer YOUR_API_KEY`

Request Body

filestring(binary)required

The file to upload

Response Body

idstringrequired

Unique identifier for the file

filenamestringrequired

Name of the file including extension

Constraints

Minimum length: 1
bytesintegerrequired

Size of the file in bytes

Constraints

Exclusive minimum: 0
mime_typestringrequired

MIME type of the file

versionintegerrequired

Version of the file

Constraints

Minimum: 1
created_atstring(date-time)required

Timestamp when the file was created

updated_atstring(date-time)required

Timestamp when the file was last updated

Last updated: August 19, 2025