Mixedbread

Update File

POST/v1/files/{file_id}

Authorization

Authorizationstringrequired

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

Path Parameters

file_idstringrequired

The ID of the file to update

Request Body

filestring(binary)required

The file to update

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