Create database

POST/v1/databases

Create a managed Firestore-backed database surface.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
None.
Query parameters
None.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
projectIdstringNoOptional project that owns this database.
namestringYesHuman-readable database name.
descriptionstringNoDescription of the data stored here.
locationstringNoDeployment location or region, for example `eur3`.
metadataobjectNoAdditional database metadata.

What the API returns

Each response code below includes the documented payload shape for the ACP API.

201Database createdapplication/json
FieldTypeRequiredDescription
databaseobjectNo
database.idstringNoUnique identifier.
database.userIdstringNoUser ID.
database.projectIdstringNoProject ID.
database.namestringNoHuman-readable name.
database.descriptionstringNoHuman-readable description.
database.providerfirestoreNo
database.locationstringNo
database.statusactive | provisioning | errorNoCurrent lifecycle status.
database.firestoreNamespacestringNo
database.metadataobjectNoFree-form metadata object.
database.createdAtstringNoISO 8601 timestamp.
database.updatedAtstringNoISO 8601 timestamp.
Create database
Loading...
Response 201
Loading...
See the ACP quickstart and SDK flow