Method: projects.databases.indexes.createStay organized with collectionsSave and categorize content based on your preferences.
Creates the specified index. A newly created index's initial state isCREATING. On completion of the returnedgoogle.longrunning.Operation, the state will beREADY. If the index already exists, the call will return anALREADY_EXISTSstatus.
During creation, the process could result in an error, in which case the index will move to theERRORstate. The process can be recovered by fixing the data that caused the error, removing the index withdelete, then re-creating the index withcreate.
Indexes with a single field cannot be created.
HTTP request
POST https://firestore.googleapis.com/v1beta1/{parent=projects/*/databases/*}/indexes
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-20 UTC."],[],[]]