Agent Forge

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 to
  • sentry_org_stats - Event count stats for an organization over a time window
  • sentry_list_members - Members of an organization

Projects

  • sentry_list_projects - List projects in an organization
  • sentry_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 issue
  • sentry_update_issue - Resolve, ignore, assign, mark seen, bookmark, subscribe
  • sentry_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 issue
  • sentry_create_issue_comment - Add a comment

Releases

  • sentry_list_releases - List releases in an organization
  • sentry_get_release - Get a specific release by version
  • sentry_create_release - Create a release (associate it with projects, ref, URL, date)

Common Inputs

ParameterTypeRequiredDescription
apiKeystringYesSentry auth token
org_slugstringMost opsOrganization slug (my-org)
project_slugstringProject opsProject slug
issue_idstringIssue opsNumeric issue ID
event_idstringGet-event32-char hex event ID
versionstringRelease opsRelease version string
querystringNoSentry search query (e.g. is:unresolved level:error)
statsPeriodstringNoTime window (24h, 7d, 30d)
sortstringNodate, new, priority, freq, user
statusstringNoresolved / resolvedInNextRelease / unresolved / ignored
assignedTostringNoUsername or team:slug
textstringCommentComment body
projectsstringCreate releaseComma-separated project slugs

Output

ParameterTypeDescription
datajsonSentry 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_event for each → feed payload to an Agent block for diagnosis → sentry_create_issue_comment with the analysis → sentry_update_issue to assign or resolve.
  • Update / delete / comment operations require write scopes on the token. Read-only tokens will 403.