/projects/{project_id}/branches/{branch_id}/bucketsList buckets on the branchLists branchable object storage buckets visible on the specified branch, including those inherited from ancestor branches.
Note: This endpoint is currently in Beta.
Parameters
project_idstringpathrequiredThe Neon project ID
branch_idstringpathrequiredThe Neon branch ID
Responses
bucketsarray of objectrequiredShow child attributes
Show array items
access_levelstringrequiredControls anonymous access to objects in the bucket. - `private`: all reads and writes require authenticated requests (default). - `public_read`: anonymous `GetObject`/`HeadObject` requests succeed; listing, writes, and deletes still require authenticated requests.
created_atstring · date-timerequiredWhen the bucket was created. For a bucket inherited from an ancestor branch this is the ancestor's creation time (the branch fork never re-creates the bucket).
namestringrequiredThe bucket name (unique within a branch).
{
"buckets": [
{
"access_level": "private",
"created_at": "2026-06-09T00:00:00Z",
"name": "string"
}
]
}codestringrequiredmessagestringrequiredError message
request_idstringUnique identifier for the request, useful for debugging. You can set this value manually by including an `X-Request-ID` header in the request. If not provided, the value will be generated automatically.
{
"code": "",
"message": "string",
"request_id": "string"
}