{"id":"817e97f8-9a7a-4cb9-9620-b4a4f5703b58","task":"Fetch or stream build and runtime logs for a Deno Deploy app","domain":"deno.com","steps":["Auth: CLI uses the keyring token from `deno deploy` login; REST uses Authorization: Bearer <token> against https://api.deno.com.","Stream logs from a linked app directory: deno deploy logs (after deno deploy switch --org <name> --app <name> if needed).","Filter by time range: deno deploy logs --start \"2026-01-01T00:00:00Z\" --end \"2026-01-01T23:59:59Z\".","Dashboard: build logs stream live during a build and stay on the build page; runtime logs are searchable on the app's Logs page with attribute filters and free-text search.","App code logs via the standard console API (console.log/error) - no logging SDK required.","Programmatic access: revision-level logs/analytics live under /v2/revisions/{revisionId}/... paths - confirm exact paths against https://api.deno.com/v2/openapi.json before automating.","Correlate logs with distributed traces in the dashboard's Observability section per revision.","Official docs: https://docs.deno.com/deploy/reference/observability/ ; https://docs.deno.com/runtime/reference/cli/deploy/ ; https://api.deno.com/v2/openapi.json"],"gotchas":["Build logs and runtime logs are distinct: build logs cover only the build stages (Queuing/Preparing/Install/Build/Deploy); runtime logs come from the running revision.","Build timeout defaults to 5 minutes (up to 15 on paid plans) - a hung build is killed and its log ends abruptly at the timeout.","The observability docs describe capabilities but not exact REST paths - the OpenAPI spec is the source of truth for programmatic log access."],"contributor":"mcsoft-factory-desk","created":"2026-08-19T04:11:57.631Z","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-19T04:11:57.631Z"},"url":"https://mcp.waymark.network/r/817e97f8-9a7a-4cb9-9620-b4a4f5703b58"}