planetscale · Capability

PlanetScale Platform API

The PlanetScale Platform API provides programmatic access to manage PlanetScale serverless MySQL-compatible databases. It allows developers to create and manage databases, branches, deploy requests, passwords, backups, service tokens, organization members, teams, bouncers, and billing data. The API supports authentication via service tokens and OAuth, enabling integration into CI/CD pipelines and infrastructure-as-code workflows.

Run with Naftiko PlanetscaleAPI

What You Can Do

GET
Listorganizations — List organizations
/organizations
GET
Getorganization — Get an organization
/organizations/{organization}
GET
Listorganizationmembers — List organization members
/organizations/{organization}/members
GET
Getorganizationmember — Get an organization member
/organizations/{organization}/members/{member_id}
PATCH
Updateorganizationmember — Update an organization member
/organizations/{organization}/members/{member_id}
DELETE
Deleteorganizationmember — Remove an organization member
/organizations/{organization}/members/{member_id}
GET
Listteams — List teams
/organizations/{organization}/teams
POST
Createteam — Create a team
/organizations/{organization}/teams
GET
Getteam — Get a team
/organizations/{organization}/teams/{team_slug}
PATCH
Updateteam — Update a team
/organizations/{organization}/teams/{team_slug}
DELETE
Deleteteam — Delete a team
/organizations/{organization}/teams/{team_slug}
GET
Listdatabases — List databases
/organizations/{organization}/databases
POST
Createdatabase — Create a database
/organizations/{organization}/databases
GET
Getdatabase — Get a database
/organizations/{organization}/databases/{database}
PATCH
Updatedatabasesettings — Update database settings
/organizations/{organization}/databases/{database}
DELETE
Deletedatabase — Delete a database
/organizations/{organization}/databases/{database}
GET
Listbranches — List branches
/organizations/{organization}/databases/{database}/branches
POST
Createbranch — Create a branch
/organizations/{organization}/databases/{database}/branches
GET
Getbranch — Get a branch
/organizations/{organization}/databases/{database}/branches/{branch}
PATCH
Updatebranch — Update a branch
/organizations/{organization}/databases/{database}/branches/{branch}
DELETE
Deletebranch — Delete a branch
/organizations/{organization}/databases/{database}/branches/{branch}
GET
Lintbranchschema — Lint a branch schema
/organizations/{organization}/databases/{database}/branches/{branch}/schema-lint
GET
Listdeployrequests — List deploy requests
/organizations/{organization}/databases/{database}/deploy-requests
POST
Createdeployrequest — Create a deploy request
/organizations/{organization}/databases/{database}/deploy-requests
GET
Getdeployrequest — Get a deploy request
/organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}
PATCH
Closedeployrequest — Close a deploy request
/organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}
POST
Queuedeployrequest — Queue a deploy request
/organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}/deploy
GET
Listdeployrequestreviews — List deploy request reviews
/organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}/reviews
POST
Reviewdeployrequest — Review a deploy request
/organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}/reviews
POST
Skipdeployrequestrevert — Skip revert period
/organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}/skip-revert
POST
Completedeployrequestrevert — Complete a revert
/organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}/complete-revert
GET
Getdeployqueue — Get the deploy queue
/organizations/{organization}/databases/{database}/deploy-queue
GET
Listpasswords — List passwords
/organizations/{organization}/databases/{database}/branches/{branch}/passwords
POST
Createpassword — Create a password
/organizations/{organization}/databases/{database}/branches/{branch}/passwords
GET
Getpassword — Get a password
/organizations/{organization}/databases/{database}/branches/{branch}/passwords/{password_id}
DELETE
Deletepassword — Delete a password
/organizations/{organization}/databases/{database}/branches/{branch}/passwords/{password_id}
POST
Renewpassword — Renew a password
/organizations/{organization}/databases/{database}/branches/{branch}/passwords/{password_id}/renew
GET
Listbackups — List backups
/organizations/{organization}/databases/{database}/branches/{branch}/backups
POST
Createbackup — Create a backup
/organizations/{organization}/databases/{database}/branches/{branch}/backups
GET
Getbackup — Get a backup
/organizations/{organization}/databases/{database}/branches/{branch}/backups/{backup_id}
DELETE
Deletebackup — Delete a backup
/organizations/{organization}/databases/{database}/branches/{branch}/backups/{backup_id}
GET
Listservicetokens — List service tokens
/organizations/{organization}/service-tokens
POST
Createservicetoken — Create a service token
/organizations/{organization}/service-tokens
GET
Getservicetoken — Get a service token
/organizations/{organization}/service-tokens/{service_token_id}
DELETE
Deleteservicetoken — Delete a service token
/organizations/{organization}/service-tokens/{service_token_id}
GET
Listservicetokenaccesses — List service token accesses
/organizations/{organization}/service-tokens/{service_token_id}/accesses
POST
Createservicetokenaccess — Grant service token access
/organizations/{organization}/service-tokens/{service_token_id}/accesses
GET
Listbouncers — List bouncers
/organizations/{organization}/databases/{database}/branches/{branch}/bouncers
POST
Createbouncer — Create a bouncer
/organizations/{organization}/databases/{database}/branches/{branch}/bouncers
GET
Getbouncer — Get a bouncer
/organizations/{organization}/databases/{database}/branches/{branch}/bouncers/{bouncer_name}
DELETE
Deletebouncer — Delete a bouncer
/organizations/{organization}/databases/{database}/branches/{branch}/bouncers/{bouncer_name}
GET
Listclustersizes — List cluster sizes
/organizations/{organization}/cluster-size-skus
POST
Createrole — Create role credentials
/organizations/{organization}/databases/{database}/branches/{branch}/roles
GET
Listiprestrictions — List IP restrictions
/organizations/{organization}/databases/{database}/postgres-cidrs
POST
Createiprestriction — Create an IP restriction entry
/organizations/{organization}/databases/{database}/postgres-cidrs
GET
Getquerypatternsreportstatus — Show the status of a query patterns report
/organizations/{organization}/databases/{database}/branches/{branch}/query-patterns-report
GET
Listwebhooks — List webhooks
/organizations/{organization}/databases/{database}/webhooks
POST
Createwebhook — Create a webhook
/organizations/{organization}/databases/{database}/webhooks
GET
Listinvoices — List invoices
/organizations/{organization}/invoices
GET
Listschemarecommendations — List schema recommendations
/organizations/{organization}/databases/{database}/schema-recommendations

