Getting Started
Key concepts
Kater is where warehouse tables become definitions the data team verifies. Every answer, chart, dashboard and app reads them.
How work moves
- Find the measure that means it, in the Shared layer (search the catalog).
- Ask with a query in a workspace over one semantic model.
- Show with a chart, on a dashboard or in an app.
- Keep with a follow, a project or a workflow.
- Promote a field more than one person needs into the Shared layer (skill model-layer-rules-promotion).
How objects connect
Layers hold models; a model declares members; a field’s role is its type. Resources read the models; records are numbers and rows about them, with no file.
Each label counts the two ends: 1 : n is one to many, n : n many to many, 0..1 at most one. A query, its charts and its dashboard sit inside their workspace. A dotted line is a snapshot kept.
Figures
A query’s result is figures: one field at one row, with a value for each period. A part is drawn inside what owns it, so a figure holds its usual range and its rows of Compare’s check, one for each two periods. A project tracks a figure, a follow stars it, and a citation writes it on a page. For you ranks Compare’s rows, and a takeaway cites them, as part of a dashboard or a snapshot. Records wear no colour.
Layer types
Where a model is made.
| Layer | Is |
|---|---|
| Source | The warehouse’s tables. Not: source (alone). |
| Shared | The data team’s governed models, where Verified fields live. |
| Workspace | Where people ask and keep questions. |
| Sandbox | One person’s tries in scratch files, in their own folder. |
Model types
The SQL files a layer holds.
| Model | Layer | Is | May use | Skill |
|---|---|---|---|---|
| DB dataset | Source | One warehouse table. Sync writes it. | none | dataset-db |
| Kater dataset | Shared | The governed view of one table or SQL query: its dimensions, measures and formats. Not: dataset (alone), view. | measures, required filters | dataset-kater |
| Semantic model | Shared | Kater datasets joined by relationships: the model people ask questions of. Not: model (alone), cube. | relationships, measures, required filters | semantic-model |
| Test | Shared | A question with rows someone checked; a rerun fails when a change moves them. | measures, custom calculations | tests |
| Workspace | Workspace | Where queries on one subject live, read through its root. Its dashboard is its page. Not: project, folder. | measures, parameters, required and optional filters | overview |
| Query | Workspace | A named Kater SQL question. Not: query contract, saved query, report. | relationships, measures, parameters, required and optional filters, custom calculations | query-authoring |
| Chart | Workspace | One way to draw one query: it picks, filters and orders its columns. | none | sandbox-charts |
| Scratch file | Sandbox | A person’s SQL file in their Sandbox. | measures, parameters, optional filters, custom calculations | sandbox |
Member types
What a model declares.
| Member | Is | Skill |
|---|---|---|
| Field | A named column a model declares. | new-fields |
| Relationship | How two datasets join, and which side has many rows. Not: join path. | modeling-practices |
| Filter | A condition on a model or a query: required always applies; optional is on or off for the reader. Not: dynamic filter. | filters |
| Parameter | A value a reader sets, such as a date window, that a filter or a field reads. Not: variable. | filters |
Field types
What a field is once its role is known.
| Field | Is | Skill |
|---|---|---|
| Measure | A total that adds up again at whatever level a reader asks for, such as Email revenue. Not: metric, KPI. | new-fields |
| Dimension | A field you group, filter or slice by, such as Channel or Order month. Not: attribute. | new-fields |
| Custom calculation | A field a query works out across its own rows, such as a rank or a running total. Not: table calculation, window. | new-fields |
Resource types
What people open, share and run.
| Resource | Is | Skill |
|---|---|---|
| Connection | One warehouse of your organisation, and everything modeled on it. Not: database, source. | tour |
| Explore | A semantic model’s ready-made cards; each opens into a workspace. | overview |
| Dashboard | A workspace’s charts in sections under one filter bar. Not: report. | dashboard |
| App | A page, report, deck or chat record drawn from live queries. Not: dashboard (for an app). | app |
| Project | Apps and figures grouped around one goal, with one timeline. Not: workspace (for a goal). | projects |
| Workflow | Steps an agent runs on a schedule or when asked, such as a Monday brief. Not: automation. | workflows |
| Skill | A Markdown file that teaches an agent one task. An agent is a role that uses skills. Not: prompt. | new-skill |
| Note | Context an agent reads, such as a person’s about.md or a connection’s connection_context.md. | about-me |
Records
Numbers and rows about objects, with no file.
| Record | Is | Skill |
|---|---|---|
| Figure | One field at one row of a query’s result, with a value for each period, such as Email revenue for Email by week. Verified when its field is. Not: project metric. | follow |
| Compare | Checks every figure of an app, a workspace or a query for two periods: its change, usual range, size, last year and record. One that stands out has meaningfully changed. Not: anomaly. | |
| Usual range | Where a figure usually lives, from its own periods. Not: threshold, normal range. | follow |
| Snapshot | What a dashboard or an app showed at one run; it never changes. Not: export. | projects-documents |
| Takeaway | A sentence citing Compare’s rows, typing no number ({f01} is a figure); a dashboard’s key takeaway is a row. | projects-documents |
| Citation | A number as a page or an answer writes it, with where it came from: a figure, link, file, person or mock data. Not: provenance. | app-sources |
| Follow | What a person stars: a figure, chart or project; Compare tells them when a figure stands out. Not: alert, pin, watch. | follow |
| For you | A card Home ranks for a person each night: a figure that stands out, a project’s open loop or a key takeaway. Not: feed. | |
| Role | Admin, Developer (the data team) or Explorer: what a person may do. Not: permission. | portal |
| Grant | Viewer, Editor or Manager, execute access, or both, on a folder or file, for a person, a group or Everyone. Not: share, ACL. | portal |
Laws
- Data moves down the layers and never back. A model reads only its own layer or the ones before it; a test may also read the workspace it checks.
- Verified means a field of the Shared layer; a query’s field is verified once promoted there.
- A shared model means the same to every reader: it has no parameters and no optional filters.
- A workspace reads one shared model through its root; a field every query needs goes there.
- Only Compare’s check says a figure meaningfully changed. Cite its row or verdict words; never judge a change yourself.
- A custom calculation lives in a query, a test or a scratch file, never in a model.
- An agent acts as its person, within their role and grants. Read access gives a model’s logic; execute access gives its data.
Identity
- Every object has a key: its kind, where it lives and its name; never a file path or a label.
- Its id,
rel1_…, is a hash of the key. A rename gives a new id; the old name still finds it. - A name is 1 to 64 lower case letters, digits and
_; an output with no name gets a made one,sum__amount. The label (the words afterAS) is what people read and may change. - On screen an object is
<kind>.<name>:query.email_revenue_by_week. A command takes the connection first:snowflake_prod_connection/email/email_revenue_by_week. A field is its model’s key and its name (fld1_…). - A figure is its query’s key, field and row.
Kater SQL
- Kater SQL is the warehouse’s SQL with Kater’s additions:
DIMENSION,MEASURE,EVAL,RELATIONSHIP,REQUIRED_FILTER,OPTIONAL_FILTER,CUSTOM_CALCULATION, theKATER__functions and-- @comments. A query with none means what it means in the warehouse. - An Excel formula, starting with
=, defines one whole column of a query’s result. Always two words: a plain formula is a field’s SQL.
Model for business people
- Name and label a field the way the business says it. Its description,
ai_contextandbusiness_questionssay when to use it. - One meaning, one measure. Declare a new measure only when the definition changes, and give it a new name.
- Map a code to the name people use once, in the shared model, beside the code.
- Keep a date at the source’s finest grain; a reader groups it by week or month.
- Keep an amount’s unit beside it; it adds up only within one.
Colour and mark
- A model wears its layer’s colour: Source navy, Shared green, Workspace blue, Sandbox pink; a query and its chart orange.
- A field wears its role: measure blue, dimension cobalt, custom calculation purple. The mark, not the colour, says the kind.
A field moves up
Anyone who edits a workspace may promote; the data team approves or denies each request.
- Scratch file → add to a workspace → Query field
- Query field → promote → Workspace root field
- Workspace root field → promotion request → Semantic model field
- Query field → promotion request → Semantic model field
- Semantic model field → move up → Kater dataset field
A promotion request starts as pending.
pendingmoves toapprovedordeniedorwithdrawndeniedmoves topending
Other words
Words these docs use that no object of the picture stands for.
| Term | What it is |
|---|---|
| Organisation | Your company in Kater. People sign in to it through PropelAuth, and everything belongs to one organisation. |
| Content store | The git repository that holds your organisation’s content. Nobody clones it directly. |
| Local copy | A snapshot of everything you can read, made with kater git clone. You publish from it with kater git push. |
| Write-back | An optional, one-way publish of each connection’s modeling/ folder to your own GitHub repository. |
| Kater MCP | The server your agent connects to. It acts as the person who signed in. |
| Ask panel | With in-app chat on, the answer to your question shows in the panel. Otherwise Ask writes a prompt from what you type and the page you are on, then opens it in your agent. |
| Starter | A ready-made prompt, such as Brief me, in the Ask panel and in your agent. |
| Scheduled workflow | A workflow with a schedule: block, which runs on its schedule, such as every Monday at 08:00. |
| Curated | A model, query or workspace the data team recommends, with curated: ["true"] in its frontmatter tags. It grants no access and verifies no field. |
| Promotion request | A person’s request, with a reason, to move a field into a shared model. A person who can change the Shared layer approves or denies it, its requester only when shared_layer.approve_own_requests names their role. |
| Ask to define | A request, with no draft, that the data team define a field for a number cited from outside Kater. |
| Promotion recommendation | A field defined the same way in several models, offered to the data team. |
| History and Undo | Every change to a workspace, app or file, each of which you can undo as a new change. |
| Brainstorm folder | Your private folder for notes, scratch files, workspace copies and draft apps. |
| Workspace copy | A private copy of a workspace where you try a change, then diff and apply it. |
| Origin | Where a cited number came from: a figure, a link, a file, a person or mock data. |
| Sources | The citations of one document, listed by number, each with where its number came from. |