Skip to content

A tour of the Console

The Console is at /console on every QueryAPIGate server - nothing separate to install. Each screen below, with what it's for; click one for the full size. The README has the SQL editor, the demo video and the architecture.

Home: a health line under the title naming the most pressing alert, New connection, API Designer and New API beside it, five live tiles (requests, error rate, active queries, pool connections, rate limit rejections), links with counts to connections, APIs, API keys and roles, the eight most recent requests, and recent audit activity beside them
Home: its health in one line, live numbers, what is configured, and the latest requests - saved APIs and ad-hoc SQL alike - with recent activity beside them.

The Console's sign-in page: on the left a deep green panel with the QueryAPIGate mark and wordmark, the tagline Turn SQL into governed data access, three points (saved queries as REST endpoints, the same queries as MCP tools for AI agents, keys, roles, masking and a tamper-evident audit log) and this server's version and health; on the right the heading Sign in to the Console, a field for an admin token or API key with a show button, a Sign in button, a note that the token is kept for this tab only and where tokens come from, and links to the API reference and the documentation
Signed out, a tab sees only the sign-in page - Sign in with SSO when it's set up, or an admin token
The same sign-in page in the dark theme
The same page in the dark theme, following the operating system's

The MCP server screen: your saved queries listed as tools an AI agent can call over MCP, each marked read-only with its parameters and description and a 30-day MCP-activity column; above the list, the connect-a-client config snippet with the MCP server URL and X-API-Key header, and a reachability check
MCP server: your saved queries as governed tools for AI agents - read-only by default, with the connect snippet and a reachability check, the same identity, masking and audit as every other caller.

The Workspaces screen (experimental): three workspaces - catalogue, default (this tab's) and payments - with their descriptions, member counts and Work here, edit and remove actions; below, the members of payments, bea as owner and dmitri as developer, each role changeable, and a form to add a member. The sidebar's workspace switcher sits under the wordmark
Workspaces (experimental): teams on one server, each running its own connections, queries and keys - with the switcher under the wordmark, and each workspace's members.

Connections screen with All/Active/Inactive/Deleted tabs, listing ClickHouse, MySQL, PostgreSQL and SQLite connections with their status, each connection's live usage (queries run, failures, average latency), a 30-day activity sparkline per connection, and Query, edit and delete actions
Manage connections across every supported database, with live usage per connection
The API Repository: one collection's saved queries, headed by its name, query count and a menu with its keys, Postman export and Rename, beside the selected query's one-line header, its connection, author and tags, a strip of run figures with a seven-day sparkline, the Run, SQL, History, Metrics, Access, Flow, Cache and Connect tabs, and the GET /q/ request row
Every saved query becomes a documented REST endpoint - grouped into collections
API keys screen showing keys created from roles and scoped to a collection (shown as a dashed name/ tag), an expiring partner key, per-key rate limits, each key's last-used time and live usage, and a 30-day activity sparkline per key
Per-key permissions: connections, specific saved queries, expiry, rate limits - and what each key has actually done
Roles screen listing reusable permission templates - connections, read/write access, rate limit and IP allowlisting - with a 30-day activity sparkline for the keys created from each role and a New key from this shortcut
Named roles: a reusable grant template, copied onto a key once at creation
A saved query's History tab: every run with its time, calling API key, rows, duration and request ID, with a status filter and search box
Run history per saved query: who called it, how long it took, and the request ID to find it in the logs
Audit log screen listing every administrative change - saved queries, roles and API keys created or updated - with an action filter and search box
A durable audit log of every configuration change, filterable by action, actor and target
Metrics screen with stat tiles for requests, error rate, active queries, pool and rate limiting, bars for requests by status and queries by connection, and a per-connection latency table
Live metrics with no Prometheus required - or import the bundled Grafana dashboard for history
A saved query's Flow tab in full view: a card per lane, left to right - its roles, with a dashed line to each key made from them and a solid one to signed-in users; who calls it (API keys, signed-in users, an agent, administrators), each with its runs in the last 24 hours; its REST endpoint and MCP tool with theirs; what applies on the way, green when on and dashed when off (authentication, rate limits, IP allow-list, masking, cache); the API itself with its runs and p95; the connection it reads, and the tables, each joined to the database it's in
A query's Flow, in full view: everything the API touches, from the roles and keys that can call it to the tables it reads - with the last 24 hours on every box
API Catalog: every saved query as a row of one wide table - identifier, status, description, tags, collection and who it is granted to, and more columns to the right - with a search box, a Columns chooser and Download CSV, and a summary row under the columns
API Catalog: every API in one searchable table, with the columns you choose and a CSV of what is shown
The Move to a collection drawer: choosing a collection previews which API keys will gain access to the query and which will lose it, and which roles will include it
Collections: grant a key a whole group of queries - and see exactly which keys gain or lose access before a query moves
Caching screen: response cache backend, entry count, hit rate, hits and misses, and the list of saved queries with a cache_ttl set, each with a 30-day activity sparkline
Caching: live hit rate for the response cache backing every saved query's cache_ttl
Alerts screen with a tab per check - key expiry, unused keys, failing connections, query errors, slow queries, rate limits, open access and run history - listing a critical failing connection and warnings for an expiring key, a key over its rate limit and a failing query, each with what to do and a link to fix it
Alerts: failing connections, expiring keys, failing or slow queries, rate limits being hit - each with what to do, clearing by itself once fixed
Access map: every saved query against every API key, showing whether each key reaches it through a named query, a collection or a whole connection, with filters by connection, database and reach
Access map: which key can call which query, and why - one grid instead of reading every grant
Settings, General tab: a tab per area with counts, a filter and an All / Changed switch, then Storage, Startup, Configuration file and Drivers - each setting's name, variable and description beside its value, the home folder tagged Set by env
Settings: the server's effective configuration, read-only, a tab per area - what was changed is tagged and can be shown alone
Help: the how-to guides browsed inside the Console, with an On this page list of the guide's sections
Help: the docs and how-to guides for the version you run, inside the Console
Home in the dark theme, with the font size and light/dark switches in the top right corner
Light or dark, three font sizes - switched from the top right corner