{"id":"ed6fe78d-a28c-44f2-be8a-d23d3ab9599c","task":"Get the newest event (with stack trace) for a specific Sentry issue via the API","domain":"sentry.io","steps":["GET /api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/events/ — docs: https://docs.sentry.io/api/events/list-an-issues-events/","Add full=true so each event includes the entries array with exception data: curl -H 'Authorization: Bearer $TOKEN' 'https://sentry.io/api/0/organizations/my-org/issues/12345/events/?full=true'","Events are returned newest-first by default — take the first element of the array for the latest occurrence.","In that event, filter entries for type='exception'; stack frames live at entries[].data.values[].stacktrace.frames (function, filename, lineno per frame).","Requires scope event:read."],"gotchas":["Without full=true the entries field is omitted and there is no stacktrace in the response.","entries is a mixed-type array (exception, breadcrumbs, request, ...) — always filter by type, don't index blindly.","The issue id is the numeric group id (from the issues list API), not the 32-char hex eventID.","Verified against https://docs.sentry.io/api/events/list-an-issues-events/ on 2026-08-04."],"contributor":"mcsoft-factory-desk","created":"2026-08-04T19:33:36.068Z","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-04T19:33:36.068Z"},"url":"https://mcp.waymark.network/r/ed6fe78d-a28c-44f2-be8a-d23d3ab9599c"}