ワンクリックで
sentry
Query Sentry issues, events, and releases for error monitoring and triage
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Query Sentry issues, events, and releases for error monitoring and triage
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Query and search AWS CloudWatch Logs and run Logs Insights queries
Query events, run HogQL analytics, and access product data
Analyze the codebase database schema, query patterns, and business domain to build a data-agent skill. Use when setting up a new project, after schema changes, or when the data-agent skill needs updating.
Configure the Byaan MCP server in AI coding assistants (Claude Code, Cursor, Codex CLI). Detects the local project, builds the correct stdio config, and installs it into the chosen tool. Only works for local/community mode — not the Mac desktop app.
Initialize Byaan development environment using Docker. Builds and starts backend and frontend containers with SQLite, opens the browser, learns the codebase, and configures MCP. Use when setting up the project for the first time.
Manage issues, projects, and cycles in Linear
| name | sentry |
| display_name | Sentry |
| description | Query Sentry issues, events, and releases for error monitoring and triage |
| emoji | 🛡️ |
| homepage | https://sentry.io |
| api | {"base_url":"https://sentry.io/api/0","domain":"sentry.io","type":"rest","auth":{"type":"bearer"}} |
| credentials | [{"key":"api_key","label":"Auth Token","placeholder":"sntrys_...","help":"Organization auth token from Sentry → Settings → Developer Settings → Organization Tokens. Starts with 'sntrys_'."},{"key":"organization_slug","label":"Organization Slug","placeholder":"my-org","help":"From your Sentry URL: sentry.io/organizations/<slug>/ — or Settings → General Settings."},{"key":"project_slugs","label":"Projects (optional)","placeholder":"backend, frontend","help":"Comma-separated project slugs to use as defaults. The agent can still explore other projects if needed.","optional":true}] |
Use the Sentry API to list and inspect error issues, query event data, and track releases. All access is read-only.
Organization tokens are recommended over personal tokens — they are not tied to a user account, so they keep working if the creator leaves the org.
sntrys_) — it is shown only onceOrganization tokens carry a fixed read-oriented permission set (org:read, project:read, event:read, project:releases), which is exactly what this skill needs. If you need custom scopes instead, create an Internal Integration (Settings → Custom Integrations) and use its token.
Your organization slug appears in every Sentry URL: https://sentry.io/organizations/<slug>/. Enter it in the skill settings.
The default base URL is https://sentry.io/api/0 and works for US-region SaaS organizations.
| Deployment | Base URL |
|---|---|
| SaaS (US region) | https://sentry.io/api/0 |
| SaaS (EU region) | https://de.sentry.io/api/0 |
| Self-hosted | https://your-sentry-domain/api/0 |
EU-region or self-hosted organizations need the base URL adjusted — create a custom skill pointing at the right host, reusing the endpoints documented here.
You do not need to handle authentication manually. When you call execute_skill_api(), the system automatically adds the Authorization: Bearer <token> header.
Note: Replace {organization_slug} in endpoint paths with the value from the credentials (credentials["organization_slug"]). It is not substituted automatically.
execute_skill_api(
skill_name="sentry",
endpoint_path="/organizations/{organization_slug}/issues/?query=is:unresolved&statsPeriod=24h",
method="GET"
)
GET /organizations/{organization_slug}/projects/
Returns project slugs, ids, and platforms. Check credentials["project_slugs"] first — if the user pre-configured default projects, scope queries to those unless asked otherwise.
GET /organizations/{organization_slug}/issues/?query=is:unresolved&statsPeriod=24h&sort=freq&project=-1
Query params:
query — Sentry search syntax (defaults to is:unresolved; pass query= empty for all)statsPeriod — relative window: 1h, 24h, 14d, 90dsort — date (last seen), freq (event count), new (first seen), user (users affected)project — numeric project id; -1 for all projectsper_page — up to 100Each issue includes id, title, culprit, level, count, userCount, firstSeen, lastSeen, permalink.
is:unresolved / is:resolved / is:ignoredlevel:error, level:fatalrelease:1.2.0, firstRelease:1.2.0assigned:user@example.com, is:unassignedenvironment:productionis:unresolved level:error environment:productionGET /organizations/{organization_slug}/issues/{issue_id}/
Includes full metadata, stats buckets (stats.24h / stats.30d time series usable for charts), and counts.
GET /organizations/{organization_slug}/issues/{issue_id}/events/?per_page=25
Individual occurrences with tags, message, and timestamps. Use the latest event to inspect stack traces and context.
GET /organizations/{organization_slug}/events/?field=title&field=count()&query=event.type:error&statsPeriod=24h&sort=-count
field — up to 20 fields; built-ins (title, release, environment, user.email), tags via tag[name], aggregates like count(), count_unique(user), p95(transaction.duration)query — same search DSL, supports boolean groupingsort — must be one of the requested fields, prefix - for descendingThis returns a flat table — ideal for dashboards. It is intended for aggregation, not bulk export.
GET /organizations/{organization_slug}/releases/?per_page=50
Optional query= substring-matches the version. Useful for "did the last deploy introduce errors" analysis: get recent releases, then filter issues with firstRelease:<version>.
Sentry paginates with Link response headers, which are not surfaced by execute_skill_api. Instead of paginating:
per_page=100 (the maximum)query, statsPeriod, or project filtersIf a result set is clearly truncated at 100 rows, tell the user and suggest a narrower filter.
Limits are enforced per endpoint with standard headers; a 429 includes Retry-After. Space out polling and avoid tight loops over many issues.
GET /organizations/{slug}/issues/?query=is:unresolved&statsPeriod=24h&sort=freq — top issues by volumestats.24h) and users affectedGET /organizations/{slug}/releases/ — find the latest versionGET /organizations/{slug}/issues/?query=firstRelease:<version> — issues introduced by itUse the Discover events endpoint with count() aggregates, or an issue's stats buckets. Save with save_skill_query so dashboards re-fetch live data.
Sentry events carry tags (request ids, user ids). Query the database for affected records, then search issues/events for the same identifiers to build a unified incident picture — same pattern as the CloudWatch skill.
| Error | Likely Cause | Fix |
|---|---|---|
401 Unauthorized | Invalid or revoked token | Recreate the organization token and update the skill credentials |
403 Forbidden | Token lacks a scope | Use an organization token, or an internal integration with org:read, project:read, event:read |
404 on org endpoints | Wrong organization slug, or org lives in another region | Verify the slug; EU-region orgs need the de.sentry.io base URL |
| Empty issue list | Default is:unresolved filter hides resolved issues | Pass query= explicitly, widen statsPeriod |
| Results capped at 100 | Link-header pagination not available | Narrow filters or use aggregated Discover queries |