WaveHouse Cloud · Schema

ExternalClickHouseSwitchInput

CloudAnalyticsClickHouseManaged ServiceReal-Time

Properties

Name Type Description
addr string host:port of the native protocol; switch-clickhouse changes it
confirm_mode_change string the transition this switch makes; required unless validate_only, and a missing or different one is refused with what the switch would do to the data
database string the database the engine reads and writes; it must already exist; switch-clickhouse changes it
header_names array the names of the headers set, sorted; their values are never returned
headers object HTTP headers sent with every request to it, such as a proxy's credential; Authorization and X-ClickHouse-User/Key are refused, since username and password are the credential. Write-only, every value:
headers_set_at string
http_port integer the HTTP interface's port
http_scheme string the HTTP interface's scheme
managed_data_deleted_after string while the WaveHouse-managed database this project left is still kept: when it is deleted; switching back before then serves it again
max_idle_conns integer the most idle connections it keeps; at most max_open_conns
max_open_conns integer the most connections the engine holds open to ClickHouse
mode string external: the project reads and writes a ClickHouse you run
password string write-only; omitted leaves it unchanged
password_set boolean
password_set_at string
query_timeout integer seconds a query may run
revision integer the settings revision this resource last changed in
tls object
username string a user that holds the required grants on that database
View JSON Schema on GitHub

JSON Schema

wavehouse-cloud-external-click-house-switch-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wavehouse-cloud/json-schema/wavehouse-cloud-external-click-house-switch-input-schema.json",
  "title": "ExternalClickHouseSwitchInput",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wavehouse-cloud-openapi.json#/components/schemas/ExternalClickHouseSwitchInput",
  "additionalProperties": false,
  "properties": {
    "addr": {
      "description": "host:port of the native protocol; switch-clickhouse changes it",
      "minLength": 1,
      "type": "string"
    },
    "confirm_mode_change": {
      "description": "the transition this switch makes; required unless validate_only, and a missing or different one is refused with what the switch would do to the data",
      "enum": [
        "managed_to_external",
        "external_to_managed",
        "external_to_external"
      ],
      "type": "string"
    },
    "database": {
      "description": "the database the engine reads and writes; it must already exist; switch-clickhouse changes it",
      "minLength": 1,
      "type": "string"
    },
    "header_names": {
      "description": "the names of the headers set, sorted; their values are never returned",
      "items": {
        "type": "string"
      },
      "readOnly": true,
      "type": "array"
    },
    "headers": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "HTTP headers sent with every request to it, such as a proxy's credential; Authorization and X-ClickHouse-User/Key are refused, since username and password are the credential. Write-only, every value: omitted leaves them unchanged, {} clears them, and any other set replaces them",
      "type": "object",
      "writeOnly": true
    },
    "headers_set_at": {
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "http_port": {
      "description": "the HTTP interface's port",
      "format": "int64",
      "maximum": 65535,
      "minimum": 1,
      "type": "integer"
    },
    "http_scheme": {
      "description": "the HTTP interface's scheme",
      "enum": [
        "http",
        "https"
      ],
      "type": "string"
    },
    "managed_data_deleted_after": {
      "description": "while the WaveHouse-managed database this project left is still kept: when it is deleted; switching back before then serves it again",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "max_idle_conns": {
      "description": "the most idle connections it keeps; at most max_open_conns",
      "format": "int64",
      "type": "integer"
    },
    "max_open_conns": {
      "description": "the most connections the engine holds open to ClickHouse",
      "format": "int64",
      "type": "integer"
    },
    "mode": {
      "description": "external: the project reads and writes a ClickHouse you run",
      "enum": [
        "external"
      ],
      "type": "string"
    },
    "password": {
      "description": "write-only; omitted leaves it unchanged",
      "type": "string",
      "writeOnly": true
    },
    "password_set": {
      "readOnly": true,
      "type": "boolean"
    },
    "password_set_at": {
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "query_timeout": {
      "description": "seconds a query may run",
      "format": "int64",
      "type": "integer"
    },
    "revision": {
      "description": "the settings revision this resource last changed in",
      "format": "int64",
      "readOnly": true,
      "type": "integer"
    },
    "tls": {
      "$ref": "#/$defs/ClickHouseTLSView"
    },
    "username": {
      "description": "a user that holds the required grants on that database",
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "mode",
    "addr",
    "http_port",
    "http_scheme",
    "database",
    "username",
    "tls",
    "query_timeout",
    "max_open_conns",
    "max_idle_conns",
    "revision"
  ],
  "type": "object",
  "$defs": {
    "ClickHouseTLSView": {
      "additionalProperties": false,
      "properties": {
        "ca_pem": {
          "description": "not supported yet: the system CA store verifies the server",
          "type": "string"
        },
        "cert_pem": {
          "description": "not supported yet",
          "type": "string"
        },
        "enabled": {
          "description": "speak TLS on the native protocol",
          "type": "boolean"
        },
        "insecure_skip_verify": {
          "description": "skip verifying the server's certificate",
          "type": "boolean"
        },
        "key_pem": {
          "description": "not supported yet; write-only",
          "type": "string",
          "writeOnly": true
        },
        "key_pem_set": {
          "readOnly": true,
          "type": "boolean"
        },
        "key_pem_set_at": {
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "server_name": {
          "description": "the name the server's certificate is verified against; empty is addr's host",
          "type": "string"
        }
      },
      "required": [
        "enabled"
      ],
      "type": "object"
    }
  }
}

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/wavehouse-cloud-external-click-house-switch-input"
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.