Cockroach Labs · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for CockroachDB Cloud Egress Rules API

7 actions 7 updates phrasing extends openapi/cockroach-labs-egress-rules-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 7

$.info
$.paths['/api/v1/clusters/{cluster_id}/networking/egress-rules'].get
$.paths['/api/v1/clusters/{cluster_id}/networking/egress-rules'].post
$.paths['/api/v1/clusters/{cluster_id}/networking/egress-rules/egress-traffic-policy'].post
$.paths['/api/v1/clusters/{cluster_id}/networking/egress-rules/{rule_id}'].get
$.paths['/api/v1/clusters/{cluster_id}/networking/egress-rules/{rule_id}'].delete
$.paths['/api/v1/clusters/{cluster_id}/networking/egress-rules/{rule_id}'].patch

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 Egress Rules API
  version: 1.0.0
extends: openapi/cockroach-labs-egress-rules-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: 6
- target: $.paths['/api/v1/clusters/{cluster_id}/networking/egress-rules'].get
  update:
    x-apievangelist-phrasing:
      intent: List a cluster's egress rules
      effect: read
      questions:
      - Which IP ranges or domains can my cluster egress to?
      - Can I sort egress rules by name?
      instructions:
      - text: List egress rules for cluster {cluster_id}.
        slots:
          cluster_id: path.cluster_id
      - text: Show {limit} egress rules on cluster {cluster_id}, sorted {sort_order}.
        slots:
          limit: query.pagination.limit
          cluster_id: path.cluster_id
          sort_order: query.pagination.sort_order
      method: generated
      generated: '2026-11-24'
- target: $.paths['/api/v1/clusters/{cluster_id}/networking/egress-rules'].post
  update:
    x-apievangelist-phrasing:
      intent: Add an egress rule
      effect: write
      questions:
      - How do I allow my cluster to reach a specific IP range or domain?
      - Can I restrict an egress rule to certain ports?
      instructions:
      - text: Add egress rule {name} to cluster {cluster_id} allowing traffic to {destination} of type {type}.
        slots:
          name: requestBody.name
          cluster_id: path.cluster_id
          destination: requestBody.destination
          type: requestBody.type
      - text: Allow cluster {cluster_id} to reach {destination} on ports {ports} named {name}, type {type}.
        slots:
          cluster_id: path.cluster_id
          destination: requestBody.destination
          ports: requestBody.ports
          name: requestBody.name
          type: requestBody.type
      method: generated
      generated: '2026-11-24'
- target: $.paths['/api/v1/clusters/{cluster_id}/networking/egress-rules/egress-traffic-policy'].post
  update:
    x-apievangelist-phrasing:
      intent: Allow or deny all egress traffic
      effect: write
      questions:
      - Can I open all outbound traffic for a cluster?
      - Is there a way to default-deny egress and manage it with rules?
      instructions:
      - text: 'Set egress traffic on cluster {cluster_id} to allow all: {allow_all}.'
        slots:
          cluster_id: path.cluster_id
          allow_all: requestBody.allow_all
      - text: Make cluster {cluster_id} default-deny egress by setting allow_all to {allow_all}.
        slots:
          cluster_id: path.cluster_id
          allow_all: requestBody.allow_all
      method: generated
      generated: '2026-11-24'
- target: $.paths['/api/v1/clusters/{cluster_id}/networking/egress-rules/{rule_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an egress rule
      effect: read
      questions:
      - What destination and ports does one egress rule allow?
      - Can I look up a single egress rule by ID?
      instructions:
      - text: Get egress rule {rule_id} on cluster {cluster_id}.
        slots:
          rule_id: path.rule_id
          cluster_id: path.cluster_id
      - text: Show the destination and ports of rule {rule_id} in cluster {cluster_id}.
        slots:
          rule_id: path.rule_id
          cluster_id: path.cluster_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/api/v1/clusters/{cluster_id}/networking/egress-rules/{rule_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an egress rule
      effect: destructive
      questions:
      - How do I remove an egress rule from a cluster?
      - Can I delete an egress rule by its ID?
      instructions:
      - text: Delete egress rule {rule_id} from cluster {cluster_id}.
        slots:
          rule_id: path.rule_id
          cluster_id: path.cluster_id
      - text: Remove rule {rule_id} on cluster {cluster_id} using idempotency key {idempotency_key}.
        slots:
          rule_id: path.rule_id
          cluster_id: path.cluster_id
          idempotency_key: query.idempotency_key
      method: generated
      generated: '2026-11-24'
- target: $.paths['/api/v1/clusters/{cluster_id}/networking/egress-rules/{rule_id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Edit an egress rule
      effect: write
      questions:
      - Can I change the destination of an existing egress rule?
      - Is it possible to add ports to an egress rule I already have?
      instructions:
      - text: Change egress rule {rule_id} on cluster {cluster_id} to allow {destination} on ports {ports}.
        slots:
          rule_id: path.rule_id
          cluster_id: path.cluster_id
          destination: requestBody.destination
          ports: requestBody.ports
      - text: Update rule {rule_id} in cluster {cluster_id} to type {type} with description {description}.
        slots:
          rule_id: path.rule_id
          cluster_id: path.cluster_id
          type: requestBody.type
          description: requestBody.description
      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-egress-rules-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.