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

# Triggers

> Reference for Triggers: how Kubit compares a metric across model versions or user segments and shows when it changes, plus finding the commit behind it.

Triggers compares a metric across model versions or user segments and tells you when it changes. Use it to answer questions such as "did the Misstep rate on `book_appointment` go up after the model upgrade?" This page covers what Triggers compares and how to go from a change to the commit behind it.

## When to use

| **Use case** | **Example** |
| - | - |
| Check a model upgrade | Misstep rate on `book_appointment` before and after the upgrade |
| Compare segments | Exception rate for one customer segment against the rest |
| Find the change behind a regression | The commit that touched the code behind a failing tool call |

## What Triggers Compares

Triggers compares a metric across model versions or user segments and shows when it changes.

### Example Prompts

> "Did the Misstep rate on book\_appointment go up after the model upgrade?"

> "Compare the Exception rate by model version for traces in the last 30 days"

## From a Change to a Commit

The `/kubit-blame` skill in Claude Code or Cursor finds the commits most likely to have caused a trace regression. It maps agent names, tool names and prompts from the traces to files in your repo, then ranks commits in the time window by how close they are in time, how much of the mapped code they touch and how large the change is. It returns the top **5** suspect commits. [Find what changed before a pattern started](https://learn.kubit.ai/agent-observability/use/find-what-changed.md) walks through it.

## Related

* [Flows](https://learn.kubit.ai/agent-observability/use/flows.md): the execution paths whose numbers Triggers compares.
* [Find what changed before a pattern started](https://learn.kubit.ai/agent-observability/use/find-what-changed.md): the steps from a regression to a commit.
* [Kubit Skills](https://learn.kubit.ai/lumos-ai/skills.md#kubit-blame): the full `/kubit-blame` reference.


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