---
title: Investigation
description: Let AI investigate your error alerts to help you debug faster
url: "https://vercel.com/docs/agent/investigation"
last_updated: 2026-09-18
related:
  - /docs/observability/observability-plus
  - /docs/agent/pricing
install_vercel_plugin: npx plugins add vercel/vercel-plugin
search_with_vercel_cli: npx vercel@latest docs search "<query>"
search_kb_with_vercel_cli: npx vercel@latest kb search "<query>"
---

# Investigation

> Vercel Agent Investigation is available in Public Beta on Enterprise and Pro plans with Observability Plus

When you get an anomaly alert, Vercel Agent can investigate your logs and metrics to help you find the root cause. Vercel Agent displays anomaly highlights in the Vercel dashboard.

## Eligible alerts for automatic investigation

Vercel Agent automatically investigates Medium and High anomaly alerts. Low-severity alerts do not start automatic investigations. Monitor severity settings control notifications and do not affect investigation eligibility.

## Getting started with Vercel Agent Investigation

Before you use Vercel Agent Investigation, make sure your team has:

1. An [Observability Plus](/docs/observability/observability-plus) subscription. It includes 10 alert investigations per billing cycle by default
2. Vercel Agent billing enabled for investigations beyond the included usage

To run investigations automatically for [eligible](#eligible-alerts-for-automatic-investigation) alerts, [enable Vercel Agent Investigations](#enable-vercel-agent-investigations) for your team.

You can [run an investigation manually](#run-an-investigation-manually) if you want to investigate an alert that has already fired.

> **💡 Note:** Code Review and Vercel Agent Investigations are anabled separately.

### Enable Vercel Agent Investigations

To run investigations automatically for [eligible](#eligible-alerts-for-automatic-investigation) alerts, enable Vercel Agent Investigations in your team's settings:

1. Go to your team's [Settings](https://vercel.com/d?to=%2Fteams%2F%5Bteam%5D%2Fsettings\&title=Go+to+Settings\&personalTo=%2Faccount) page.
2. Select **Agent** in the sidebar. Under **Investigations**, turn on **Investigate anomalies automatically**.
3. Under **Projects to Investigate**, choose **All projects** or **Specific projects**. If you choose **Specific projects**, select the projects that Vercel Agent should investigate.
4. Select **Save** to confirm your changes.

After you enable Vercel Agent Investigations, Vercel Agent runs an investigation automatically for [eligible](#eligible-alerts-for-automatic-investigation) alerts. Make sure your team has Vercel Agent billing enabled for investigations beyond the included usage.

## How to use Vercel Agent Investigation

When you [enable Vercel Agent Investigations](#enable-vercel-agent-investigations), Vercel Agent runs an investigation automatically for [eligible](#eligible-alerts-for-automatic-investigation) alerts. It queries your logs and metrics around the time of the alert, looks for patterns that might explain the issue, checks for related errors or anomalies, and summarizes what it found.

To view an investigation:

1. Go to your [Vercel dashboard](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fobservability%2Falerts\&title=Open+Alerts) and navigate to **Observability**, then **Alerts**.
2. Find the alert you want to review and click on it.
3. Review the investigation results alongside your alert details. If the investigation is still running, you can see the analysis stream in real time.

If you want to run the investigation again with fresh data, click the **Investigate Again** button.

### Run an investigation manually

If you do not have Vercel Agent Investigations enabled and running automatically, you can run an investigation manually from the alert details page.

1. Go to your [Vercel dashboard](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fobservability%2Falerts\&title=Open+Alerts) and navigate to **Observability**, then **Alerts**.
2. Find the alert you want to review and click on it.
3. Click the **Investigate** button to run an investigation manually.

## Pricing

Observability Plus includes 10 investigations per billing cycle. Additional investigations use provider inference at the underlying token rate with no markup, plus the Vercel Token Rate of $0.25 per million tokens. The cost varies based on how much log and metric data Vercel Agent analyzes.

See [Vercel Agent pricing](/docs/agent/pricing) for complete rates and cost-tracking information.

## Disable Vercel Agent Investigation

To disable Vercel Agent Investigation:

1. Go to your team's [Settings](https://vercel.com/d?to=%2Fteams%2F%5Bteam%5D%2Fsettings\&title=Go+to+Settings\&personalTo=%2Faccount) page.
2. Select **Agent** in the sidebar. Under **Investigations**, turn off **Investigate anomalies automatically**.
3. Select **Save** to confirm your changes.

Once disabled, Vercel Agent Investigation won't run automatically on any new alerts. You can re-enable Vercel Agent Investigation at any time from the same menu or [run an investigation manually](#run-an-investigation-manually) from the alert details page.

## Search the docs from your terminal

Search the Vercel docs and read pages as Markdown with the Vercel CLI. No login required.

```bash
# Find docs pages by keyword
npx vercel@latest docs search "environment variables"
npx vercel@latest docs search "function timeout"

# Print a docs page as Markdown, by path or URL
npx vercel@latest docs inspect <page>
```

## Search guides from your terminal

Search the Knowledge Base and read guides as Markdown with the Vercel CLI. No login required.

```bash
# Find guides by keyword
npx vercel@latest kb search "rewrites and redirects"
npx vercel@latest kb search "AI SDK streaming"

# Show the latest guides
npx vercel@latest kb

# Print a guide as Markdown, by slug or URL
npx vercel@latest kb inspect <guide>
```

---

[View full sitemap](/docs/sitemap)


If you encounter incorrect information, can’t find what you need, need a capability Vercel doesn’t currently offer, or have any other feedback to report, please do it by following the instructions at https://vercel.com/feedback.md.
