Sentry
Read and manage Sentry — issues, events, projects, releases, comments, org stats
Sentry is an application performance and error monitoring platform — it ingests exceptions, logs, and traces from production apps and groups them into issues.
In Agent Forge, the Sentry integration lets workflows triage issues automatically: list unresolved issues, pull raw event payloads (stack traces, breadcrumbs, request data) for an LLM to analyze, post comments on issues, resolve/ignore/assign them, list releases, and pull organization stats. Useful for on-call rotation automation, auto-triage agents, weekly error digests, and anything that needs to feed real production data into your workflows.
This is a bring-your-own-key (BYOK) integration. Each user supplies their own Sentry auth token.
Usage Instructions
Create an auth token at sentry.io → Settings → Account → API → Auth Tokens. The token starts with sntrys_ (org-scoped) or sntryu_ (user-scoped). Grant scopes for the operations you intend to use — typically event:read, project:read, org:read, plus event:write if you want to update / resolve / comment on issues, and project:releases if you want to create releases.
Tokens are passed as Authorization: Bearer <token>. The block does this for you.
Tools
Organization
sentry_list_orgs- List organizations the token has access tosentry_org_stats- Event count stats for an organization over a time windowsentry_list_members- Members of an organization
Projects
sentry_list_projects- List projects in an organizationsentry_get_project- Get a single project
Issues
sentry_list_issues- Search issues with Sentry's query language (is:unresolved,level:error, etc.)sentry_get_issue- Get a single issuesentry_update_issue- Resolve, ignore, assign, mark seen, bookmark, subscribesentry_delete_issue- Permanently delete an issue
Events
sentry_list_issue_events- List events for an issue (optionally with full payload)sentry_get_latest_event- Latest event for an issue (the most useful starting point for triage)sentry_get_event- Get a specific event by ID inside a project
Comments
sentry_list_issue_comments- Comments (notes) on an issuesentry_create_issue_comment- Add a comment
Releases
sentry_list_releases- List releases in an organizationsentry_get_release- Get a specific release by versionsentry_create_release- Create a release (associate it with projects, ref, URL, date)
Common Inputs
| Parameter | Type | Required | Description |
|---|---|---|---|
apiKey | string | Yes | Sentry auth token |
org_slug | string | Most ops | Organization slug (my-org) |
project_slug | string | Project ops | Project slug |
issue_id | string | Issue ops | Numeric issue ID |
event_id | string | Get-event | 32-char hex event ID |
version | string | Release ops | Release version string |
query | string | No | Sentry search query (e.g. is:unresolved level:error) |
statsPeriod | string | No | Time window (24h, 7d, 30d) |
sort | string | No | date, new, priority, freq, user |
status | string | No | resolved / resolvedInNextRelease / unresolved / ignored |
assignedTo | string | No | Username or team:slug |
text | string | Comment | Comment body |
projects | string | Create release | Comma-separated project slugs |
Output
| Parameter | Type | Description |
|---|---|---|
data | json | Sentry response data |
Notes
- Category:
tools - Type:
sentry - BYOK only. The platform does not hold a Sentry token.
- For self-hosted Sentry, this block currently targets sentry.io. To use a self-hosted instance, modify the base URL in
apps/sim/tools/sentry/index.ts. - Common triage workflow:
sentry_list_issues(filter to unresolved) →sentry_get_latest_eventfor each → feed payload to an Agent block for diagnosis →sentry_create_issue_commentwith the analysis →sentry_update_issueto assign or resolve. - Update / delete / comment operations require write scopes on the token. Read-only tokens will 403.