Skip to main content
Every clickhouse.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Play

get

play.get Fetch the ClickHouse Play web UI HTML (Monaco editor + query UI). Risk: read
Input: empty object Output

Query

execute

query.execute Execute a SQL query against the tenant ClickHouse instance and return the result rows. Arbitrary SQL is accepted — destructive statements require explicit permission. Risk: destructive · Irreversible
Input Output

listDatabases

query.listDatabases List all databases on the tenant ClickHouse instance. Risk: read
Input: empty object Output

listTables

query.listTables List tables in a ClickHouse database with their engine and approximate size. Risk: read
Input Output

Schema

getDatabase

schema.getDatabase Get schema overview for a ClickHouse database; optionally include column definitions for each table. Risk: read
Input Output

getTable

schema.getTable Get column-level schema for a ClickHouse table, optionally with sample rows. Risk: read
Input Output