Serverless MySQL with branching, zero-downtime schema changes, and an API.
https://api.planetscale.com
PlanetScale provides a serverless MySQL-compatible database with Git-like branching for schema changes. The management API lets you create databases, manage branches, and trigger deploys programmatically.
Service tokens authenticate API calls. The API manages infrastructure. For querying data, use the PlanetScale connection string with any MySQL client. The branching workflow lets you test schema changes on a branch before deploying to production.
pscale_tkn_| Method | Path | Description |
|---|---|---|
| GET | /v1/organizations/{org}/databases |
List all databases |
| POST | /v1/organizations/{org}/databases |
Create a new database |
| GET | /v1/organizations/{org}/databases/{db}/branches |
List branches |
| POST | /v1/organizations/{org}/databases/{db}/branches |
Create a schema branch |
| POST | /v1/organizations/{org}/databases/{db}/deploy-requests |
Create a deploy request (like a PR for schema) |
| GET | /v1/organizations/{org}/databases/{db}/deploy-requests |
List deploy requests |
Create branches to test schema changes before deploying to production.
Automate branch creation and deploy requests from your deployment pipeline.
List, create, and monitor databases across your organization.
Create and merge deploy requests programmatically for zero-downtime migrations.