Cockroach Labs · Schema

AddEgressRuleRequest

Cluster ManagementCloudDatabaseDistributed SQLInfrastructurePostgreSQL CompatibleSQL

Properties

Name Type Description
description string description is text that serves to document the rules purpose.
destination string destination is the endpoint (or subnetwork if CIDR) to which traffic is allowed.
idempotency_key string idempotency_key uniquely identifies this request. If not set, it will be set by the server.
name string name is the name of the egress rule.
paths array Deprecated: This field is ignored and will be removed in the next version. paths are the allowed URL paths. If empty, all paths are allowed. Only valid if Type="FQDN".
ports array ports are the allowed ports for TCP protocol. If Empty, all ports are allowed.
type string type classifies the Destination field. Valid types include: "FQDN", "CIDR".
View JSON Schema on GitHub

JSON Schema

cockroach-labs-add-egress-rule-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cockroach-labs/json-schema/cockroach-labs-add-egress-rule-body-schema.json",
  "title": "AddEgressRuleRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cockroach-labs-egress-rules-api-openapi.yml#/components/schemas/AddEgressRuleBody",
  "type": "object",
  "properties": {
    "description": {
      "description": "description is text that serves to document the rules purpose.",
      "type": "string"
    },
    "destination": {
      "description": "destination is the endpoint (or subnetwork if CIDR) to which traffic is\nallowed.",
      "type": "string"
    },
    "idempotency_key": {
      "description": "idempotency_key uniquely identifies this request. If not set, it will be\nset by the server.",
      "type": "string"
    },
    "name": {
      "description": "name is the name of the egress rule.",
      "type": "string"
    },
    "paths": {
      "description": "Deprecated: This field is ignored and will be removed in the next version.\npaths are the allowed URL paths. If empty, all paths are allowed. Only\nvalid if Type=\"FQDN\".",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "ports": {
      "description": "ports are the allowed ports for TCP protocol. If Empty, all ports are\nallowed.",
      "type": "array",
      "items": {
        "format": "int32",
        "type": "integer"
      }
    },
    "type": {
      "description": "type classifies the Destination field. Valid types include: \"FQDN\",\n\"CIDR\".",
      "type": "string"
    }
  },
  "required": [
    "name",
    "type",
    "destination",
    "description"
  ]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/cockroach-labs-add-egress-rule-body"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.