Skip to main content
Prisma Documentation Docs

Search documentation

Type to search this documentation.

Get bucket

GET/v1/buckets/{bucketId}Get bucket

Returns the bucket with the given ID.

Parameters

bucketIdstringpathrequired

pattern ^(bkt_)?([cC][^\s-]{8,}|[a-z0-9]+)$

Responses

200Returned the bucket with the given ID.application/json
object
dataobjectrequired
Show child attributes
branchIdnull | stringrequired

pattern ^(br_)([cC][^\s-]{8,}|[a-z0-9]+)$

createdAtstring · date-timerequired
idstringrequired

pattern ^(bkt_)([cC][^\s-]{8,}|[a-z0-9]+)$

logicalIdnull | stringrequired
namestringrequired
projectobjectrequired
Show child attributes
idstringrequired

pattern ^(proj_)([cC][^\s-]{8,}|[a-z0-9]+)$

namestringrequired
urlstring · urirequired
providerNamestringrequired
statusstringrequired
typestringrequired

const "bucket"

urlstring · urirequired
Example response
{
  "data": {
    "branchId": "string",
    "createdAt": "2026-06-09T00:00:00Z",
    "id": "string",
    "logicalId": "string",
    "name": "string",
    "project": {
      "id": "string",
      "name": "string",
      "url": "https://example.com"
    },
    "providerName": "string",
    "status": "string",
    "type": "bucket",
    "url": "https://example.com"
  }
}
401Missing or invalid authorization token.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
404Bucket with the given ID was not found.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
413Request body exceeds this endpoint's size cap.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
Documentation menu