Stay organized with collections
Save and categorize content based on your preferences.
Lists the field configuration and metadata for this database.
Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with the filter set to indexConfig.usesAncestorConfig:false or ttlConfig:*.
HTTP request
GET https://firestore.googleapis.com/v1/{parent=projects/*/databases/*/collectionGroups/*}/fields
Required. A parent name of the form projects/{projectId}/databases/{databaseId}/collectionGroups/{collectionId}
Query parameters
Parameters
filter
string
The filter to apply to list results. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with a filter that includes indexConfig.usesAncestorConfig:false or ttlConfig:*.
pageSize
integer
The number of results to return.
pageToken
string
A page token, returned from a previous call to FirestoreAdmin.ListFields, that may be used to get the next page of results.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-02 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eFirestoreAdmin.ListFields\u003c/code\u003e function, which is used to list field configurations and metadata within a Firestore database.\u003c/p\u003e\n"],["\u003cp\u003eThe function currently only retrieves fields that have been explicitly overridden, using the \u003ccode\u003eindexConfig.usesAncestorConfig:false\u003c/code\u003e or \u003ccode\u003ettlConfig:*\u003c/code\u003e filter.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL structure follows gRPC Transcoding syntax, with the \u003ccode\u003eparent\u003c/code\u003e parameter specifying the project, database, and collection group.\u003c/p\u003e\n"],["\u003cp\u003eQuery parameters such as \u003ccode\u003efilter\u003c/code\u003e, \u003ccode\u003epageSize\u003c/code\u003e, and \u003ccode\u003epageToken\u003c/code\u003e are used to refine the search, control the amount of results, and to allow for pagination.\u003c/p\u003e\n"],["\u003cp\u003eThe response body, if successful, contains an array of \u003ccode\u003efields\u003c/code\u003e objects and \u003ccode\u003enextPageToken\u003c/code\u003e, and authorization requires either \u003ccode\u003ehttps://www.googleapis.com/auth/datastore\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scopes.\u003c/p\u003e\n"]]],[],null,[]]