Get bucket
Retrieves details for a specific bucket including configuration, aliases, and portal settings.
Required scopes: upl:bucket:read
Authorization
OAuth2 upl:bucket:readAuthorizationBearer <token>
OAuth 2.0 authorization
In: header
Scope: upl:bucket:read
Header Parameters
Connect-Protocol-Version?number
Define the version of the Connect protocol
Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
bucketRef?|&|
Reference to the bucket
includeAliasStatus?boolean
Include detailed alias status information validate:skip a bool has no bounds
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketsService/GetBucket" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"bucket": "map[aliases:[screenshots i.example.com] bucketId:1042 bucketName:Screenshots createdAt:2026-03-14T11:02:45Z destination:BUCKET_DESTINATION_DEFAULT isPrimary:false lifecycleRuleCount:1 managedBy: ownerTeam:urn:xeonr:auth:team:0f6b5f8c-21f4-4b6e-9b4f-3a6a2c7d8e91 ownerTeamSlug:acme portalConfig:map[cdnMode:false] primaryAlias:i.example.com private:false slug:screenshots totalSpaceBytes:10737418240 type:BUCKET_TYPE_UPLOADS_DIRECTORY updatedAt:2026-10-22T09:30:00Z uploadCount:1284 url:https://i.example.com usedSpaceBytes:734003200]",
"permissionLevel": "BUCKET_PERMISSION_LEVEL_ADMIN",
"isPrimaryOwner": "true",
"aliasStatus": [
"map[alias:screenshots createdAt:2026-03-14T11:02:45Z isCustomDomain:false isSlug:true status:active]",
"map[alias:i.example.com createdAt:2026-03-14T11:02:45Z fallbackHostname:fallback.upl.im isCustomDomain:true isSlug:false status:active verifiedAt:2026-03-14T11:20:03Z]"
],
"bucketEventId": "58213",
"adminPermissionLevel": "BUCKET_PERMISSION_LEVEL_ADMIN"
}