Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Delete a traffic rule
PLANETSCALE_DELETE_TRAFFIC_RULEDelete a traffic rule. PostgreSQL databases only. This is destructive: confirm the target before calling.
Delete a webhook
PLANETSCALE_DELETE_WEBHOOKDelete a webhook. This is destructive: confirm the target before calling.
Demote a branch
PLANETSCALE_DEMOTE_BRANCHDemotes a branch from production to development. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources. This changes operational state and may not be safely reversible.
Disable organization SSO
PLANETSCALE_DISABLE_ORGANIZATION_SSODisable SSO and directory sync for the organization. This is destructive: confirm the target before calling.
Disable directory sync
PLANETSCALE_DISABLE_ORGANIZATION_SSO_DIRECTORYDisable directory sync for the organization. Non-admin directory members are removed. This is destructive: confirm the target before calling.
Disable safe migrations for a branch
PLANETSCALE_DISABLE_SAFE_MIGRATIONSDisable safe migrations for a branch. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources. This is destructive: confirm the target before calling.
Dismiss a schema recommendation
PLANETSCALE_DISMISS_SCHEMA_RECOMMENDATIONDismiss a schema recommendation.
Enable organization SSO
PLANETSCALE_ENABLE_ORGANIZATION_SSOEnable the SSO add-on for an organization, potentially returning a URL for verifying an email domain. This changes operational state and may not be safely reversible.
Open the directory sync portal
PLANETSCALE_ENABLE_ORGANIZATION_SSO_DIRECTORYReturn a URL for configuring directory sync. Requires SSO to be enabled.
Enable safe migrations for a branch
PLANETSCALE_ENABLE_SAFE_MIGRATIONSEnable safe migrations for a branch. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.
Enable force cutover for a deploy request
PLANETSCALE_FORCE_CUTOVER_DEPLOY_REQUESTEnable force cutover for a deploy request. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources. This changes operational state and may not be safely reversible.
Get the admin for a Neki branch
PLANETSCALE_GET_ADMINGet the admin for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.
Get a change request for a Neki admin
PLANETSCALE_GET_ADMIN_CHANGE_REQUESTGet a change request for a Neki admin. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.
Get a backup
PLANETSCALE_GET_BACKUPGet a backup.
Get a backup policy
PLANETSCALE_GET_BACKUP_POLICYGet a backup policy.
Get a bouncer
PLANETSCALE_GET_BOUNCERGet a bouncer. PostgreSQL databases only.
Get a branch
PLANETSCALE_GET_BRANCHGet a branch.
Retrieve a branch anomaly
PLANETSCALE_GET_BRANCH_ANOMALYRetrieve a branch anomaly.
Get a branch change request
PLANETSCALE_GET_BRANCH_CHANGE_REQUESTGet a branch change request. PostgreSQL databases only.
Get table storage metrics by keyspace
PLANETSCALE_GET_BRANCH_KEYSPACE_TABLE_METRICSRequest table storage metrics by keyspace for a database branch. The tool returns only a success indicator, not the metrics.