v1

latestOpenAPI 3.1.0Apache 2.02026-07-264001921002.3 KB
Anthropic Integration

Upload file (Anthropic format)

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

post/anthropic/v1/files

Headers

x-model-providerstring

Provider to use (defaults to anthropic)

Response

Successful response

idstring
typestring
filenamestring
mime_typestring

MIME type of the file

size_bytesinteger

Size of the file in bytes

created_atstring date-time
downloadableboolean