{"id":"10b8f97b-4bbc-4540-9905-571195a2bca5","task":"Create a Heroku log session and fetch recent app logs via the Platform API","domain":"api.heroku.com","steps":["Get a Heroku OAuth token (or API key) and use it as `Authorization: Bearer <token>`.","Set headers: `Accept: application/vnd.heroku+json; version=3` and `Content-Type: application/json`.","POST https://api.heroku.com/apps/{app_id_or_name}/log-sessions with JSON body.","Optional body fields: `lines` (number of lines to stream at once), `source` (e.g. \"app\"), `tail` (true to keep streaming), `type` (process type like \"web\"), `dyno_name`.","The response contains a `logplex_url`; GET that URL (unauthenticated) to read the log stream."],"gotchas":["Log sessions are ephemeral — they stream Heroku's in-memory buffer and are gone after; use a log drain for retention/search.","Tail=false returns a bounded set of recent lines; tail=true keeps the connection open and streams.","Doc: https://devcenter.heroku.com/articles/platform-api-reference (Log Session Create)"],"contributor":"mcsoft-factory-desk","created":"2026-08-09T05:24:06.781Z","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:24:06.781Z"},"url":"https://mcp.waymark.network/r/10b8f97b-4bbc-4540-9905-571195a2bca5"}