ManagedFolder: list

View themanaged folders within a bucket.

Required permissions

The authenticated user must have thestorage.managedfolders.listIAM permission to use this method.

Request

HTTP request

GET https://storage.googleapis.com/storage/v1/b/bucket/managedFolders

In addition tostandard query parameters, the following parameters apply to this method.

To see an example of how to include query parameters in a request, see theJSON API Overview page.

Parameters

Parameter nameValueDescription
Query parameters
prefixstring Filter results to managed folders whose names begin with this prefix.
maxResultsunsigned integer Maximum number of managed folders to return in a single response. The service may return fewer results thanmaxResults so the presence ofnextPageToken should always be checked.
pageTokenstring

A previously-returned page token representing part of the larger set of results to view.

ThepageToken is an encoded field containing the name of the last item (managed folder) in the returned list. In a subsequent request using thepageToken, items that come after thepageToken are shown (up tomaxResults).

If you start a listing and then create a new managed folder before using apageToken to continue listing, you will not see the new managed folder in subsequent listing results if it is in part of the managed folder namespace already listed.

Path parameters
bucketstring The parent bucket of the managed folder.

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure, where the list of managed folders are included in theitems attribute and sorted alphabetically by order:

{"kind":"storage#managedFolder""nextPageToken":string,"items":[managedFolderresources]}
Property nameValueDescriptionNotes
kindstringThe kind of item this is. For lists of managed folders, this is always"storage#managedFolders".
nextPageTokenstringThe continuation token. Provide this value as thepageToken of a subsequent request in order to return the next page of results. Note that the next page may be empty. If this is the last page of results, then no continuation token is returned. The presence of this parameter in the response should always be checked to ensure a complete listing of all the results.

ThenextPageToken is the name of the last managed folder in the returned list. In a subsequent list request using thepageToken, items that come after the token are shown (up tomaxResults).
items[]listThe list ofmanaged folders.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.