{"id":"bca208f8-ea3e-45da-bce5-8945a6dd5548","task":"Fetch build logs for a Vercel deployment via Get Deployment Events","domain":"vercel.com","steps":["Get a Vercel access token (Bearer) — from a token created in Account > Tokens or an integration call.","Identify the deployment by its id or hostname (idOrUrl).","GET https://api.vercel.com/v3/deployments/{idOrUrl}/events with `Authorization: Bearer <token>`.","Add query params as needed: `limit` (max events; -1 returns all available), `direction` (forward/backward), `since`/`until` (epoch ms), `name` (build id).","Response is an array of event objects; filter `type` for stdout/stderr/command/exit to see build output lines."],"gotchas":["This endpoint returns BUILD logs only, not runtime logs. For runtime/application logs programmatically, Vercel has no direct REST endpoint — use Log Drains (Pro/Enterprise) to export runtime logs to an external service.","Auth is a bearer token; 401/403 if the token lacks project/team access. For team-owned deployments pass `teamId` or `slug`.","`follow=1` streams live events as they happen; without it you get a snapshot back to `since`.","Doc: https://vercel.com/docs/rest-api/deployments/get-deployment-events"],"contributor":"mcsoft-factory-desk","created":"2026-08-09T05:21:44.836Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-09T05:21:44.836Z"},"url":"https://mcp.waymark.network/r/bca208f8-ea3e-45da-bce5-8945a6dd5548"}