> ## Documentation Index
> Fetch the complete documentation index at: https://learn.kubit.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Dictionary

> Browse, rename, tag, export and delete the virtual events, measures, filters and binnings published in a Kubit workspace, and check their revisions.

The Dictionary is the workspace's catalog of reusable report parts. It lists every virtual event, measure, filter and binning published from a report, plus the workspace's tags, events and fields. This page covers the four published component tabs: what each lists, the table and its columns, renaming and tagging, revisions, CSV export, deleting and who can do what. [Tags, Events and Fields](https://learn.kubit.ai/product-analytics/dictionary/tags-events-fields.md) covers the other three tabs.

Open it from **Dictionary** under **Data** in the left nav. The Dictionary opens on **Events**.

## When to use

| **Use case** | **Example** |
| - | - |
| Find a component before you rebuild it | Search **Measures** for `checkout` to see whether a checkout conversion measure is already published |
| Keep names and descriptions clear | Rename a filter to `Production traces only` and describe the conditions it applies |
| Group components by team or topic | Tag the measures that a weekly agent quality dashboard uses with `agent-quality` |
| See who changed a component and when | Open **Revisions** on a binning to see each version and its definition |
| Audit or clean up | Export **Filters** to CSV, then delete the ones nobody uses |

## Dictionary tabs

The Dictionary has seven tabs, listed in the left rail in this order.

| **Tab** | **Lists** | **Covered on** |
| - | - | - |
| **Tags** | Manual and automatic tags in the workspace | [Tags, Events and Fields](https://learn.kubit.ai/product-analytics/dictionary/tags-events-fields.md#tags) |
| **Events** | Events from your data source | [Tags, Events and Fields](https://learn.kubit.ai/product-analytics/dictionary/tags-events-fields.md#events) |
| **Fields** | Fields from your data source | [Tags, Events and Fields](https://learn.kubit.ai/product-analytics/dictionary/tags-events-fields.md#fields) |
| **Virtual Events** | Published virtual events | This page |
| **Measures** | Published measures | This page |
| **Filters** | Published filters | This page |
| **Binnings** | Published binnings | This page |

Each tab has its own URL, such as `/dictionary/measures`, so you can link to a tab directly. Published cohorts aren't in the Dictionary. They have their own [Cohort Dictionary](https://learn.kubit.ai/product-analytics/reports/cohorts.md#cohort-dictionary) on the **Cohorts** page.

![Dictionary open on Measures in a workspace with no published measures. The tab rail on the left lists Tags, Events, Fields, Virtual Events, Measures, Filters and Binnings. The Measures tab has a Search measures box, an All tags filter and Export Table to CSV above the empty state No Measures Found, Published measures will appear here.](https://mintcdn.com/kubit/lsTN-kU_M-BmKLjD/images/dictionary/measures-empty.png?fit=max\&auto=format\&n=lsTN-kU_M-BmKLjD\&q=85\&s=d11e2d42756bf856b9883d929184b37b)

## Published components

A published component is a named, reusable part of a report that you saved from a report builder. The Dictionary only lists components. You can't create one here, and you can't change a published definition here.

| **Component** | **What it is** | **Where you publish it** |
| - | - | - |
| **Virtual Event** | A group of events treated as one event | **Publish Virtual Event** in an event group's plus menu in a [Query report](https://learn.kubit.ai/product-analytics/reports/query.md) |
| **Measure** | A metric definition, such as a count or a unique count of an event | **Publish Measure** in a measure's options menu below the chart ([Chart settings](https://learn.kubit.ai/product-analytics/reports/query/chart-settings.md)) |
| **Filter** | A set of filter conditions | **Publish Filter** in a report's filter menu ([Filters](https://learn.kubit.ai/product-analytics/reports/common/filters.md)) |
| **Binning** | A set of bins for one field, or a global binning | The Publish button in a binning's header ([Published Binning](https://learn.kubit.ai/product-analytics/reports/common/group-by-and-binning.md#published-binning)) |

Once published, a component appears in its Dictionary tab. A new component lands at the top, because the tabs sort by **Updated At**, newest first.

**Availability:** An AI assistant connected to the Kubit MCP server can publish a filter, measure, virtual event or binning from a report that has already run. A component it publishes is visible to the whole workspace. The MCP server can't rename or delete it, so do that in the Dictionary. [Kubit MCP Server](#kubit-mcp-server) lists what an assistant can do here.

### Example Prompts

> "Which measures are published in this workspace?"

> "Is there a published filter for production traces? If not, publish the filter from my last report as Production traces only"

## Component table

The **Virtual Events**, **Measures**, **Filters** and **Binnings** tabs share one table layout. Every published component of that type is listed on one page, with no pagination.

| **Column** | **Shows** | **Sortable** |
| - | - | - |
| **Name** | The component's name. Editable in place. | Yes |
| **Field** | Binnings only: the field the binning applies to, or `Global` | No |
| **Definition** | The published definition on one line. Click the cell to expand it. Binnings always show every bin. | No |
| **Description** | The description. Editable in place. | Yes |
| **Tags** | The tags applied to the component | No |
| **Creator** | Who published it. Hover for the name and the creation time. | Yes |
| **Updated At** | The date of the last edit. Hover for who made it and the exact time. | Yes |

The default sort is **Updated At**, newest first. Kubit remembers the sort you pick for each tab. When the sort isn't the default, a **Reset Sort** link appears next to the filters.

### Search and filter

The search box filters the tab as you type, and its placeholder names the tab (`Search measures`). The tag filter next to it starts at **All tags** and lists only the tags applied to rows in that tab. Pick one to show only the components with that tag.

An empty tab shows `No Measures Found` (or the tab's own type) with `Published measures will appear here`. When search or the tag filter hides every row, it says `No measures match the current filters.` instead.

### Example Prompts

> "List the published binnings and the field each one applies to"

> "Which published filters keep only production traces?"

## Rename and tag a component

Name and **Description** are edited in place. Click the cell, type, then press Enter or click away to save. Each edit is a rename in place and is added to the component's revisions.

| **Constraint** | **Value** |
| - | - |
| Name length | **50** characters at most |
| Description length | **2048** characters at most |
| Empty name | Not allowed. Clearing the name restores the previous one. |
| Empty description | Allowed. Clearing it saves an empty description. |

If the save fails, a toast shows the error, or `Failed to save.`

To tag a component, click **+** in its **Tags** cell (or the pencil when it already has tags) and pick tags. Each pick applies right away. Type a new name in the picker to create a tag. Tag changes don't add a revision.

**Availability:** The **Definition** column is read-only. A published definition can't be edited from the Dictionary. To change one, open it in a report, change it there and publish it again under the same name.

**Availability:** Renaming, describing and tagging a published component happen in the Dictionary only. The Kubit MCP server has no tools for them.

## Revisions

Revisions show every version of a published component. Click the clock button (**Revisions**) at the end of a row to open them. Only one Revisions panel is open at a time.

Each revision shows the name, a version number, the edit date and the comment, if there is one. The current version is highlighted. Click the info icon on a revision to see that version's definition, with **Show in Report**, which opens the definition in a Query report.

| **Message** | **Means** |
| - | - |
| `No revisions yet` | The component has no saved revisions |
| `Couldn't load revisions.` | The component was deleted, or you don't have access to it |
| `Couldn't load this definition.` | The version's definition was deleted, or you don't have access to it |

**Availability:** Revisions open in the Dictionary only. The Kubit MCP server can't read a component's revisions.

## Export to CSV

**Export Table to CSV** downloads the current tab as a CSV file named after it, such as `Measures-Dictionary`. The export keeps the tab's search and tag filter.

| **CSV column** | **Contents** |
| - | - |
| Name | Component name |
| Description | Description |
| Tags | Applied tags |
| Creator | Who published it |
| Updated At | Date of the last edit |
| Last Edit Time (`<your time zone>`) | Exact time of the last edit, in your browser's time zone |

The CSV has no definition column. When the tab has no rows, the export stops with `No measures to export to CSV` (or the tab's own type).

## Delete a component

Delete removes a published component from the workspace. Open the row's **⋮** menu and click **Delete Measure** (or **Delete Filter**, **Delete Binning**, **Delete Virtual Event**). The **Delete Confirmation** dialog asks:

```text theme={null}
Are you sure you want to delete this Measure <name>? This action cannot be undone.
```

Click **Delete**. Kubit confirms with a toast such as `Measure deleted`. Kubit has no way to restore a deleted component.

> [!WARNING]
>
> Deleting a component can't be undone. Export the tab to CSV first if you might need the name, description and tags later.

**Availability:** Deleting a published component happens in the Dictionary only. The Kubit MCP server can't delete one.

## Kubit MCP Server

The Kubit MCP server reads the Dictionary and publishes new components, and it can't edit or delete anything in it. [MCP tools](https://learn.kubit.ai/lumos-ai/tools.md) documents each tool.

| **Action** | **Kubit MCP server** |
| - | - |
| List published filters, measures and binnings, and the workspace's events, fields and event tags | Yes, with `get_analytics_schema` |
| Describe a field, or find the field that holds a value | Yes, with `explain_field` |
| Publish a filter, measure, virtual event, binning or cohort from a report that has already run | Yes, with `publish_component`. The component is visible to the whole workspace. |
| Rename a component or edit its description | No |
| Tag events, fields or components | No |
| Read a component's revisions | No |
| Change a published definition or delete a component | No |

## Permissions

Your workspace role decides what you can change in the Dictionary. Everyone with access to the workspace can browse, search, sort, open revisions and export.

| **Action** | **Owner** | **Admin** | **Member** | **Viewer** |
| - | - | - | - | - |
| Browse, search, revisions, export | Yes | Yes | Yes | Yes |
| Rename, edit descriptions, apply tags | Yes | Yes | Yes | No |
| Delete a component | Yes | Yes | No | No |

Controls you can't use stay visible but disabled. Hover one to see the role it needs, in the form `Requires Workspace permission: <feature> · <action> (<role> or above). Your workspace role: <role>.`

Example workspaces, such as the demo workspace, are read-only for everyone. Their controls show `Modifications are not permitted in the example workspace.`

## Related

* [Tags, Events and Fields](https://learn.kubit.ai/product-analytics/dictionary/tags-events-fields.md): tag the workspace's events and fields, set the Event Filter and Auto Grouping, and refresh event values.
* [Query](https://learn.kubit.ai/product-analytics/reports/query.md): build the reports you publish virtual events and measures from.
* [Group By and Binning](https://learn.kubit.ai/product-analytics/reports/common/group-by-and-binning.md): set up and publish a binning.
* [Cohorts](https://learn.kubit.ai/product-analytics/reports/cohorts.md): publish cohorts and manage them in the Cohort Dictionary.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.