get_deployment_events
Retrieve build and runtime event logs for a deployment to diagnose failed builds and runtime bugs.
Instructions
Get the build/runtime event log of a deployment (this is where build logs and errors live). Use to diagnose failed builds and runtime bugs. Returns log lines with text, type and timestamps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idOrUrl | Yes | Deployment id (dpl_...) or URL. | |
| builds | No | Include build events. Default true. | |
| direction | No | Log order. | |
| limit | No | Maximum number of items to return. | |
| since | No | Events after this timestamp (ms). | |
| until | No | Events 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). |