Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
The name and region for the new database
Parameters for creating a new database, including the name and region.
The name of the database to be created. Database names must be less than 64 characters, and unique within a workspace. Names may contain letters (lower or uppercase), numbers, and underscores, and must begin with a letter or underscore.
1"my_spectacular_db"
The region where the database will be hosted. Nile currently supports the following values:
AWS_US_WEST_2- AWS in US West (Oregon)AWS_EU_CENTRAL_1- AWS in Europe (Frankfurt)
AWS_US_WEST_2, AWS_EU_CENTRAL_1 "AWS_US_WEST_2"
Whether to create a sharded database or just regular Postgres. Sharded databases are a good fit for scalable multi-tenant applications and vector use, while regular Postgres is suitable for most applications.
true
Response
Database created.
1PENDING, REQUESTED, BUILT, READY AWS_US_WEST_2, AWS_EU_CENTRAL_1, AZURE_EASTUS