S3-compatible PutObject

Uploads an object to the Bifrost file store using S3 PutObject semantics. The response is empty with an ETag header, mirroring native S3.

PUT
/bedrock/files/{bucket}/{key}
AuthorizationBearer <token>

Bearer token authentication. Use your MPilot virtual-key JWT or admin JWT. Virtual keys (prefixed with sk-bf-) can also be passed here.

In: header

Path Parameters

bucketstring

Bucket name.

keystring

Object key. Supports /-separated nested keys ({key:*} wildcard).

Header Parameters

x-model-provider?string

Optional provider override; defaults to bedrock.

bodyfile

Raw object bytes.

Formatbinary

Response Body

curl -X PUT "https://loading/{AI_GATEWAY_URL}/bedrock/files/string/string" \  -H "x-model-provider: string" \  -H "Content-Type: application/octet-stream" \  -d 'string'
Empty
"string"
On this page

On this page

No Headings