> ## 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.

# Tags, Events and Fields

> Tag a Kubit workspace's events and fields, group events automatically by a field, limit report events with the Event Filter, and refresh event values.

The **Tags**, **Events** and **Fields** tabs of the [Dictionary](https://learn.kubit.ai/product-analytics/dictionary.md) list the workspace's events and fields and the tags applied to them. This page covers each tab's table, manual and automatic tags, bulk tagging, the **Event Filter**, **Auto Grouping**, refreshing event values, CSV export and the roles each action needs.

Open them from **Dictionary** under **Data** in the left nav. The Dictionary opens on **Events**. The links `/dictionary/tags`, `/dictionary/events` and `/dictionary/fields` open a tab directly.

## When to use

| **Use case** | **Example** |
| - | - |
| Group events for reports | Tag `classify_intent`, `retrieve_products` and `checkout` with `shopping-flow`, then collapse them by tag in a [Path report](https://learn.kubit.ai/product-analytics/reports/path.md) |
| Tag events from a field's values | Add an event field such as the agent name to **Auto Grouping**, so every event gets an automatic tag per agent |
| Hide events nobody should report on | Set an **Event Filter** that keeps only production events in the report event selectors |
| Find a field and its type | Search **Fields** for `latency` to get its key and type and how many values it has |
| Pick up new values from the warehouse | Click **Refresh values** after new tool names start arriving |

## Tags

A tag is a label you apply to events, fields and published components to group them. Tags are either manual or automatic.

| **Type** | **Created by** | **Can you rename it?** | **Can you delete it?** |
| - | - | - | - |
| **Manual** | A person, with **Add Tag** or by typing a new name in any tag picker | Yes | Yes |
| **Automatic** | [Auto Grouping](#auto-grouping), one tag per value of a grouping field | No. Only its color can change. | No |

The **Tags** tab lists every tag in the workspace, 25 per page.

| **Column** | **Shows** |
| - | - |
| **Name** | The tag's color and name. Click the color to change it. Click the name to rename a manual tag. |
| **Description** | The description, **500** characters at most. Editable in place. |
| **Type** | **Manual** or **Automatic**. An automatic tag also names the grouping field it came from. |
| **Creator** | Who created the tag |
| **Created At** | When the tag was created |

Search the tab with **Search tags**, and filter it with **All types**, **Manual** or **Automatic**.

### Add a tag

Click **Add Tag**. In the **Add tag** dialog, enter a **Name** and, optionally, a **Description**, then click **Add Tag**. A tag name must be unique in the workspace. A duplicate name shows an error under the field. The dialog has no color option. Change the color in the table afterwards.

### Delete a tag

Open the tag's actions menu and click **Delete Tag**. The **Delete tag** dialog warns:

```text theme={null}
"<name>" will be removed from everything it is applied to. This cannot be undone.
```

Automatic tags can't be deleted. Their **Delete Tag** item is disabled with `Automatic tags are generated from your grouping fields and cannot be deleted.` Remove the grouping field instead (see [Auto Grouping](#auto-grouping)).

**Availability:** An AI assistant connected to the Kubit MCP server can list the workspace's event tags, but it can't create, apply, rename or delete a tag. Tag in the Dictionary.

### Example Prompts

> "Which event tags does this workspace have?"

> "Show a Path report of agent runs with events collapsed by the shopping-flow tag"

## Events

The **Events** tab lists the events from your data source, 25 per page.

| **Column** | **Shows** |
| - | - |
| **Name** | The event's display name. A disabled event is labeled `Disabled`. |
| **Key** | The event's key in your data |
| **Description** | The event's description |
| **Tags** | Manual and automatic tags on the event |

**Search events** matches the name, key and description. The tag filter shows only events with one tag. Above the table are the [Event Filter](#event-filter) and [Auto Grouping](#auto-grouping) settings, and next to **Export Table to CSV** is the [Refresh event values](#refresh-event-values) button.

To tag one event, click **Edit tags** in its **Tags** cell and pick tags. Automatic tags in the cell show `Applied automatically by grouping on <field>` on hover and can't be removed there. To tag many events at once, see [Bulk tagging](#bulk-tagging).

**Availability:** The Kubit MCP server lists events and their tags, and it can't tag, disable or rename an event or edit its description.

![Dictionary open on Events, with the tab rail Tags, Events, Fields, Virtual Events, Measures, Filters and Binnings on the left. Empty Event Filter and Auto Grouping fields are above the search box, the All tags filter, the refresh button and Export Table to CSV. The table lists classify\_intent, retrieve\_products, checkout, check\_inventory and lookup\_order with Name, Key, Description and Tags columns.](https://mintcdn.com/kubit/lsTN-kU_M-BmKLjD/images/dictionary/events.png?fit=max\&auto=format\&n=lsTN-kU_M-BmKLjD\&q=85\&s=b8f47f285c3a7e2d6884600663106af4)

### Example Prompts

> "Which events are tagged shopping-flow?"

> "List the events tagged shopping-flow and how many traces had each one last week"

## Fields

The **Fields** tab lists the fields from your data source, sorted by name, with nested fields under their parent.

| **Column** | **Shows** |
| - | - |
| **Name** | The field's display name |
| **Key** | The field's column or attribute key |
| **Type** | The data type, such as `STRING`, `INTEGER`, `BOOL`, `TIMESTAMP` or `ARRAY` |
| **Values** | How many values Kubit has for the field |
| **Tags** | Tags on the field |

Name, Key, Type and Values are sortable. **Search fields** matches the name, key and description.

**Availability:** The **Fields** tab shows at most **500** fields. A larger schema shows `Showing the first 500 fields by name. Some fields may not be listed.`

**Availability:** The Kubit MCP server describes a field (type, description and most frequent values) with `explain_field`, and finds the field that holds a value. It can't tag a field.

![Dictionary open on Fields, with a table of fields sorted by name: Action Label, Action Origin, Agent name, Analyzed At, Batch, Behavior Labels, Behavior Origins, Billing ZIP provided and Category filter, each with its key, a type such as STRING, TIMESTAMP, ARRAY or BOOL, and a count of values.](https://mintcdn.com/kubit/lsTN-kU_M-BmKLjD/images/dictionary/fields.png?fit=max\&auto=format\&n=lsTN-kU_M-BmKLjD\&q=85\&s=6f165d17ba792859d3a7708e29522f72)

### Example Prompts

> "What type is the AGENT\_NAME field, and what values does it have?"

> "Which field holds the value search\_products, and how many traces had it last week?"

## Bulk tagging

Bulk tagging adds or removes one manual tag on many events or fields at once. In **Events** or **Fields**, tick the rows' checkboxes. A bar shows how many rows are selected, with a tag picker and three actions.

| **Action** | **Does** |
| - | - |
| **Add to Selected** | Adds the picked tag to every selected row |
| **Remove from Selected** | Removes the picked tag from every selected row |
| **Clear** | Clears the selection |

Only manual tags can be picked. The checkboxes appear only for roles that can tag (see [Permissions](#permissions)).

## Event Filter

The **Event Filter** limits which events are available in the event selector when you build reports. Set it at the top of the **Events** tab with **Add an event filter**. Only fields on the event fact table can be used in it.

Changing the filter forces a refresh of the workspace's event values. **Clear Filter** removes it, after the **Clear event filter?** dialog warns that clearing forces a refresh of your event values and regenerates the automatic tags.

## Auto Grouping

**Auto Grouping** turns the values of an event field into automatic tags. Add a field with **Add a grouping field**, such as an event's source, family or type, and Kubit tags each event with the value of that field. Only fields on the event fact table can be used, and each field can be added once.

While Kubit applies the tags, the tables show `Updating tags and events…` and tag editing is locked. When it's done, a toast says `Tags and events updated.`

To stop grouping on a field, remove it. The **Remove grouping field?** dialog explains that the automatic tags generated from that field will no longer be applied to your events, and that manual tags aren't affected. Click **Remove Field**.

**Availability:** The Event Filter, Auto Grouping and event value refreshes are set in the Dictionary only. The Kubit MCP server has no tools for them.

## Refresh event values

Refresh event values reloads the workspace's event values from your warehouse. Click the refresh button next to **Export Table to CSV** on the **Events** tab, then click **Refresh values**. Its tooltip shows when the values were last refreshed.

Tick **Purge Cache** before refreshing to drop values that no longer exist in the warehouse. The **Purge cache?** dialog warns that those values won't come back until the next successful refresh. Click **Refresh and Purge**.

| **Message** | **Means** |
| - | - |
| `Refresh complete. Event values are up to date.` | The refresh finished |
| `Already up to date.` | Nothing changed since the last refresh |
| `Data refresh is not supported for this schema.` | This workspace's data can't be refreshed from the Dictionary |
| `Available <time>` (button tooltip) | A refresh ran recently. You can refresh again at that time. |
| `Failed to refresh event values` | The refresh failed |

## Export to CSV

**Export Table to CSV** downloads the current tab with its search and filters applied, across all pages.

| **Tab** | **CSV columns** |
| - | - |
| **Tags** | Name, Description, Type, Grouping Field, Creator, Created At (`<your time zone>`) |
| **Events** | Name, Key, Description, Tags, Status (`Active` or `Disabled`) |
| **Fields** | Name, Key, Type, Values, Tags |

The Dictionary exports only. It has no CSV import.

## Permissions

Your workspace role decides what you can change on these tabs. Everyone with access to the workspace can browse, search and export.

| **Action** | **Owner** | **Admin** | **Member** | **Viewer** |
| - | - | - | - | - |
| Add, rename and recolor tags, edit tag descriptions | Yes | Yes | Yes | No |
| Tag events and fields, one at a time or in bulk | Yes | Yes | Yes | No |
| Delete a tag | Yes | Yes | No | No |
| Change the **Event Filter** or **Auto Grouping**, refresh event values | Yes | Yes | No | No |

Disabled controls show the role they need on hover. Example workspaces, such as the demo workspace, are read-only for everyone.

## Related

* [Dictionary](https://learn.kubit.ai/product-analytics/dictionary.md): browse, rename and delete published virtual events, measures, filters and binnings.
* [Path](https://learn.kubit.ai/product-analytics/reports/path.md): collapse events by tag in a path.
* [Modeler](https://learn.kubit.ai/warehouses/modeler.md): map warehouse tables to the events and fields these tabs list.


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