Skip to content
Docs

vercel alerts

The vercel alerts command lists recent alerts for the linked project, a specific project, or an entire team. The inspect subcommand shows details for a single alert group, and the rules subcommand tree manages monitors from the terminal.

By default, vercel alerts reads alerts for the linked project from the last 24 hours. You can change the scope with --project or --all, filter by alert type, change the time range, and switch between table, AI investigation, or JSON output.

Use this command when you want to inspect alert activity from the terminal without opening the dashboard.

terminal
# List alerts for the linked project from the last 24 hours
vercel alerts
 
# List team-wide alerts
vercel alerts --all
 
# Filter by alert type and time range
vercel alerts --type usage_anomaly --since 2026-03-01T00:00:00.000Z

Using the vercel alerts command to list recent alerts for a project or team.

These options only apply to the vercel alerts command.

The --project option, shorthand -p, lists alerts for a specific project and overrides the linked project. Pass the project name (the name shown in the dashboard and vercel project ls) or its ID, for example my-app or prj_abc123.

terminal
vercel alerts --project my-app

You can't combine --project with --all.

The --all option, shorthand -a, lists team-wide alerts instead of using the linked project.

terminal
vercel alerts --all

You must be in team scope to use --all.

The --type option filters by alert type. You can repeat the flag or pass comma-separated values.

terminal
vercel alerts --type usage_anomaly
vercel alerts --type usage_anomaly,error_anomaly
vercel alerts --type usage_anomaly --type error_anomaly

Filter by custom alert type:

terminal
vercel alerts --type custom_alert

The --ai option prints AI investigation sections instead of the default table output.

This view includes the alert title, resolved time, summary, and key findings when that data is available.

terminal
vercel alerts --ai

The --since option, shorthand -s, sets the start of the time range. Use an ISO 8601 timestamp.

If you don't pass --since or --until, the command defaults to the last 24 hours.

terminal
vercel alerts --since 2026-03-01T00:00:00.000Z

The --until option, shorthand -u, sets the end of the time range. Use an ISO 8601 timestamp.

terminal
vercel alerts --since 2026-03-01T00:00:00.000Z --until 2026-03-02T00:00:00.000Z

--since must be earlier than --until.

The --limit option sets the maximum number of alert groups to return.

The supported range is 1 through 100.

terminal
vercel alerts --limit 25

The --format option supports json output for scripting and automation.

terminal
vercel alerts --format json

When you use --format json, the command returns a groups array with the alert group payload from the API.

List alerts for the linked project:

terminal
vercel alerts

List team-wide alerts:

terminal
vercel alerts --all

Filter by usage and error anomalies:

terminal
vercel alerts --type usage_anomaly --type error_anomaly

Print AI investigation summaries for a custom time range:

terminal
vercel alerts --ai --since 2026-03-01T00:00:00.000Z --until 2026-03-02T00:00:00.000Z

Export alerts as JSON:

terminal
vercel alerts --format json

Show details for a single alert group.

terminal
vercel alerts inspect <groupId>
NameDescription
groupIdRequired. ID of the alert group to inspect.
OptionDescription
--formatOutput format. Supports json.
-p, --projectProject name or ID to filter by, for example my-app or prj_abc123. Overrides the auto-detected linked project.
-a, --allUse team-wide scope. Ignores linked project auto-scoping.

Inspect a group in the linked project:

terminal
vercel alerts inspect grp_abc123

Inspect as JSON:

terminal
vercel alerts inspect grp_abc123 --format json

The vercel alerts rules commands are deprecated. Use vercel monitors to manage monitors from the terminal.

The rules subcommands keep working and map 1:1 to vercel monitors. They accept the same options and request bodies, but JSON output keys differ; see Migrate from vercel alerts rules:

Deprecated commandReplacement
vercel alerts rules lsvercel monitors ls
vercel alerts rules schemavercel monitors schema
vercel alerts rules createvercel monitors add
vercel alerts rules inspectvercel monitors inspect
vercel alerts rules rmvercel monitors rm
vercel alerts rules updatevercel monitors update

See vercel monitors for the full subcommand reference.

  • To learn how to configure and receive alerts, see Alerts.
  • If you want to automatically investigate alerts with AI, see Agent Investigation.

To create and manage monitors from the terminal, see vercel monitors.

The following global options can be passed when using the vercel alerts command:

For more information on global options and their usage, refer to the options section.

Last updated September 10, 2026

Was this helpful?

supported.