Overview
OpenSRE queries Vercel to retrieve deployment status and runtime logs — helping identify whether a recent deployment caused an incident or surface errors from serverless function executions.Prerequisites
- Vercel account with project access
- Vercel API token
Setup
Option 1: Interactive CLI
Option 2: Environment variables
Add to your.env:
Option 3: Persistent store
Credentials
- In Vercel, go to Account Settings → Tokens
- Click Create Token
- Give it a name (for example
opensre) and set the scope to Full Account or a specific team - Copy the token
For team accounts, find your Team ID in Team Settings → General → Team ID. Set
VERCEL_TEAM_ID (or store team_id) so OpenSRE can list team projects.https://api.vercel.com.
Investigation tools
Verify
/integrations verify vercel or /verify vercel.
Troubleshooting
Security
- Create a dedicated read-only token for OpenSRE — do not reuse deployment tokens.
- Store the token in
.env, not in source code. - Rotate tokens periodically.