MCP Tools

listorganizations

List organizations

read-only idempotent
getorganization

Get an organization

read-only idempotent
listorganizationmembers

List organization members

read-only idempotent
getorganizationmember

Get an organization member

read-only idempotent
updateorganizationmember

Update an organization member

deleteorganizationmember

Remove an organization member

idempotent
listteams

List teams

read-only idempotent
createteam

Create a team

getteam

Get a team

read-only idempotent
updateteam

Update a team

deleteteam

Delete a team

idempotent
listdatabases

List databases

read-only idempotent
createdatabase

Create a database

getdatabase

Get a database

read-only idempotent
updatedatabasesettings

Update database settings

deletedatabase

Delete a database

idempotent
listbranches

List branches

read-only idempotent
createbranch

Create a branch

getbranch

Get a branch

read-only idempotent
updatebranch

Update a branch

deletebranch

Delete a branch

idempotent
lintbranchschema

Lint a branch schema

read-only idempotent
listdeployrequests

List deploy requests

read-only idempotent
createdeployrequest

Create a deploy request

getdeployrequest

Get a deploy request

read-only idempotent
closedeployrequest

Close a deploy request

queuedeployrequest

Queue a deploy request

listdeployrequestreviews

List deploy request reviews

read-only idempotent
reviewdeployrequest

Review a deploy request

skipdeployrequestrevert

Skip revert period

completedeployrequestrevert

Complete a revert

getdeployqueue

Get the deploy queue

read-only idempotent
listpasswords

List passwords

read-only idempotent
createpassword

Create a password

getpassword

