Cockroach Labs · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for CockroachDB Cloud Service Accounts API

9 actions 9 updates phrasing extends openapi/cockroach-labs-service-accounts-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Cockroach Labs's API. It is a proposal applied on top of the contract, not a document Cockroach Labs publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 9

$.info
$.paths['/api/v1/service-accounts'].get
$.paths['/api/v1/service-accounts'].post
$.paths['/api/v1/service-accounts/{id}'].get
$.paths['/api/v1/service-accounts/{id}'].delete
$.paths['/api/v1/service-accounts/{id}'].patch
$.paths['/api/v1/service-accounts/{service_account_id}/credentials'].get
$.paths['/api/v1/service-accounts/{service_account_id}/credentials'].post
$.paths['/api/v1/service-accounts/{service_account_id}/credentials/{credential_id}'].delete

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 CockroachDB Cloud Service Accounts API
  version: 1.0.0
extends: openapi/cockroach-labs-service-accounts-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-24'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 8
- target: $.paths['/api/v1/service-accounts'].get
  update:
    x-apievangelist-phrasing:
      intent: List service accounts in an organization
      effect: read
      questions:
      - Which service accounts exist in my CockroachDB Cloud organization?
      - Can I filter service accounts by name or roles?
      instructions:
      - text: List service accounts named {service_account_name}.
        slots:
          service_account_name: query.service_account_name
      - text: Show service accounts with roles {roles}.
        slots:
          roles: query.roles
      method: generated
      generated: '2026-11-24'
- target: $.paths['/api/v1/service-accounts'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a service account
      effect: write
      questions:
      - How do I create a service account for an automation script?
      - What roles do I need to create a service account?
      instructions:
      - text: Create service account {name} with roles {roles} described as {description}.
        slots:
          name: requestBody.name
          roles: requestBody.roles
          description: requestBody.description
      - text: Add a new service account {name} for my CI/CD pipelines.
        slots:
          name: requestBody.name
      method: generated
      generated: '2026-11-24'
- target: $.paths['/api/v1/service-accounts/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a service account
      effect: read
      questions:
      - What roles does a particular service account hold?
      - Can I look up one service account by ID?
      instructions:
      - text: Get service account {id}.
        slots:
          id: path.id
      - text: Show the roles assigned to service account {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/api/v1/service-accounts/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a service account
      effect: destructive
      questions:
      - How do I remove a service account I no longer use?
      - Can I delete a service account from my organization?
      instructions:
      - text: Delete service account {id}.
        slots:
          id: path.id
      - text: Remove the unused service account {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/api/v1/service-accounts/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Rename or redescribe a service account
      effect: write
      questions:
      - Can I rename a service account?
      - Is it possible to change a service account's description?
      instructions:
      - text: Rename service account {id} to {name}.
        slots:
          id: path.id
          name: requestBody.name
      - text: Update the description of service account {id} to {description}.
        slots:
          id: path.id
          description: requestBody.description
      method: generated
      generated: '2026-11-24'
- target: $.paths['/api/v1/service-accounts/{service_account_id}/credentials'].get
  update:
    x-apievangelist-phrasing:
      intent: List OAuth credentials for a service account
      effect: read
      questions:
      - Which OAuth credentials exist for a service account?
      - Can I see only active credentials for a service account?
      instructions:
      - text: List credentials for service account {service_account_id}.
        slots:
          service_account_id: path.service_account_id
      - text: Show {status_filter} credentials of service account {service_account_id}.
        slots:
          status_filter: query.status_filter
          service_account_id: path.service_account_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/api/v1/service-accounts/{service_account_id}/credentials'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an OAuth credential for a service account
      effect: write
      questions:
      - How do I issue an OAuth credential for a service account?
      - Can I choose the key algorithm and expiry for a service account credential?
      instructions:
      - text: Create credential {name} for service account {service_account_id} using {algorithm} expiring {expires_at}.
        slots:
          name: requestBody.name
          service_account_id: path.service_account_id
          algorithm: requestBody.algorithm
          expires_at: requestBody.expires_at
      - text: Issue a new credential {name} for service account {service_account_id} with public key {public_key}.
        slots:
          name: requestBody.name
          service_account_id: path.service_account_id
          public_key: requestBody.public_key
      method: generated
      generated: '2026-11-24'
- target: $.paths['/api/v1/service-accounts/{service_account_id}/credentials/{credential_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a service account's OAuth credential
      effect: destructive
      questions:
      - How do I revoke an OAuth credential from a service account?
      - Can I delete one credential without touching the rest?
      instructions:
      - text: Delete credential {credential_id} from service account {service_account_id}.
        slots:
          credential_id: path.credential_id
          service_account_id: path.service_account_id
      - text: Revoke the OAuth credential {credential_id} of service account {service_account_id}.
        slots:
          credential_id: path.credential_id
          service_account_id: path.service_account_id
      method: generated
      generated: '2026-11-24'

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/cockroach-labs-service-accounts-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.