aiendpoint.dev
Services›PlanetScale

PlanetScale

community

Serverless MySQL-compatible database platform with branching, deploy requests, and unlimited connections.

Visit site ↗

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.

https://planetscale.comoauth2developerdataconfidence: 90/1000 discoveries2 contributors
GEThttps://api.planetscale.com/v1/organizations/{org}/databases

List databases in organization

Parameters

orgorganization name (stringrequired

Returns

data[] with id, name, region, created_at, updated_at, plan, state
GEThttps://api.planetscale.com/v1/organizations/{org}/databases/{db}/branches

List branches for a database

Parameters

dbdatabase name (stringrequired
orgorganization (stringrequired

Returns

data[] with id, name, parent_branch, created_at, schema_ready, shard_count
POSThttps://api.planetscale.com/v1/organizations/{org}/databases/{db}/deploy-requests

Create a deploy request to merge schema changes

Parameters

dbdatabase name (stringrequired
orgorganization (stringrequired
branchsource branch (stringrequired
into_branchtarget branch (stringoptional

Returns

id, number, state, branch, into_branch, created_at, deployment