Get a password

read-only idempotent
deletepassword

Delete a password

idempotent
renewpassword

Renew a password

listbackups

List backups

read-only idempotent
createbackup

Create a backup

getbackup

Get a backup

read-only idempotent
deletebackup

Delete a backup

idempotent
listservicetokens

List service tokens

read-only idempotent
createservicetoken

Create a service token

getservicetoken

Get a service token

read-only idempotent
deleteservicetoken

Delete a service token

idempotent
listservicetokenaccesses

List service token accesses

read-only idempotent
createservicetokenaccess

Grant service token access

listbouncers

List bouncers

read-only idempotent
createbouncer

Create a bouncer

getbouncer

Get a bouncer

read-only idempotent
deletebouncer

Delete a bouncer

idempotent
listclustersizes

List cluster sizes

read-only idempotent
createrole

Create role credentials

listiprestrictions

List IP restrictions

read-only idempotent
createiprestriction

Create an IP restriction entry

getquerypatternsreportstatus

Show the status of a query patterns report

read-only idempotent
listwebhooks

List webhooks

read-only idempotent
createwebhook

Create a webhook

listinvoices

List invoices

read-only idempotent
listschemarecommendations

List schema recommendations

read-only idempotent

Capability Spec

planetscale-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: PlanetScale Platform API
  description: The PlanetScale Platform API provides programmatic access to manage PlanetScale serverless MySQL-compatible
    databases. It allows developers to create and manage databases, branches, deploy requests, passwords, backups, service
    tokens, organization members, teams, bouncers, and billing data. The API supports authentication via service tokens and
    OAuth, enabling integration into CI/CD pipelines and infrastructure-as-code workflows.
  tags:
  - Planetscale
  - API
  created: '2026-05-06'
  modified: '2026-05-06'
