Firebase Admin icon

Firebase Admin

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

Firestore → Get

AI-generated

Summary

Retrieve a single Firestore document by specifying its full path within a given Google Cloud project.

Inputs

  • Project Name or ID (required) — Select the Google Cloud project that contains the Firestore database.
  • Path (required) — Enter the complete document path in Firestore, formatted as 'collection/documentId' or including subcollections as 'collection/documentId/subcollection/documentId'.

Output shape

A single Firestore document's data as an object if found.

Returns the document data at the specified path. If the document does not exist, the output will indicate absence accordingly.

Links

Discussion