Firebase Admin icon

Firebase Admin

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

Storage → Get File Metadata

AI-generated

Summary

Retrieve metadata information for a specific file stored in a Firebase storage bucket.

Inputs

  • Project Name or ID — Select the Firebase project by name or ID. You can pick from a list or use an expression to specify the project.
  • Bucket Name or ID — Specify the storage bucket name or ID. Leave empty to use the default bucket. Can be selected from a list or defined by an expression.
  • File Path (required) — Provide the path to the file within the storage bucket (e.g., 'folder/file.jpg').

Output shape

a single JSON object containing the file's metadata properties

The returned metadata includes details such as size, content type, creation time, and any custom metadata available for the file. If the file does not exist, an error will be raised.

Links

Discussion