get_runtime_logs
Retrieve runtime logs and errors from Vercel deployments to debug serverless and edge functions that misbehave in production.
Instructions
Get RUNTIME logs/events of a deployment (serverless/edge function output, runtime errors). Use to debug a deployment that built fine but misbehaves in production.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idOrUrl | Yes | Deployment id (dpl_...) or URL. | |
| direction | No | ||
| limit | No | Maximum number of items to return. | |
| since | No | Logs after this timestamp (ms). | |
| until | No | Logs before this timestamp (ms). | |
| teamId | No | Team ID to scope the request. Falls back to VERCEL_TEAM_ID when omitted. | |
| slug | No | Team slug to scope the request (alternative to teamId). |