Planetscale · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PlanetScale Platform Service Tokens API

7 actions 7 updates phrasing extends openapi/planetscale-service-tokens-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Planetscale's API. It is a proposal applied on top of the contract, not a document Planetscale publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/organizations/{organization}/service-tokens'].get
$.paths['/organizations/{organization}/service-tokens'].post
$.paths['/organizations/{organization}/service-tokens/{service_token_id}'].get
$.paths['/organizations/{organization}/service-tokens/{service_token_id}'].delete
$.paths['/organizations/{organization}/service-tokens/{service_token_id}/accesses'].get
$.paths['/organizations/{organization}/service-tokens/{service_token_id}/accesses'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for PlanetScale Platform Service Tokens API
  version: 1.0.0
extends: openapi/planetscale-service-tokens-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-21'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/organizations/{organization}/service-tokens'].get
  update:
    x-apievangelist-phrasing:
      intent: List service tokens
      effect: read
      questions:
      - Which service tokens exist in my organization?
      - Can I see all API tokens created for my PlanetScale account?
      instructions:
      - text: List service tokens in organization {organization}.
        slots:
          organization: path.organization
      - text: Show every API token created for {organization}.
        slots:
          organization: path.organization
      method: generated
      generated: '2026-11-21'
- target: $.paths['/organizations/{organization}/service-tokens'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a service token
      effect: write
      questions:
      - How do I generate a new API token for my organization?
      - Is the token value returned again after I create it?
      instructions:
      - text: Create a service token named {name} in {organization}.
        slots:
          name: requestBody.name
          organization: path.organization
      - text: Generate a new API token for organization {organization}.
        slots:
          organization: path.organization
      method: generated
      generated: '2026-11-21'
- target: $.paths['/organizations/{organization}/service-tokens/{service_token_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a service token
      effect: read
      questions:
      - What permissions does a particular service token have?
      - Where can I view the details of one API token?
      instructions:
      - text: Show service token {service_token_id} in {organization}.
        slots:
          service_token_id: path.service_token_id
          organization: path.organization
      - text: Get the details of API token {service_token_id} for {organization}.
        slots:
          service_token_id: path.service_token_id
          organization: path.organization
      method: generated
      generated: '2026-11-21'
- target: $.paths['/organizations/{organization}/service-tokens/{service_token_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Revoke a service token
      effect: destructive
      questions:
      - How do I revoke an API token that leaked?
      - What happens to API access when a service token is deleted?
      instructions:
      - text: Delete service token {service_token_id} from {organization}.
        slots:
          service_token_id: path.service_token_id
          organization: path.organization
      - text: Revoke API token {service_token_id} in {organization}.
        slots:
          service_token_id: path.service_token_id
          organization: path.organization
      method: generated
      generated: '2026-11-21'
- target: $.paths['/organizations/{organization}/service-tokens/{service_token_id}/accesses'].get
  update:
    x-apievangelist-phrasing:
      intent: List a service token's access grants
      effect: read
      questions:
      - Which databases can a service token access?
      - What access grants exist for a given API token?
      instructions:
      - text: List access grants for service token {service_token_id} in {organization}.
        slots:
          service_token_id: path.service_token_id
          organization: path.organization
      - text: Show which databases token {service_token_id} is allowed to access.
        slots:
          service_token_id: path.service_token_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/organizations/{organization}/service-tokens/{service_token_id}/accesses'].post
  update:
    x-apievangelist-phrasing:
      intent: Grant a service token access to a database
      effect: write
      questions:
      - How do I let an API token access a specific database?
      - Can I scope a service token's access to one database?
      instructions:
      - text: Grant service token {service_token_id} in {organization} access {access}.
        slots:
          service_token_id: path.service_token_id
          organization: path.organization
          access: requestBody.access
      - text: Scope token {service_token_id} to database {database} with permission {access}.
        slots:
          service_token_id: path.service_token_id
          database: requestBody.database
          access: requestBody.access
      method: generated
      generated: '2026-11-21'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/planetscale-service-tokens-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.