Skip to content
Docs

get_runtime_errors

Get grouped runtime error clusters for a project. Each cluster includes the error name, occurrence count, affected routes, sample messages, and when the error was first and last seen. Use this tool to investigate production errors before querying individual entries with get_runtime_logs. Time ranges can span up to 7 days.

ParameterTypeRequiredDefaultDescription
projectIdstringYes-The project ID to get runtime errors for
teamIdstringYes-The team ID to get runtime errors for. Alternatively the team slug can be used. Team IDs start with 'team_'. Can be found by reading .vercel/project.json (orgId) or using the list_teams tool.
sincestringNo24h agoStart of the window as an ISO date or relative lookback from now (e.g., 1h, 24h, or 7d). The maximum lookback is 7 days
untilstringNonowEnd of the window as an ISO date, relative lookback, or now. Omit this when the end should be the current time
routesstringNo-Comma-separated route paths to filter by (e.g., /api/checkout)

Sample prompt: "Why is my production app throwing errors?"


Was this helpful?

supported.