S3-compatible ListObjectsV2

Lists objects in a bucket using S3 ListObjectsV2 semantics. Supports the prefix and max-keys query parameters used by boto3.

GET
/bedrock/files/{bucket}
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.

Query Parameters

prefix?string

Filter keys by prefix.

max-keys?integer

Maximum number of keys to return.

Header Parameters

x-model-provider?string

Optional provider override; defaults to bedrock.

Response Body

curl -X GET "https://loading/{AI_GATEWAY_URL}/bedrock/files/string?prefix=string&max-keys=0" \  -H "x-model-provider: string"
{}
"string"
On this page

On this page

No Headings