Goni documentation.
One brain for your entire data stack - connectors, warehouse setup, semantic layer, BI, and grounded AI Q&A. Pick a lane below, or start with the ten-minute Quickstart.
-
Getting started
What Goni is, ten-minute quickstart, and the three deployment models.
- What Goni is The one-page mental model for Goni: the surfaces mapped to the sidebar, two data planes, and which page to open next.
- Quickstart Ten-minute walkthrough: sign up for Goni, connect a source, and open the seeded Acme dashboard.
- Deployment models Three ways to run Goni: Goni Cloud for the free trial, Bring Your Own Warehouse on paid plans, and Dedicated.
-
Concepts
The two-planes rule and the process shape that ties the stack together.
-
Connect data
Every source connector, batch pipeline scheduling, and the streaming plane.
- Connectors The full catalog of source connectors Goni registers, with protocol, modes, status, and auth fields generated from ConnectionKinds().
- Batch pipelines and scheduling Author, schedule, and operate batch pipelines that move rows from source connections into ClickHouse.
- Streaming subscriptions Kafka and Google Pub/Sub streaming subscriptions in Goni: subscription CRUD, lag, DLQ browser, schema registry integration.
-
Semantic layer
YAML sources, models, metrics, and tests that compile to ClickHouse SQL.
- Semantic layer overview How Goni's dbt-like YAML (sources, models, metrics, tests) compiles to ClickHouse SQL, materializes into the warehouse, and powers metrics + AI Q&A.
- Sources and models Reference for sources.yml and models.yml: schema, materialization strategies, ref() resolution, lineage, and the user-layer merged view.
- Metrics Author metrics.yml: the name/measure/model/entities/time shape, metric types, and how to run a metric from the UI, the API, or AI Q&A.
- Tests, freshness, and data quality Declare column-level tests and source freshness contracts in YAML, then run them from the Data Quality UI or the REST API.
-
Explore and build
The SQL IDE, git-backed charts, and drag-drop dashboards.
- SQL IDE Write, save, version, validate, and run SQL against the warehouse. Saved queries are git-backed YAML with parameters, history, and default-deny RBAC.
- Charts Author charts in the ChartBuilder, wire them into dashboards, export to PNG/PPTX/XLSX, and inspect the compiled SQL behind every tile.
- Dashboards Author drag-drop dashboards, fork them, summarize with AI, and move them between tenants via the .zip bundle. Every dashboard is a git-tracked YAML artifact.
- Notebooks Ordered cells of markdown, SQL, metric queries, and Python that persist as git-tracked YAML. History, at-SHA replay, and per-cell content caps.
-
AI and MCP
Grounded AI Q&A, persona playbooks, and the Model Context Protocol server.
- Ask: grounded AI Q&A Ask a natural-language question, get a chart. Grounded on the semantic layer so the planner cannot hallucinate columns or metrics. Multi-turn, auto-save, cross-persona handoff, diagnostic fan-out.
- Persona playbooks The four shipped Goni playbooks - Data Analyst, Diagnostic, Data Architect, Data Engineer - their YAML shape, tool inventory, proposal contract, and endpoints.
- MCP server Goni's Model Context Protocol server on /mcp/v1: reads execute directly against the semantic + operational surface; writes propose (never apply) via the Proposal review loop.
- AI proposals How write-shaped LLM emissions become reviewable Proposals - state machine, preview contract, apply/reject endpoints, RBAC parity.
- Scheduled AI tasks Bind a natural-language question + persona playbook to a schedule + delivery channel. Server ticks every 60s, runs the same BYOK plan-and-ground path /api/ai/chat uses, delivers via Slack.
-
Operate
Alerts, scheduled reports, live cluster vitals, the query log, and the Doctor RCA agent.
- Alerts and scheduled reports Threshold, change, and anomaly alerts plus scheduled CSV reports. Git-backed YAML, editable through the REST API.
- Pulse: live cluster vitals Live ClickHouse health board built on system.* reads. Eight vitals, a heaviest-queries panel, a parts-pressure heatmap, and a live-queries feed - no sidecar exporter, no separate metrics DB.
- Query log and Errors drill-down Faceted browser over system.query_log with attribution resolved to the bi-api caller. Row-detail drawer with SQL, exception, and metrics; keyboard navigation; deep-link; per-error drill-down from the counters feed.
- Doctor RCA agent LLM-powered root-cause explainer for a slow or failing ClickHouse query. Streams a report over SSE, keys off system.* reads only, checks the optimizer's rewrite against the original before offering it, mutates nothing.
-
Govern
Default-deny RBAC, audit + lineage, and embedded analytics.
- Access control Goni's default-deny RBAC: policies.yml, per-id allow-lists, row filters, column masks, and the effective-permissions resolver.
- Audit and lineage How Goni records every mutating action to a tenant-scoped audit log and how the column-level lineage graph plus metric trust and blame make numbers verifiable.
- Tags Cross-artifact taxonomy for charts, dashboards, notebooks, saved queries, and glossary terms. Shared validation rules, the /api/tags aggregation endpoint, and the ?tag= URL filter.
- Business glossary Business terms with owners, reviewers, and a status state machine. Attach terms to columns, charts, dashboards, notebooks, metrics, models, and tables so every number carries an authoritative definition. Approved terms are stapled into Ask grounding so the AI can't drift from your language.
- Data quality governance Who can author data-quality tests, how custom_sql is admin-gated, how test runs are audited, and how failures reach on-call.
- Embedded analytics Mint signed embed tokens, drop a Goni chart or dashboard into a third-party app, and keep row filters and column masks intact.
- Security overview How Goni authenticates users, isolates workspaces, protects data in transit, retains audit history, and validates secrets at boot.
-
Reference
Every environment variable, every REST endpoint, and the retention policy.
- Environment variables Alphabetical reference for every GONI_* environment variable a self-hosted deployment configures.
- REST API The Goni REST API: auth modes, headers, error envelope, rate-limit classes, and the endpoint catalog by resource.
- Audit and Tags API REST reference for GET /api/audit (with origin and workspace filters, CSV export) and GET /api/tags (the cross-artifact tag aggregate). Complements /docs/govern/audit-and-lineage and /docs/govern/tags.
- Data retention policy How long Goni keeps each category of customer data, and why. The customer-facing complement to the retention table in the Privacy Policy.