PlanetScale

agent-guide--format jsonVitess, PostgresBootstrap JSON for AI agents; embeds CLI conventions and skills/MCP hintsapi--help, --org string, --database string, --branch string, --field key=value, --header stringArray, --input string, --method string, --query key=valueVitess, PostgresPerforms authenticated calls against the PlanetScale API and prints the response to stdout.audit-loglist--help, --org stringVitess, PostgresList all audit logsauthlogin, logout, check--help, --format jsonVitess, PostgresAuthenticate via console or JSON device login for agentsbackupcreate, delete, list, restore, show--help, --org stringVitess, PostgresManage branch backupsbranchconnections, create, delete, diff, keyspaces, list, promote, query-patterns, refresh-schema, schema, show, switch, vschema--help, --org stringVitess, PostgresManage branchescompletionbash, zsh, fish, powershell--helpVitess, PostgresGenerate completion script for specified shellconnect<database_name> <branch_name>--execute string, --execute-env-url string, --execute-protocol string, --help, --host string, --org string, --port string, --remote-addr string, --role stringVitessCreate a secure connection to the given database and branchdatabasecreate, delete, dump, list, restore-dump, show--helpVitess, PostgresManage databasesdeploy-requestapply, cancel, close, create, deploy, diff, edit, force-cutover, list, revert, review, show, skip-revert--helpVitessManage deploy requests including gated deploymentshelpagent-guide, audit-log, auth, backup, branch, completion, connect, database, deploy-request, help, import, insights, inspect, mcp, org, password, ping, region, role, service-token, shell, signup, size, sql, traffic-control, webhook, workflow--helpVitess, PostgresView help for any commandimportd1 doctor, d1 lint, d1 convert-schema, d1 start, d1 verify, d1 status, d1 complete--help, --org stringPostgresImport external databases (Cloudflare D1) into PlanetScale Postgresinsightsqueries, errors, anomalies, recommendations--help, --org string, --format json, --sort string, --dir string, --limit int, --period stringVitess, PostgresServer-side query insights, anomalies, and schema recommendations from production trafficinspectall, table-sizes, index-sizes, unused-indexes, redundant-indexes, invalid-indexes, seq-scans, long-running-queries, locks, outliers, calls, bloat, vacuum-stats, replication-slots, subscriptions--help, --org string, --format json, --keyspace string, --dbname string, --role string, --replicaVitess, PostgresLive, read-only diagnostic checks over a direct database connectionorglist, show, switch--helpVitess, PostgresManage and switch organizationsmcpinstall, server--target string (cursor|claude-code|zed), --format json, --helpVitess, PostgresInstall hosted MCP config (docs)passwordcreate, delete, list--help, --org stringVitessManage branch credentialsping--help, --count, -n int, --concurrency int, --provider, -p string --timeout durationVitess, PostgresCheck latency between your machine and PlanetScale’s public regionsregionlist--org stringVitess, PostgresView available regionsrolecreate, delete, get, list, reassign, renew, reset, reset-default, update--help, --org string, --inherited-roles string, --ttl duration, --force, --successor string, --name string, --webPostgresManage Postgres rolesservice-tokenadd-access, create, delete, delete-access, list, show-access--help, --org stringVitess, PostgresManage access of service tokenssizecluster list--help, --org string, --region string, --metalVitess, PostgresView available cluster sizestraffic-controlbudget, rule--help, --org stringPostgresManage Database Traffic Control budgets and rules for a Postgres database branchshell<database_name> <branch_name>--help, --local-addr string, --org string, --remote-addr string, --role string, --replicaVitess, PostgresOpen an interactive shell to the specified database and branchsignup--helpVitess, PostgresSign up for a new PlanetScale accountsql<database> <branch>--org string, --query string, --role string, --replica, --dbname string, --keyspace string, --force, --format jsonVitess, PostgresExecute a SQL query without an interactive shell (agents/scripts)webhookcreate, delete, list, show, test, update--help, --org string, --events string, --url string, --enabledVitess, PostgresManage webhooks for databasesworkflowcancel, complete, create, cutover, list, retry, reverse-cutover, reverse-traffic, show, switch-traffic, verify-data--help, --org stringVitessManage the workflows for PlanetScale databases

Read the original on planetscale.com ↗