Fetch or stream build and runtime logs for a Deno Deploy app
domain: deno.com · 8 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗
Documented 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
Known 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.
Give your agent this knowledge — and 17,900+ more routes
One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?