Skip to content
← Public packages

@kentcdodds/sentry

Inspect Sentry organizations, projects, issues, and event summaries.

README.md

33 lines · 1.3 KB · Markdown

@kentcdodds/sentry

Intent

Headless Sentry utilities for Kody workflows — organizations, projects, issue search, event summaries, and agent-ready triage using the sentryAuthToken secret. The low-level REST layer is a thin OpenAPI-scaffolded client (listorganizations, listorganizationprojects, listorganizationissues) plus a small escape-hatch request helper for endpoints missing from Sentry's public OpenAPI inventory (e.g. latest issue event).

What it does

  • Lists organizations and projects the auth token can reach
  • Searches / lists issues via search-issues or alias list-issues (optional pagination and latest-event summaries)
  • Fetches one issue, its events, or the latest event
  • Summarizes events and builds agent-ready triage bundles
  • Calls uncommon Sentry REST paths via request

Prerequisites / setup

  1. User secret sentryAuthToken (bearer token on every API call).
  2. Host approval for sentry.io on that secret.
  3. Agents: import paths and read-only smoke checks live in AGENTS.md.

Never paste the token value into chat or docs.

Done when

  • list-organizations returns the expected org(s)
  • Issue search / get-issue / triage-issue succeed against a known issue id
  • Uncovered REST paths work through request when needed