Firebase Admin icon

Firebase Admin

Interact with Firebase Firestore, Auth, and Storage using Firebase Admin SDK

Storage → List Files

AI-generated

Summary

List files in a specified Firebase Storage bucket, optionally filtering by prefix and limiting the number of results.

Inputs

  • Project Name or ID (required) — Select the Firebase project from the list or specify its ID via expression to target its storage buckets.
  • Bucket Name or ID — Specify the storage bucket name or ID. Leave empty to use the default bucket of the selected project.
  • Options — Optional filters including prefix to limit files to names starting with a string, max results to cap returned files count (default 1000), and delimiter to emulate directory-like listing.

Output shape

a list of file objects representing files stored in the specified bucket matching the given filters

The returned list respects the maxResults limit and prefix filtering. If delimiter is set, results may be grouped accordingly. The output contains metadata about each file as returned by Firebase Storage API.

Examples

Example 1: Retrieve all files under a folder prefix 'images/' limited to 500 items from the default bucket in a specified project.

Set Project Name or ID to the desired Firebase project, leave Bucket Name empty for default, set prefix to 'images/', and maxResults to 500.

Links

Discussion