MyScale website screenshot

MyScale

MyScale is a SQL vector database built on a ClickHouse fork (MyScaleDB), combining high-performance vector search, full-text search, and analytical SQL in a single engine. Its primary interface is SQL executed over the ClickHouse-compatible HTTP interface (HTTPS on port 8443), where vector similarity search is expressed with SQL functions like distance() against VECTOR INDEX columns. A managed MyScale Cloud console provisions clusters, and the underlying MyScaleDB is open source under Apache-2.0.

4 APIs 0 Features
Vector DatabaseSQLClickHouseVector SearchFull-Text SearchRAG

APIs

MyScale SQL Interface (ClickHouse HTTP)

MyScale's primary interface is SQL executed over the ClickHouse-compatible HTTP interface (HTTPS, port 8443). Clients POST a SQL statement in the request body (SELECT, INSERT, C...

MyScale Vector Search (SQL)

Vector similarity search is expressed in SQL, not a separate REST surface. Tables declare a VECTOR INDEX over an Array(Float32) column (for example TYPE HNSWFLAT with metric_typ...

MyScale Python SDK (clickhouse-connect)

The recommended Python access path is the clickhouse-connect client, which wraps the ClickHouse HTTP interface (host, port 8443, username, password). It executes the same SQL ov...

MyScale Cloud / Cluster Management

MyScale Cloud provisions and manages clusters (create, modify name / size / replicas / idle period, reset password, view status) through the web console at the MyScale Cloud sit...

Collections

Pricing Plans

Myscale Plans Pricing

4 plans

PLANS

Rate Limits

Myscale Rate Limits

4 limits

RATE LIMITS

FinOps

Resources

👥
GitHubOrganization
GitHubOrganization
🔗
LinkedIn
LinkedIn
🔗
Website
Website
🔗
Documentation
Documentation
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: MyScale SQL (ClickHouse HTTP) Interface
  version: '1.0'
request:
  auth:
    type: basic
    username: '{{username}}'
    password: '{{password}}'
items:
- info:
    name: Query
    type: folder
  items:
  - info:
      name: Ping / health check
      type: http
    http:
      method: GET
      url: https://{{clusterHost}}:8443/
    docs: GET the root of the HTTP interface; returns 'Ok.' when the cluster is reachable.
  - info:
      name: Create table with vector index
      type: http
    http:
      method: POST
      url: https://{{clusterHost}}:8443/
      body:
        type: text
        data: "CREATE TABLE IF NOT EXISTS default.articles\n(\n    id UInt64,\n    title String,\n    content_vector Array(Float32),\n\
          \    CONSTRAINT cons_vec_len CHECK length(content_vector) = 768,\n    VECTOR INDEX article_idx content_vector TYPE\
          \ HNSWFLAT('metric_type=Cosine')\n)\nENGINE = MergeTree ORDER BY id"
    docs: Execute DDL over the ClickHouse HTTP interface to create a table with a VECTOR INDEX.
  - info:
      name: Insert rows
      type: http
    http:
      method: POST
      url: https://{{clusterHost}}:8443/?query=INSERT%20INTO%20default.articles%20FORMAT%20JSONEachRow
      body:
        type: text
        data: '{"id": 1, "title": "example", "content_vector": [0.1, 0.2, 0.3]}'
    docs: Insert data by sending an INSERT ... FORMAT statement; the rows go in the request body.
  - info:
      name: Vector similarity search (distance)
      type: http
    http:
      method: POST
      url: https://{{clusterHost}}:8443/?default_format=JSON
      body:
        type: text
        data: 'SELECT id, title, distance(content_vector, [0.1, 0.2, 0.3]) AS dist

          FROM default.articles

          ORDER BY dist ASC

          LIMIT 10'
    docs: Run a vector similarity search in SQL using the distance() function ordered by distance.