ClickHouse Ping API

The Ping API from ClickHouse — 1 operation(s) for ping.

OpenAPI Specification

clickhouse-ping-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: ClickHouse HTTP Interface Ping API
  description: 'ClickHouse HTTP interface for executing SQL queries, inserting data, and

    monitoring server health. Authentication is performed with HTTP Basic, URL

    parameters, or the X-ClickHouse-User / X-ClickHouse-Key headers.

    '
  version: 1.0.0
servers:
- url: http://localhost:8123
  description: Default local ClickHouse HTTP listener
security:
- basicAuth: []
tags:
- name: Ping
paths:
  /ping:
    get:
      summary: Ping the server
      description: Returns "Ok." when the server is healthy.
      security: []
      responses:
        '200':
          description: Server is healthy
          content:
            text/plain:
              schema:
                type: string
      tags:
      - Ping
components:
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
    clickhouseHeaders:
      type: apiKey
      in: header
      name: X-ClickHouse-User