/projects/{project_id}/branches/{branch_id}/buckets/{bucket_name}/objectsList objects in a bucketLists objects visible in the named bucket on the specified branch, including those inherited from ancestor branches. Listing is served by the user's session (no customer S3 credentials required).
When delimiter is supplied (typically /), keys are collapsed into common prefixes (folders) so callers can render a folder-style browser; keys that do not contain the delimiter after prefix are returned as objects.
Note: This endpoint is currently in Beta.
Parameters
project_idstringpathrequiredThe Neon project ID
branch_idstringpathrequiredThe Neon branch ID
bucket_namestringpathrequiredThe bucket name
prefixstringqueryOnly list objects whose key starts with this prefix.
delimiterstringqueryCollapse keys sharing a common prefix up to the first occurrence of this delimiter (typically `/`) into the `folders` array.
cursorstringqueryOpaque pagination cursor returned as `next_cursor` by a previous call. Resume listing after the last item of the previous page.
limitinteger · int32queryMaximum number of items (objects + folders) to return.
Responses
foldersarray of stringrequiredCommon prefixes (folder names) collapsed under the requested `delimiter`. Empty when no `delimiter` was supplied.
Show child attributes
is_truncatedbooleanrequiredTrue when more results exist beyond this page.
next_cursorstringPagination cursor to pass as `cursor` on the next request. Empty when the listing is not truncated.
objectsarray of objectrequiredObjects whose keys did not collapse into a folder.
Show child attributes
Show array items
etagstringrequiredThe object's entity tag (content hash).
keystringrequiredThe full object key.
last_modifiedstring · date-timerequiredThe time the object was last modified.
sizeinteger · int64requiredThe object size in bytes.
prefixstringrequiredThe prefix that was applied to this listing (echoed back).
{
"folders": [
"string"
],
"is_truncated": true,
"next_cursor": "string",
"objects": [
{
"etag": "string",
"key": "string",
"last_modified": "2026-06-09T00:00:00Z",
"size": 0
}
],
"prefix": "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"
}