Skip to main content
For engines, plans, and connection details, see databases.

Create a database

string
required
Database name shown in Pxxl.
string
required
postgres (or postgresql), mysql, mariadb, mongodb, redis, dragonfly, keydb, or clickhouse.
string
Short note about the database purpose.
string
Project connected to the database.
boolean
default:"false"
Enables supported daily backups.
string
Team that owns the database. Node.js only; in Go, Python, and Rust the database goes to the key’s own account or team.
Returns

Database operations

Runtime responses

Start, stop, and restart calls return the accepted action and current state.
Metrics and usage calls return structured values that can gain new metrics over time.

Reveal a credential

Credential responses contain sensitive data. Do not log, cache, or send them to a browser.

Other languages

Go, Python, and Rust use one method for start, stop, and restart. The action must be start, stop, or restart. Any other value fails before a request is sent.