PlanetScale
communityServerless MySQL-compatible database platform with branching, deploy requests, and unlimited connections.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://api.planetscale.com/v1/organizations/{org}/databasesList databases in organization
Parameters
orgorganization name (stringrequiredReturns
data[] with id, name, region, created_at, updated_at, plan, stateGET
https://api.planetscale.com/v1/organizations/{org}/databases/{db}/branchesList branches for a database
Parameters
dbdatabase name (stringrequiredorgorganization (stringrequiredReturns
data[] with id, name, parent_branch, created_at, schema_ready, shard_countPOST
https://api.planetscale.com/v1/organizations/{org}/databases/{db}/deploy-requestsCreate a deploy request to merge schema changes
Parameters
dbdatabase name (stringrequiredorgorganization (stringrequiredbranchsource branch (stringrequiredinto_branchtarget branch (stringoptionalReturns
id, number, state, branch, into_branch, created_at, deployment