S3-compatible HeadObject

Returns S3 metadata headers (ETag, Content-Length, etc.) without a body.

HEAD
/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 ({key:*} wildcard).

Header Parameters

x-model-provider?string

Optional provider override; defaults to bedrock.

Response Body

curl -X HEAD "https://loading/{AI_GATEWAY_URL}/bedrock/files/string/string" \  -H "x-model-provider: string"
Empty
Empty
On this page

On this page

No Headings