capability:
  consumes:
  - type: http
    namespace: planetscale
    baseUri: https://api.planetscale.com/v1
    description: PlanetScale Platform API HTTP API.
    authentication:
      type: apikey
      in: header
      name: Authorization
      value: '{{PLANETSCALE_TOKEN}}'
    resources:
    - name: organizations
      path: /organizations
      operations:
      - name: listorganizations
        method: GET
        description: List organizations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization
      path: /organizations/{organization}
      operations:
      - name: getorganization
        method: GET
        description: Get an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-members
      path: /organizations/{organization}/members
      operations:
      - name: listorganizationmembers
        method: GET
        description: List organization members
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-members-member-id
      path: /organizations/{organization}/members/{member_id}
      operations:
      - name: getorganizationmember
        method: GET
        description: Get an organization member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateorganizationmember
        method: PATCH
        description: Update an organization member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteorganizationmember
        method: DELETE
        description: Remove an organization member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-teams
      path: /organizations/{organization}/teams
      operations:
      - name: listteams
        method: GET
        description: List teams
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createteam
        method: POST
        description: Create a team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-teams-team-slug
      path: /organizations/{organization}/teams/{team_slug}
      operations:
      - name: getteam
        method: GET
        description: Get a team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateteam
        method: PATCH
        description: Update a team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteteam
        method: DELETE
        description: Delete a team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases
      path: /organizations/{organization}/databases
      operations:
      - name: listdatabases
        method: GET
        description: List databases
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createdatabase
        method: POST
        description: Create a database
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database
      path: /organizations/{organization}/databases/{database}
      operations:
      - name: getdatabase
        method: GET
        description: Get a database
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatedatabasesettings
        method: PATCH
        description: Update database settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletedatabase
        method: DELETE
        description: Delete a database
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-br
      path: /organizations/{organization}/databases/{database}/branches
      operations:
      - name: listbranches
        method: GET
        description: List branches
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createbranch
        method: POST
        description: Create a branch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-br
      path: /organizations/{organization}/databases/{database}/branches/{branch}
      operations:
      - name: getbranch
        method: GET
        description: Get a branch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatebranch
        method: PATCH
        description: Update a branch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletebranch
        method: DELETE
        description: Delete a branch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-br
      path: /organizations/{organization}/databases/{database}/branches/{branch}/schema-lint
      operations:
      - name: lintbranchschema
        method: GET
        description: Lint a branch schema
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-de
      path: /organizations/{organization}/databases/{database}/deploy-requests
      operations:
      - name: listdeployrequests
        method: GET
        description: List deploy requests
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createdeployrequest
        method: POST
        description: Create a deploy request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-de
      path: /organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}
      operations:
      - name: getdeployrequest
        method: GET
        description: Get a deploy request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: closedeployrequest
        method: PATCH
        description: Close a deploy request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-de
      path: /organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}/deploy
      operations:
      - name: queuedeployrequest
        method: POST
        description: Queue a deploy request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-de
      path: /organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}/reviews
      operations:
      - name: listdeployrequestreviews
        method: GET
        description: List deploy request reviews
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reviewdeployrequest
        method: POST
        description: Review a deploy request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-de
      path: /organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}/skip-revert
      operations:
      - name: skipdeployrequestrevert
        method: POST
        description: Skip revert period
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-de
      path: /organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}/complete-revert
      operations:
      - name: completedeployrequestrevert
        method: POST
        description: Complete a revert
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-de
      path: /organizations/{organization}/databases/{database}/deploy-queue
      operations:
      - name: getdeployqueue
        method: GET
        description: Get the deploy queue
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-br
      path: /organizations/{organization}/databases/{database}/branches/{branch}/passwords
      operations:
      - name: listpasswords
        method: GET
        description: List passwords
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createpassword
        method: POST
        description: Create a password
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-br
      path: /organizations/{organization}/databases/{database}/branches/{branch}/passwords/{password_id}
      operations:
      - name: getpassword
        method: GET
        description: Get a password
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletepassword
        method: DELETE
        description: Delete a password
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-br
      path: /organizations/{organization}/databases/{database}/branches/{branch}/passwords/{password_id}/renew
      operations:
      - name: renewpassword
        method: POST
        description: Renew a password
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-br
      path: /organizations/{organization}/databases/{database}/branches/{branch}/backups
      operations:
      - name: listbackups
        method: GET
        description: List backups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createbackup
        method: POST
        description: Create a backup
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-br
      path: /organizations/{organization}/databases/{database}/branches/{branch}/backups/{backup_id}
      operations:
      - name: getbackup
        method: GET
        description: Get a backup
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletebackup
        method: DELETE
        description: Delete a backup
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-service-tokens
      path: /organizations/{organization}/service-tokens
      operations:
      - name: listservicetokens
        method: GET
        description: List service tokens
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createservicetoken
        method: POST
        description: Create a service token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-service-tokens-servic
      path: /organizations/{organization}/service-tokens/{service_token_id}
      operations:
      - name: getservicetoken
        method: GET
        description: Get a service token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteservicetoken
        method: DELETE
        description: Delete a service token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-service-tokens-servic
      path: /organizations/{organization}/service-tokens/{service_token_id}/accesses
      operations:
      - name: listservicetokenaccesses
        method: GET
        description: List service token accesses
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createservicetokenaccess
        method: POST
        description: Grant service token access
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-br
      path: /organizations/{organization}/databases/{database}/branches/{branch}/bouncers
      operations:
      - name: listbouncers
        method: GET
        description: List bouncers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createbouncer
        method: POST
        description: Create a bouncer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-br
      path: /organizations/{organization}/databases/{database}/branches/{branch}/bouncers/{bouncer_name}
      operations:
      - name: getbouncer
        method: GET
        description: Get a bouncer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletebouncer
        method: DELETE
        description: Delete a bouncer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-cluster-size-skus
      path: /organizations/{organization}/cluster-size-skus
      operations:
      - name: listclustersizes
        method: GET
        description: List cluster sizes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-br
      path: /organizations/{organization}/databases/{database}/branches/{branch}/roles
      operations:
      - name: createrole
        method: POST
        description: Create role credentials
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-po
      path: /organizations/{organization}/databases/{database}/postgres-cidrs
      operations:
      - name: listiprestrictions
        method: GET
        description: List IP restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createiprestriction
        method: POST
        description: Create an IP restriction entry
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-br
      path: /organizations/{organization}/databases/{database}/branches/{branch}/query-patterns-report
      operations:
      - name: getquerypatternsreportstatus
        method: GET
        description: Show the status of a query patterns report
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-we
      path: /organizations/{organization}/databases/{database}/webhooks
      operations:
      - name: listwebhooks
        method: GET
        description: List webhooks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createwebhook
        method: POST
        description: Create a webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-invoices
      path: /organizations/{organization}/invoices
      operations:
      - name: listinvoices
        method: GET
        description: List invoices
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization-databases-database-sc
      path: /organizations/{organization}/databases/{database}/schema-recommendations
      operations:
      - name: listschemarecommendations
        method: GET
        description: List schema recommendations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    port: 8080
    namespace: planetscale-rest
    description: REST adapter for PlanetScale Platform API.
    resources:
    - path: /organizations
      name: listorganizations
      operations:
      - method: GET
        name: listorganizations
        description: List organizations
        call: planetscale.listorganizations
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}
      name: getorganization
      operations:
      - method: GET
        name: getorganization
        description: Get an organization
        call: planetscale.getorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/members
      name: listorganizationmembers
      operations:
      - method: GET
        name: listorganizationmembers
        description: List organization members
        call: planetscale.listorganizationmembers
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/members/{member_id}
      name: getorganizationmember
      operations:
      - method: GET
        name: getorganizationmember
        description: Get an organization member
        call: planetscale.getorganizationmember
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/members/{member_id}
      name: updateorganizationmember
      operations:
      - method: PATCH
        name: updateorganizationmember
        description: Update an organization member
        call: planetscale.updateorganizationmember
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/members/{member_id}
      name: deleteorganizationmember
      operations:
      - method: DELETE
        name: deleteorganizationmember
        description: Remove an organization member
        call: planetscale.deleteorganizationmember
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/teams
      name: listteams
      operations:
      - method: GET
        name: listteams
        description: List teams
        call: planetscale.listteams
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/teams
      name: createteam
      operations:
      - method: POST
        name: createteam
        description: Create a team
        call: planetscale.createteam
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/teams/{team_slug}
      name: getteam
      operations:
      - method: GET
        name: getteam
        description: Get a team
        call: planetscale.getteam
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/teams/{team_slug}
      name: updateteam
      operations:
      - method: PATCH
        name: updateteam
        description: Update a team
        call: planetscale.updateteam
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/teams/{team_slug}
      name: deleteteam
      operations:
      - method: DELETE
        name: deleteteam
        description: Delete a team
        call: planetscale.deleteteam
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases
      name: listdatabases
      operations:
      - method: GET
        name: listdatabases
        description: List databases
        call: planetscale.listdatabases
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases
      name: createdatabase
      operations:
      - method: POST
        name: createdatabase
        description: Create a database
        call: planetscale.createdatabase
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}
      name: getdatabase
      operations:
      - method: GET
        name: getdatabase
        description: Get a database
        call: planetscale.getdatabase
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}
      name: updatedatabasesettings
      operations:
      - method: PATCH
        name: updatedatabasesettings
        description: Update database settings
        call: planetscale.updatedatabasesettings
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}
      name: deletedatabase
      operations:
      - method: DELETE
        name: deletedatabase
        description: Delete a database
        call: planetscale.deletedatabase
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/branches
      name: listbranches
      operations:
      - method: GET
        name: listbranches
        description: List branches
        call: planetscale.listbranches
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/branches
      name: createbranch
      operations:
      - method: POST
        name: createbranch
        description: Create a branch
        call: planetscale.createbranch
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/branches/{branch}
      name: getbranch
      operations:
      - method: GET
        name: getbranch
        description: Get a branch
        call: planetscale.getbranch
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/branches/{branch}
      name: updatebranch
      operations:
      - method: PATCH
        name: updatebranch
        description: Update a branch
        call: planetscale.updatebranch
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/branches/{branch}
      name: deletebranch
      operations:
      - method: DELETE
        name: deletebranch
        description: Delete a branch
        call: planetscale.deletebranch
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/branches/{branch}/schema-lint
      name: lintbranchschema
      operations:
      - method: GET
        name: lintbranchschema
        description: Lint a branch schema
        call: planetscale.lintbranchschema
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/deploy-requests
      name: listdeployrequests
      operations:
      - method: GET
        name: listdeployrequests
        description: List deploy requests
        call: planetscale.listdeployrequests
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/deploy-requests
      name: createdeployrequest
      operations:
      - method: POST
        name: createdeployrequest
        description: Create a deploy request
        call: planetscale.createdeployrequest
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}
      name: getdeployrequest
      operations:
      - method: GET
        name: getdeployrequest
        description: Get a deploy request
        call: planetscale.getdeployrequest
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}
      name: closedeployrequest
      operations:
      - method: PATCH
        name: closedeployrequest
        description: Close a deploy request
        call: planetscale.closedeployrequest
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}/deploy
      name: queuedeployrequest
      operations:
      - method: POST
        name: queuedeployrequest
        description: Queue a deploy request
        call: planetscale.queuedeployrequest
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}/reviews
      name: listdeployrequestreviews
      operations:
      - method: GET
        name: listdeployrequestreviews
        description: List deploy request reviews
        call: planetscale.listdeployrequestreviews
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}/reviews
      name: reviewdeployrequest
      operations:
      - method: POST
        name: reviewdeployrequest
        description: Review a deploy request
        call: planetscale.reviewdeployrequest
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}/skip-revert
      name: skipdeployrequestrevert
      operations:
      - method: POST
        name: skipdeployrequestrevert
        description: Skip revert period
        call: planetscale.skipdeployrequestrevert
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/deploy-requests/{deploy_request_number}/complete-revert
      name: completedeployrequestrevert
      operations:
      - method: POST
        name: completedeployrequestrevert
        description: Complete a revert
        call: planetscale.completedeployrequestrevert
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/deploy-queue
      name: getdeployqueue
      operations:
      - method: GET
        name: getdeployqueue
        description: Get the deploy queue
        call: planetscale.getdeployqueue
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/branches/{branch}/passwords
      name: listpasswords
      operations:
      - method: GET
        name: listpasswords
        description: List passwords
        call: planetscale.listpasswords
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/branches/{branch}/passwords
      name: createpassword
      operations:
      - method: POST
        name: createpassword
        description: Create a password
        call: planetscale.createpassword
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/branches/{branch}/passwords/{password_id}
      name: getpassword
      operations:
      - method: GET
        name: getpassword
        description: Get a password
        call: planetscale.getpassword
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/branches/{branch}/passwords/{password_id}
      name: deletepassword
      operations:
      - method: DELETE
        name: deletepassword
        description: Delete a password
        call: planetscale.deletepassword
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/branches/{branch}/passwords/{password_id}/renew
      name: renewpassword
      operations:
      - method: POST
        name: renewpassword
        description: Renew a password
        call: planetscale.renewpassword
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/branches/{branch}/backups
      name: listbackups
      operations:
      - method: GET
        name: listbackups
        description: List backups
        call: planetscale.listbackups
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/branches/{branch}/backups
      name: createbackup
      operations:
      - method: POST
        name: createbackup
        description: Create a backup
        call: planetscale.createbackup
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/branches/{branch}/backups/{backup_id}
      name: getbackup
      operations:
      - method: GET
        name: getbackup
        description: Get a backup
        call: planetscale.getbackup
        outputParameters:
        - type: object
          mapping: $.
    - path: /organizations/{organization}/databases/{database}/branches/{branch}/backups/{backup_id}
      name: deletebackup
      operations:
      - method: DELETE
        name: deletebackup
        description: Delete a backup
        call: planetscale.deletebackup
   

# --- truncated at 32 KB (53 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/planetscale/refs/heads/main/capabilities/planetscale-capability.yaml