> ## Documentation Index
> Fetch the complete documentation index at: https://squad.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Sentry

> What agents can do in Sentry at each access level, and how to connect, limit, and disconnect Sentry.

Connect Sentry so your agents can work in your Sentry account. You choose an access level for each account, and Squad refuses any agent action outside that level.

## Access levels

Each Sentry account has an access level: **Read-only**, **Read + write**, and **Full access**. Squad refuses any agent action outside that level. You can also narrow or block single agents under **Per-agent access**.

| Level                          | The connect window describes this level as          | Actions agents can use |
| ------------------------------ | --------------------------------------------------- | ---------------------- |
| **Read-only**                  | "Read orgs, projects, issues, events, and members." | 112 of 211             |
| **Read + write** (recommended) | "Create projects, resolve issues, manage teams."    | 180 of 211             |
| **Full access**                | "Admin scopes for orgs, projects, and teams."       | 211 of 211             |

**Read + write** is the recommended level. The connect window selects it for you, and you can choose another level.

The Sentry sign-in page asks you to approve full access to your account. This is expected. Squad does not narrow the sign-in. It checks every agent action against the level you chose, and it refuses actions outside that level.

## What agents can do at each level

Each level opens with a short summary in plain tasks, then lists every action it adds, grouped by what the action works on. You do not need to name actions. Ask in plain words, and the agent searches for the matching action.

<Tip>**Find an action.** Open a level and use your browser's find (Ctrl+F, or Cmd+F on a Mac) with a word from the task or part of a slug. Or ask your agent in plain words, for example "What can you do in my Sentry account?" The agent can search the Sentry actions for you.</Tip>

Each action shows its name, a one-line description where the Sentry action catalog has one, and its slug. The slug is the ID that agents use when they call the action.

<AccordionGroup>
  <Accordion title="Read-only">
    Agents can use 112 of the 211 Sentry actions at this level:

    * View and search events
    * View files
    * View monitors
    * View lists
    * View replays
    * View rules
    * View teams
    * View alerts
    * View commits
    * View environments
    * View issues
    * View keys

    All 112 actions at this level:

    <AccordionGroup>
      <Accordion title="Alerts (3)">
        | Action         | What it does                                                              | Slug                    |
        | -------------- | ------------------------------------------------------------------------- | ----------------------- |
        | Fetch alerts   | Retrieves a list of alerts (workflows) for a Sentry organization.         | `SENTRY_FETCH_ALERTS`   |
        | Fetch an alert | Retrieves detailed information for a specific alert workflow.             | `SENTRY_FETCH_AN_ALERT` |
        | Get alerts     | Retrieve all combined alert rules and monitors for a Sentry organization. | `SENTRY_GET_ALERTS`     |
      </Accordion>

      <Accordion title="Commits (3)">
        | Action                                 | What it does                                                                                                       | Slug                                            |
        | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------- |
        | Retrieve commits for organization repo | Retrieves a list of commits for a given repository within a Sentry organization.                                   | `SENTRY_RETRIEVE_COMMITS_FOR_ORGANIZATION_REPO` |
        | Retrieve organization release commits  | Retrieves a list of commits for a given release version in an existing Sentry organization, if the release exists. | `SENTRY_RETRIEVE_ORGANIZATION_RELEASE_COMMITS`  |
        | Retrieve release commits               | Retrieves a list of commits associated with a specific release version within a Sentry project.                    | `SENTRY_RETRIEVE_RELEASE_COMMITS`               |
      </Accordion>

      <Accordion title="Dashboards (2)">
        | Action                          | What it does                                                                                 | Slug                                     |
        | ------------------------------- | -------------------------------------------------------------------------------------------- | ---------------------------------------- |
        | List organization dashboards    | Retrieves a list of custom dashboards for a Sentry organization, with pagination support.    | `SENTRY_LIST_ORGANIZATION_DASHBOARDS`    |
        | Retrieve organization dashboard | Fetches detailed information about a specific custom dashboard within a Sentry organization. | `SENTRY_RETRIEVE_ORGANIZATION_DASHBOARD` |
      </Accordion>

      <Accordion title="Deployments (1)">
        | Action                       | What it does                                                                                                                                          | Slug                                  |
        | ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- |
        | Retrieve release deployments | Retrieves a list of all deployment records for a specific release version in an organization, detailing each deployment's environment and timestamps. | `SENTRY_RETRIEVE_RELEASE_DEPLOYMENTS` |
      </Accordion>

      <Accordion title="Email addresses (1)">
        | Action                          | What it does                                                                                   | Slug                                     |
        | ------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------- |
        | Retrieve user email information | Retrieves a list of email addresses for an existing Sentry user, identified by their user\_id. | `SENTRY_RETRIEVE_USER_EMAIL_INFORMATION` |
      </Accordion>

      <Accordion title="Environments (3)">
        | Action                            | What it does                                                                                       | Slug                                       |
        | --------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------ |
        | Fetch project environment details | Retrieves detailed information for a specific environment within a Sentry project.                 | `SENTRY_FETCH_PROJECT_ENVIRONMENT_DETAILS` |
        | Get organization environments     | Lists deployment environments for a Sentry organization, optionally filtered by visibility status. | `SENTRY_GET_ORGANIZATION_ENVIRONMENTS`     |
        | Retrieve project environments     | Retrieves a list of environments for an existing project within a Sentry organization.             | `SENTRY_RETRIEVE_PROJECT_ENVIRONMENTS`     |
      </Accordion>

      <Accordion title="Events (9)">
        | Action                                    | What it does                                                                                                                                          | Slug                                               |
        | ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
        | Fetch issue event by ID                   | Retrieves the 'latest', 'oldest', or 'recommended' event for a Sentry issue within an organization, optionally filtered by environment(s).            | `SENTRY_FETCH_ISSUE_EVENT_BY_ID`                   |
        | Get oldest event                          |                                                                                                                                                       | `SENTRY_GET_OLDEST_EVENT`                          |
        | Get project events                        | Retrieves a list of error events for a specified project within a Sentry organization, with options for pagination and detail level.                  | `SENTRY_GET_PROJECT_EVENTS`                        |
        | Query explore events in timeseries format | Retrieves explore data for a given organization as a timeseries.                                                                                      | `SENTRY_QUERY_EXPLORE_EVENTS_IN_TIMESERIES_FORMAT` |
        | Retrieve event ID for organization        | Resolves a Sentry event ID to its project and issue details within an accessible Sentry organization.                                                 | `SENTRY_RETRIEVE_EVENT_ID_FOR_ORGANIZATION`        |
        | Retrieve issue events by ID               | Retrieves events for a specified Sentry issue\_id, which must be an existing issue.                                                                   | `SENTRY_RETRIEVE_ISSUE_EVENTS_BY_ID`               |
        | Retrieve organization events              | Retrieves Discover event data for a Sentry organization.                                                                                              | `SENTRY_RETRIEVE_ORGANIZATION_EVENTS`              |
        | Retrieve project event by ID              | Retrieves detailed information for a specific Sentry event using its ID, organization identifier, and project identifier.                             | `SENTRY_RETRIEVE_PROJECT_EVENT_BY_ID`              |
        | Retrieve source map debug event           | Retrieves detailed debug information for diagnosing source map processing issues for a specific Sentry event, stack trace frame, and exception index. | `SENTRY_RETRIEVE_SOURCE_MAP_DEBUG_EVENT`           |
      </Accordion>

      <Accordion title="Files (6)">
        | Action                                | What it does                                                                                                                                            | Slug                                           |
        | ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
        | Fetch project release files           | Retrieves artifact files (e.g., source maps, debug information files) for a specific release version in a Sentry project.                               | `SENTRY_FETCH_PROJECT_RELEASE_FILES`           |
        | Retrieve commit files for release     | Retrieves files changed in commits for a specified Sentry release.                                                                                      | `SENTRY_RETRIEVE_COMMIT_FILES_FOR_RELEASE`     |
        | Retrieve dsym files for project       | Retrieve a list of debug information files (dSYM files) for a specified Sentry project, used for symbolication to display human-readable stack traces.  | `SENTRY_RETRIEVE_DSYM_FILES_FOR_PROJECT`       |
        | Retrieve files for release            | Retrieves artifact files for a specific release version in a Sentry organization.                                                                       | `SENTRY_RETRIEVE_FILES_FOR_RELEASE`            |
        | Retrieve project release file details | Retrieves metadata (default) or raw content (if download is true) for a specific file within a Sentry project's release version.                        | `SENTRY_RETRIEVE_PROJECT_RELEASE_FILE_DETAILS` |
        | Retrieve release file by ID           | Retrieves a specific file's content or its metadata from a Sentry release, using the download parameter to choose between raw content or JSON metadata. | `SENTRY_RETRIEVE_RELEASE_FILE_BY_ID`           |
      </Accordion>

      <Accordion title="Filters (1)">
        | Action                       | What it does                                                                                                                                       | Slug                                  |
        | ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- |
        | Retrieve project filter data | Retrieves a Sentry project's current data filtering settings, used to ignore events from sources like localhost, web crawlers, or legacy browsers. | `SENTRY_RETRIEVE_PROJECT_FILTER_DATA` |
      </Accordion>

      <Accordion title="Groups (2)">
        | Action                            | What it does                                                                 | Slug                                       |
        | --------------------------------- | ---------------------------------------------------------------------------- | ------------------------------------------ |
        | Get SCIM group by team ID         | Retrieves SCIM group information for a specific Sentry team.                 | `SENTRY_GET_SCIM_GROUP_BY_TEAM_ID`         |
        | Retrieve organization SCIM groups | Retrieves a paginated list of SCIM groups (teams) for a Sentry organization. | `SENTRY_RETRIEVE_ORGANIZATION_SCIM_GROUPS` |
      </Accordion>

      <Accordion title="Installed apps (1)">
        | Action                                        | What it does                                                                             | Slug                                                   |
        | --------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------------ |
        | Get Sentry app installations for organization | Retrieves a list of Sentry App installations for a given organization, which must exist. | `SENTRY_GET_SENTRY_APP_INSTALLATIONS_FOR_ORGANIZATION` |
      </Accordion>

      <Accordion title="Integrations (2)">
        | Action                                      | What it does                                                                                                                                                             | Slug                                                 |
        | ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------- |
        | Get integration details by org              | Retrieves details for a specific integration, identified by integration\_id, installed within an existing Sentry organization, identified by organization\_id\_or\_slug. | `SENTRY_GET_INTEGRATION_DETAILS_BY_ORG`              |
        | Retrieve a custom integration by ID or slug | Retrieves detailed information about a custom integration (Sentry App) by its slug.                                                                                      | `SENTRY_RETRIEVE_A_CUSTOM_INTEGRATION_BY_ID_OR_SLUG` |
      </Accordion>

      <Accordion title="Issues (5)">
        | Action                                               | What it does                                                                                                                                               | Slug                                                          |
        | ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- |
        | Get organization issue details                       | Retrieves detailed information for a specific issue within a Sentry organization.                                                                          | `SENTRY_GET_ORGANIZATION_ISSUE_DETAILS`                       |
        | List an organizations issues                         | Returns a list of issues (error groups) for an organization.                                                                                               | `SENTRY_LIST_AN_ORGANIZATIONS_ISSUES`                         |
        | Retrieve custom integ issue links given Sentry issue | Retrieves all external issue links for a Sentry issue.                                                                                                     | `SENTRY_RETRIEVE_CUSTOM_INTEG_ISSUE_LINKS_GIVEN_SENTRY_ISSUE` |
        | Retrieve issue hashes for organization               | Retrieves a list of grouping checksums (hashes) generated by Sentry for a specific issue within an organization, used for understanding event aggregation. | `SENTRY_RETRIEVE_ISSUE_HASHES_FOR_ORGANIZATION`               |
        | Retrieve seer issue fix state                        | Retrieves the current detailed state of an AI-assisted autofix process for a Sentry issue.                                                                 | `SENTRY_RETRIEVE_SEER_ISSUE_FIX_STATE`                        |
      </Accordion>

      <Accordion title="Keys (3)">
        | Action                                   | What it does                                                                                                                | Slug                                              |
        | ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- |
        | List an organization s client keys       | Lists all client keys (DSNs) across all projects in an organization.                                                        | `SENTRY_LIST_AN_ORGANIZATION_S_CLIENT_KEYS`       |
        | Retrieve project key details             | Retrieves details of a specific client key (DSN) for a Sentry project, which is used by Sentry SDKs to send event data.     | `SENTRY_RETRIEVE_PROJECT_KEY_DETAILS`             |
        | Retrieve project keys by org and project | Retrieves a list of client keys (DSNs), used by Sentry SDKs to send events, for a specified project within an organization. | `SENTRY_RETRIEVE_PROJECT_KEYS_BY_ORG_AND_PROJECT` |
      </Accordion>

      <Accordion title="Lists (4)">
        | Action                                  | What it does                                                                                                                                           | Slug                                             |
        | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------ |
        | Get project list                        | Lists all Sentry projects the authenticated token has membership access to across all organizations.                                                   | `SENTRY_GET_PROJECT_LIST`                        |
        | Retrieve organization integrations list | Retrieves a list of available integrations for an existing Sentry organization.                                                                        | `SENTRY_RETRIEVE_ORGANIZATION_INTEGRATIONS_LIST` |
        | Retrieve project issues list            | Retrieves a list of issues for a Sentry project, defaulting to unresolved issues unless an empty query string is provided or specific hashes are used. | `SENTRY_RETRIEVE_PROJECT_ISSUES_LIST`            |
        | Retrieve project members list           | Retrieves active organization members belonging to any team assigned to the specified Sentry project.                                                  | `SENTRY_RETRIEVE_PROJECT_MEMBERS_LIST`           |
      </Accordion>

      <Accordion title="Members (3)">
        | Action                         | What it does                                                                                                                                                       | Slug                                    |
        | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------- |
        | Get team members by ID or slug | Retrieves all active members of a Sentry team with detailed user information, roles, and permissions.                                                              | `SENTRY_GET_TEAM_MEMBERS_BY_ID_OR_SLUG` |
        | List organization members      | Lists all members, including those with pending invitations, for a Sentry organization.                                                                            | `SENTRY_LIST_ORGANIZATION_MEMBERS`      |
        | Retrieve organization member   | Retrieves details for a Sentry organization member or pending invitee, including role, teams, and status, using their member ID and the organization's ID or slug. | `SENTRY_RETRIEVE_ORGANIZATION_MEMBER`   |
      </Accordion>

      <Accordion title="Monitors (7)">
        | Action                           | What it does                                                                                                                               | Slug                                      |
        | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------- |
        | Fetch a monitor                  | Fetches detailed information for a specific monitor (detector) within an organization.                                                     | `SENTRY_FETCH_A_MONITOR`                  |
        | Fetch an organizations monitors  | Retrieves monitors (detectors) for a Sentry organization.                                                                                  | `SENTRY_FETCH_AN_ORGANIZATIONS_MONITORS`  |
        | Get project monitor by ID        | Retrieves detailed information for a specific Sentry cron monitor, provided the organization, project, and monitor exist.                  | `SENTRY_GET_PROJECT_MONITOR_BY_ID`        |
        | Retrieve a monitor               | Retrieves detailed information for a specific monitor within an organization.                                                              | `SENTRY_RETRIEVE_A_MONITOR`               |
        | Retrieve monitor checkins        | Retrieves the history of check-ins for a Sentry monitor, providing insights into the health and performance of associated scheduled tasks. | `SENTRY_RETRIEVE_MONITOR_CHECKINS`        |
        | Retrieve monitor checkins by org | Retrieves check-ins (pings/heartbeats of a monitored cron job or task) for a specific monitor within a Sentry organization.                | `SENTRY_RETRIEVE_MONITOR_CHECKINS_BY_ORG` |
        | Retrieve organization monitors   | Retrieves cron monitors for a Sentry organization, including details of nested monitor environments.                                       | `SENTRY_RETRIEVE_ORGANIZATION_MONITORS`   |
      </Accordion>

      <Accordion title="Notifications (2)">
        | Action                                 | What it does                                                                                                                                                    | Slug                                            |
        | -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
        | Retrieve notification action by org ID | Retrieves details for a specific Spike Protection Notification Action, which defines alerts for triggered spike protection rules, within a Sentry organization. | `SENTRY_RETRIEVE_NOTIFICATION_ACTION_BY_ORG_ID` |
        | View organization notification actions | Retrieves Spike Protection notification actions for a Sentry organization, filterable by project IDs or slugs (slugs take precedence).                          | `SENTRY_VIEW_ORGANIZATION_NOTIFICATION_ACTIONS` |
      </Accordion>

      <Accordion title="Organizations (7)">
        | Action                                        | What it does                                                                                                                                                         | Slug                                                   |
        | --------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
        | Get activation of alert rule for organization | DEPRECATED: Retrieves all activations for a specific metric alert rule.                                                                                              | `SENTRY_GET_ACTIVATION_OF_ALERT_RULE_FOR_ORGANIZATION` |
        | Get organization by ID or slug                | Retrieves a Sentry organization by its ID or slug.                                                                                                                   | `SENTRY_GET_ORGANIZATION_BY_ID_OR_SLUG`                |
        | Get organization details                      | Retrieves Sentry organizations accessible via the current authentication, with scope varying between user (all in region) and API key (linked org only) credentials. | `SENTRY_GET_ORGANIZATION_DETAILS`                      |
        | List organizations                            |                                                                                                                                                                      | `SENTRY_LIST_ORGANIZATIONS`                            |
        | Retrieve data forwarders for an organization  | Returns a list of data forwarders for an organization.                                                                                                               | `SENTRY_RETRIEVE_DATA_FORWARDERS_FOR_AN_ORGANIZATION`  |
        | Retrieve short ID for organization            | Resolves a Sentry short ID (e.g., 'PROJECT-1A') to its complete issue details including organization slug, project slug, group ID, and full issue metadata.          | `SENTRY_RETRIEVE_SHORT_ID_FOR_ORGANIZATION`            |
        | Retrieve the custom integs created by an org  | Retrieves custom integrations (Sentry Apps) created by an organization.                                                                                              | `SENTRY_RETRIEVE_THE_CUSTOM_INTEGS_CREATED_BY_AN_ORG`  |
      </Accordion>

      <Accordion title="Projects (5)">
        | Action                          | What it does                                                                                                                   | Slug                                     |
        | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------- |
        | Access project information      | Retrieves detailed information for a Sentry project, given its existing organization and project ID or slug.                   | `SENTRY_ACCESS_PROJECT_INFORMATION`      |
        | Fetch project ownership details | Retrieves the ownership configuration, like CODEOWNERS rules or Issue Owner settings, for a specified Sentry project.          | `SENTRY_FETCH_PROJECT_OWNERSHIP_DETAILS` |
        | Retrieve organization projects  | Retrieves a list of Sentry projects for a specified organization (which must be accessible), supporting pagination via cursor. | `SENTRY_RETRIEVE_ORGANIZATION_PROJECTS`  |
        | Retrieve project symbol sources | Retrieves custom symbol sources for a Sentry project, either listing all or fetching a specific one if its ID is provided.     | `SENTRY_RETRIEVE_PROJECT_SYMBOL_SOURCES` |
        | Retrieve team projects          | Retrieves a list of Sentry projects for a specific team within an organization, supporting pagination via a cursor.            | `SENTRY_RETRIEVE_TEAM_PROJECTS`          |
      </Accordion>

      <Accordion title="Queries (2)">
        | Action                                         | What it does                                                                                                                               | Slug                                                    |
        | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------- |
        | Retrieve saved discover queries                | Retrieves a paginated list of saved Discover queries for a Sentry organization.                                                            | `SENTRY_RETRIEVE_SAVED_DISCOVER_QUERIES`                |
        | Retrieve saved discover query for organization | Retrieves a specific saved Discover query (a predefined set of filters and conditions for exploring event data) for a Sentry organization. | `SENTRY_RETRIEVE_SAVED_DISCOVER_QUERY_FOR_ORGANIZATION` |
      </Accordion>

      <Accordion title="Releases (2)">
        | Action                                        | What it does                                                                                                                                                       | Slug                                                   |
        | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------ |
        | Fetch organization release threshold statuses | Retrieves derived health statuses for release thresholds in a Sentry organization for a given time range, optionally filtered by environment, project, or release. | `SENTRY_FETCH_ORGANIZATION_RELEASE_THRESHOLD_STATUSES` |
        | List organization releases                    | Retrieves a list of releases for an existing Sentry organization, optionally filtering by a query string that matches the start of the release version.            | `SENTRY_LIST_ORGANIZATION_RELEASES`                    |
      </Accordion>

      <Accordion title="Replays (6)">
        | Action                              | What it does                                                                                                                                                                                                                               | Slug                                         |
        | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------- |
        | Fetch organization replay count     | Retrieves the total count of session replays for a specified Sentry organization, filterable by time range, environment, project, and query.                                                                                               | `SENTRY_FETCH_ORGANIZATION_REPLAY_COUNT`     |
        | Fetch organization replay details   | Retrieves detailed information for a specific replay session by ID within a Sentry organization, optionally filtering time-series data using statsPeriod or start/end, and further refining by projects, environments, or specific fields. | `SENTRY_FETCH_ORGANIZATION_REPLAY_DETAILS`   |
        | Fetch organization replay selectors | Retrieves replay selectors (CSS/DOM selectors from session replays) for a Sentry organization.                                                                                                                                             | `SENTRY_FETCH_ORGANIZATION_REPLAY_SELECTORS` |
        | Fetch project replay clicks         | Fetches a list of user click interactions for a specific Sentry session replay, including the clicked DOM element ID and timestamp.                                                                                                        | `SENTRY_FETCH_PROJECT_REPLAY_CLICKS`         |
        | Get who viewed replay by project    | Retrieves users who viewed a specific, existing session replay within a Sentry project and organization.                                                                                                                                   | `SENTRY_GET_WHO_VIEWED_REPLAY_BY_PROJECT`    |
        | Retrieve organization replays       | Fetches session replays for a Sentry organization.                                                                                                                                                                                         | `SENTRY_RETRIEVE_ORGANIZATION_REPLAYS`       |
      </Accordion>

      <Accordion title="Reports (4)">
        | Action                                  | What it does                                                                                                                                                                                                                                   | Slug                                             |
        | --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
        | Get organization stats summary          | Retrieves summarized event statistics for a Sentry organization, aggregated by project, allowing queries for event counts or unique occurrences over a specified time period and resolution, with filtering by project, category, and outcome. | `SENTRY_GET_ORGANIZATION_STATS_SUMMARY`          |
        | Get project event stats                 | Retrieves time-series event statistics for a Sentry project.                                                                                                                                                                                   | `SENTRY_GET_PROJECT_EVENT_STATS`                 |
        | Retrieve aggregated test result metrics | Retrieves aggregated test result metrics for a repository, owner, and organization.                                                                                                                                                            | `SENTRY_RETRIEVE_AGGREGATED_TEST_RESULT_METRICS` |
        | Retrieve organization stats v2          | Retrieves Sentry organization event statistics.                                                                                                                                                                                                | `SENTRY_RETRIEVE_ORGANIZATION_STATS_V2`          |
      </Accordion>

      <Accordion title="Repositories (1)">
        | Action                         | What it does                                                                                                                               | Slug                                    |
        | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------- |
        | List organization repositories | Retrieves a list of version control repositories for a specific Sentry organization, which must exist and is identified by its ID or slug. | `SENTRY_LIST_ORGANIZATION_REPOSITORIES` |
      </Accordion>

      <Accordion title="Rules (4)">
        | Action                                       | What it does                                                                                                     | Slug                                                  |
        | -------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
        | Fetch organization alert rules               | Retrieves a list of active metric alert rules for an existing Sentry organization, identified by its ID or slug. | `SENTRY_FETCH_ORGANIZATION_ALERT_RULES`               |
        | Get project rule details                     | Retrieves detailed information for a specific issue alert rule within a Sentry project.                          | `SENTRY_GET_PROJECT_RULE_DETAILS`                     |
        | Retrieve alert rule details                  | Retrieves detailed information for a specific metric alert rule within a Sentry organization.                    | `SENTRY_RETRIEVE_ALERT_RULE_DETAILS`                  |
        | Retrieve project rules by org and project ID | Retrieves a list of active issue alert rules associated with a specific project within an organization.          | `SENTRY_RETRIEVE_PROJECT_RULES_BY_ORG_AND_PROJECT_ID` |
      </Accordion>

      <Accordion title="Segments (2)">
        | Action                             | What it does                                                                                                                        | Slug                                        |
        | ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------- |
        | Fetch replay recording segment     | Retrieves a specific recording segment for a Sentry replay, requiring valid organization, project, replay, and segment identifiers. | `SENTRY_FETCH_REPLAY_RECORDING_SEGMENT`     |
        | Retrieve replay recording segments | Retrieves a paginated list of recording segments for a specific Sentry replay, used for reconstructing or analyzing the replay.     | `SENTRY_RETRIEVE_REPLAY_RECORDING_SEGMENTS` |
      </Accordion>

      <Accordion title="Sessions (1)">
        | Action                    | What it does                                                                             | Slug                               |
        | ------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------- |
        | Get organization sessions | Retrieves time series data for an organization's Sentry project release health sessions. | `SENTRY_GET_ORGANIZATION_SESSIONS` |
      </Accordion>

      <Accordion title="Settings (1)">
        | Action                          | What it does                                                                                                                          | Slug                                     |
        | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
        | Retrieve org integration config | Retrieves configuration for all integrations, or a specific integration if providerKey is given, for an existing Sentry organization. | `SENTRY_RETRIEVE_ORG_INTEGRATION_CONFIG` |
      </Accordion>

      <Accordion title="Tags (5)">
        | Action                          | What it does                                                                                                                                                                               | Slug                                     |
        | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------- |
        | Fetch tag values for issue      | Retrieves a list of distinct values for a specified tag key associated with an existing Sentry issue, useful for understanding tag manifestations like browser versions or affected users. | `SENTRY_FETCH_TAG_VALUES_FOR_ISSUE`      |
        | List a tags values for an issue | Returns a list of values associated with this key for an issue.                                                                                                                            | `SENTRY_LIST_A_TAGS_VALUES_FOR_AN_ISSUE` |
        | List project tags               |                                                                                                                                                                                            | `SENTRY_LIST_PROJECT_TAGS`               |
        | Retrieve issue tag details      | Retrieves detailed information (e.g., top values, counts) for a specific tag key on an existing Sentry issue.                                                                              | `SENTRY_RETRIEVE_ISSUE_TAG_DETAILS`      |
        | Retrieve project tag values     | Retrieves up to 1000 unique values for a specified tag key that has been recorded for events within a Sentry project.                                                                      | `SENTRY_RETRIEVE_PROJECT_TAG_VALUES`     |
      </Accordion>

      <Accordion title="Teams (4)">
        | Action                                         | What it does                                                                                                                                                                                | Slug                                                    |
        | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
        | List organization user teams                   | Retrieves a list of all teams that the authenticated user has access to within the specified Sentry organization.                                                                           | `SENTRY_LIST_ORGANIZATION_USER_TEAMS`                   |
        | List teams in organization                     | Lists teams for an existing Sentry organization, optionally including project details and supporting pagination via a cursor.                                                               | `SENTRY_LIST_TEAMS_IN_ORGANIZATION`                     |
        | Retrieve project teams                         | Retrieves a list of teams with explicit access to a specific project within a Sentry organization.                                                                                          | `SENTRY_RETRIEVE_PROJECT_TEAMS`                         |
        | Retrieve team info via organization ID or slug | Retrieves detailed information for an existing Sentry team within its organization, optionally expanding related data (e.g., projects) or collapsing sections (e.g., organization details). | `SENTRY_RETRIEVE_TEAM_INFO_VIA_ORGANIZATION_ID_OR_SLUG` |
      </Accordion>

      <Accordion title="Tokens (1)">
        | Action                               | What it does                                                       | Slug                                          |
        | ------------------------------------ | ------------------------------------------------------------------ | --------------------------------------------- |
        | Retrieve paginated repository tokens | Retrieves a paginated list of repository tokens for a given owner. | `SENTRY_RETRIEVE_PAGINATED_REPOSITORY_TOKENS` |
      </Accordion>

      <Accordion title="Usage (1)">
        | Action                            | What it does                                                              | Slug                                       |
        | --------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------ |
        | Retrieve organization relay usage | Retrieves a list of trusted Sentry Relays configured for an organization. | `SENTRY_RETRIEVE_ORGANIZATION_RELAY_USAGE` |
      </Accordion>

      <Accordion title="Users (4)">
        | Action                          | What it does                                                                                                                                                                   | Slug                                     |
        | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------- |
        | List a projects user feedback   | Retrieves a list of legacy user feedback items within a Sentry project.                                                                                                        | `SENTRY_LIST_A_PROJECTS_USER_FEEDBACK`   |
        | List project users              | Retrieves users who have interacted with or are recognized within a specific Sentry project, optionally filtered by a query.                                                   | `SENTRY_LIST_PROJECT_USERS`              |
        | List SCIM v2 organization users | Retrieves a paginated list of SCIM (System for Cross-domain Identity Management) users for a Sentry organization, allowing for filtering, pagination, and attribute exclusion. | `SENTRY_LIST_SCIM_V2_ORGANIZATION_USERS` |
        | Retrieve user via SCIM API      | Retrieves an individual Sentry organization member's details using the SCIM v2 API.                                                                                            | `SENTRY_RETRIEVE_USER_VIA_SCIM_API`      |
      </Accordion>

      <Accordion title="Versions (1)">
        | Action                           | What it does                                                                                                                                | Slug                                      |
        | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
        | Get organization release version | Retrieves detailed information, including optional health data and statistics, for a specific release version within a Sentry organization. | `SENTRY_GET_ORGANIZATION_RELEASE_VERSION` |
      </Accordion>

      <Accordion title="Webhooks (2)">
        | Action                 | What it does                                                                                                                                 | Slug                            |
        | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- |
        | Get project hook       | Retrieves detailed information for an existing service hook within a Sentry project.                                                         | `SENTRY_GET_PROJECT_HOOK`       |
        | Retrieve project hooks | Return a list of service hooks (webhooks) bound to a Sentry project, used to send notifications to external services upon event occurrences. | `SENTRY_RETRIEVE_PROJECT_HOOKS` |
      </Accordion>

      <Accordion title="Other actions (1)">
        | Action              | What it does                                                          | Slug                         |
        | ------------------- | --------------------------------------------------------------------- | ---------------------------- |
        | List seer AI models | Retrieves the list of AI models currently used in production in Seer. | `SENTRY_LIST_SEER_AI_MODELS` |
      </Accordion>
    </AccordionGroup>
  </Accordion>

  <Accordion title="Read + write (recommended)">
    Agents can use 180 of the 211 Sentry actions at this level: everything in **Read-only**, plus:

    * Create and update monitors
    * Create and update files
    * Create and update rules
    * Create, update, and delete teams
    * Create and update alerts
    * Update integrations
    * Create and delete members
    * Update settings
    * Create and update users
    * Update attributes
    * Create and update dashboards
    * Create and update email addresses

    The 68 actions that this level adds to **Read-only**:

    <AccordionGroup>
      <Accordion title="Alerts (3)">
        | Action                              | What it does                                                                                 | Slug                                         |
        | ----------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------- |
        | Create an alert for an organization | Creates a workflow alert for a Sentry organization using the New Monitors and Alerts system. | `SENTRY_CREATE_AN_ALERT_FOR_AN_ORGANIZATION` |
        | Mutate an organization s alerts     | Bulk enable or disable alerts for an organization.                                           | `SENTRY_MUTATE_AN_ORGANIZATION_S_ALERTS`     |
        | Update an alert by ID               | Update an existing Sentry alert (workflow) by ID.                                            | `SENTRY_UPDATE_AN_ALERT_BY_ID`               |
      </Accordion>

      <Accordion title="Associations (1)">
        | Action                          | What it does                                 | Slug                                     |
        | ------------------------------- | -------------------------------------------- | ---------------------------------------- |
        | Delete project team association | Revokes a team's access to a Sentry project. | `SENTRY_DELETE_PROJECT_TEAM_ASSOCIATION` |
      </Accordion>

      <Accordion title="Attributes (2)">
        | Action                                  | What it does                                                                                                                                   | Slug                                             |
        | --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
        | Modify release file attributes          | Updates attributes (e.g., name, distribution) of a specific file within an existing release, identified by organization, version, and file ID. | `SENTRY_MODIFY_RELEASE_FILE_ATTRIBUTES`          |
        | Update issue attributes in organization | Updates specified attributes of an existing Sentry issue within a Sentry organization, leaving other attributes unchanged.                     | `SENTRY_UPDATE_ISSUE_ATTRIBUTES_IN_ORGANIZATION` |
      </Accordion>

      <Accordion title="Branch protection (1)">
        | Action                                 | What it does                                                                                                                                                             | Slug                                            |
        | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------- |
        | Post spike protection for organization | Enables or updates Spike Protection for specified projects (or all projects using \['\$all']) within an existing Sentry organization, to which the projects must belong. | `SENTRY_POST_SPIKE_PROTECTION_FOR_ORGANIZATION` |
      </Accordion>

      <Accordion title="Dashboards (2)">
        | Action                        | What it does                                                                                          | Slug                                   |
        | ----------------------------- | ----------------------------------------------------------------------------------------------------- | -------------------------------------- |
        | Create dashboard with widgets | Creates a Sentry dashboard with widgets for an organization.                                          | `SENTRY_CREATE_DASHBOARD_WITH_WIDGETS` |
        | Update organization dashboard | Updates an existing custom dashboard, allowing modifications to its title, widgets, and data filters. | `SENTRY_UPDATE_ORGANIZATION_DASHBOARD` |
      </Accordion>

      <Accordion title="Email addresses (2)">
        | Action                      | What it does                                                                                                                 | Slug                                 |
        | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ |
        | Add remove user email by ID | Adds or removes a secondary email for an existing Sentry user, determined by whether the email already exists for that user. | `SENTRY_ADD_REMOVE_USER_EMAIL_BY_ID` |
        | Update user email           | Updates the primary email address for a Sentry user.                                                                         | `SENTRY_UPDATE_USER_EMAIL`           |
      </Accordion>

      <Accordion title="Environments (1)">
        | Action                        | What it does                                                              | Slug                                   |
        | ----------------------------- | ------------------------------------------------------------------------- | -------------------------------------- |
        | Update environment visibility | Updates the visibility of a specific environment within a Sentry project. | `SENTRY_UPDATE_ENVIRONMENT_VISIBILITY` |
      </Accordion>

      <Accordion title="Events (1)">
        | Action               | What it does                                                                                           | Slug                          |
        | -------------------- | ------------------------------------------------------------------------------------------------------ | ----------------------------- |
        | Ingest event via dsn | Ingests a single custom event into a Sentry project using its DSN via the Envelope ingestion endpoint. | `SENTRY_INGEST_EVENT_VIA_DSN` |
      </Accordion>

      <Accordion title="Files (4)">
        | Action                              | What it does                                                                                                                                                        | Slug                                         |
        | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- |
        | Update project release file details | Updates the name (path) or distribution identifier of a specific file within an existing project release in Sentry.                                                 | `SENTRY_UPDATE_PROJECT_RELEASE_FILE_DETAILS` |
        | Upload dsyms file to project        | Uploads a dSYM (debug symbols) zip archive, containing an Apple .dSYM folder, to the specified Sentry project for symbolicating crash reports from Apple platforms. | `SENTRY_UPLOAD_DSYMS_FILE_TO_PROJECT`        |
        | Upload file to project release      | Uploads a file to a Sentry project release, for an existing organization, project, and version.                                                                     | `SENTRY_UPLOAD_FILE_TO_PROJECT_RELEASE`      |
        | Upload release file to organization | Uploads a new file, such as a source map or debug information, to an existing release version in a Sentry organization.                                             | `SENTRY_UPLOAD_RELEASE_FILE_TO_ORGANIZATION` |
      </Accordion>

      <Accordion title="Filters (1)">
        | Action                       | What it does                                                                                | Slug                                  |
        | ---------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------- |
        | Toggle project filter status | Updates the status or configuration of a specific inbound data filter for a Sentry project. | `SENTRY_TOGGLE_PROJECT_FILTER_STATUS` |
      </Accordion>

      <Accordion title="Groups (2)">
        | Action                             | What it does                                                                                                                                            | Slug                                        |
        | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------- |
        | Create SCIM group for organization | Creates a new Sentry team (SCIM group) within an organization via the SCIM API.                                                                         | `SENTRY_CREATE_SCIM_GROUP_FOR_ORGANIZATION` |
        | Patch SCIM group operations        | Performs SCIM PATCH operations (RFC 7644) to update attributes of a SCIM-enabled Sentry team, provided SCIM integration is active for the organization. | `SENTRY_PATCH_SCIM_GROUP_OPERATIONS`        |
      </Accordion>

      <Accordion title="Integrations (3)">
        | Action                                | What it does                                                                                                                                                                           | Slug                                           |
        | ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
        | Manage team external integrations     | Links an external team or channel (e.g., Slack, GitHub) to an existing Sentry team, using a pre-configured integration for the specified provider and its valid Sentry integration ID. | `SENTRY_MANAGE_TEAM_EXTERNAL_INTEGRATIONS`     |
        | Update an existing custom integration | Updates an existing custom integration (Sentry App) with new configuration.                                                                                                            | `SENTRY_UPDATE_AN_EXISTING_CUSTOM_INTEGRATION` |
        | Update external team integration      | Updates an existing external team integration's display name, provider, Sentry integration ID, or external ID.                                                                         | `SENTRY_UPDATE_EXTERNAL_TEAM_INTEGRATION`      |
      </Accordion>

      <Accordion title="Issues (3)">
        | Action                                  | What it does                                                                                                                                                                  | Slug                                             |
        | --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
        | Bulk mutate an organizations issues     | Bulk mutate various attributes on issues within an organization.                                                                                                              | `SENTRY_BULK_MUTATE_AN_ORGANIZATIONS_ISSUES`     |
        | Start seer issue fix                    | Trigger a Seer Issue Fix run for a specific issue.                                                                                                                            | `SENTRY_START_SEER_ISSUE_FIX`                    |
        | Update project issue status and details | Bulk update attributes of issues in a Sentry project, targeting issues by a list of IDs or by a query status (which implies updating all matching issues if IDs are omitted). | `SENTRY_UPDATE_PROJECT_ISSUE_STATUS_AND_DETAILS` |
      </Accordion>

      <Accordion title="Keys (1)">
        | Action                                         | What it does                                                                                                  | Slug                                                    |
        | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
        | Create project key with optional rate limiting | Creates a new client key (DSN) for an existing Sentry project, with optional custom rate limit configuration. | `SENTRY_CREATE_PROJECT_KEY_WITH_OPTIONAL_RATE_LIMITING` |
      </Accordion>

      <Accordion title="Links (1)">
        | Action                            | What it does                                                                                                                                         | Slug                                       |
        | --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
        | Create Sentry external issue link | Links an existing Sentry issue to an issue in an external service, or updates an existing link, requiring a configured Sentry App installation uuid. | `SENTRY_CREATE_SENTRY_EXTERNAL_ISSUE_LINK` |
      </Accordion>

      <Accordion title="Members (3)">
        | Action                            | What it does                                                                                                                                                    | Slug                                       |
        | --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
        | Add organization member via email | Invites a new member (or re-invites an existing non-accepted member) to a Sentry organization via email, allowing specification of organization and team roles. | `SENTRY_ADD_ORGANIZATION_MEMBER_VIA_EMAIL` |
        | Add team member in organization   | Adds an existing member of an organization to one of its teams.                                                                                                 | `SENTRY_ADD_TEAM_MEMBER_IN_ORGANIZATION`   |
        | Delete member from team           | Removes an organization member from a Sentry team, revoking their team-specific permissions, provided the member is currently part of that team.                | `SENTRY_DELETE_MEMBER_FROM_TEAM`           |
      </Accordion>

      <Accordion title="Monitors (5)">
        | Action                           | What it does                                                                                                                                                                                                                      | Slug                                      |
        | -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
        | Create organization monitor      | Creates a new monitor (type 'cron\_job') within a Sentry organization to track scheduled tasks, allowing configuration of its name, slug (which must be unique if provided), status, owner, and muting preferences for incidents. | `SENTRY_CREATE_ORGANIZATION_MONITOR`      |
        | Mutate an organizations monitors | Bulk enable or disable monitors for an organization.                                                                                                                                                                              | `SENTRY_MUTATE_AN_ORGANIZATIONS_MONITORS` |
        | Update a monitor                 | Updates a monitor's configuration and settings.                                                                                                                                                                                   | `SENTRY_UPDATE_A_MONITOR`                 |
        | Update a monitor by ID           | Updates an existing Sentry monitor (detector) for metric-based issue detection.                                                                                                                                                   | `SENTRY_UPDATE_A_MONITOR_BY_ID`           |
        | Update monitor for project       | Updates a monitor for a project.                                                                                                                                                                                                  | `SENTRY_UPDATE_MONITOR_FOR_PROJECT`       |
      </Accordion>

      <Accordion title="Notifications (2)">
        | Action                                  | What it does                                                                                                                                                                                                                               | Slug                                             |
        | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------ |
        | Modify organization notification action | Modifies an organization's notification action, specifically for spike-protection triggers.                                                                                                                                                | `SENTRY_MODIFY_ORGANIZATION_NOTIFICATION_ACTION` |
        | Submit notification action API data     | Creates a Sentry notification action for 'spike-protection' triggers, requiring integration\_id if service\_type is 'slack', 'pagerduty', or 'opsgenie', and target\_identifier/target\_display if service\_type is 'slack' or 'opsgenie'. | `SENTRY_SUBMIT_NOTIFICATION_ACTION_API_DATA`     |
      </Accordion>

      <Accordion title="Projects (4)">
        | Action                               | What it does                                                                                                                                     | Slug                                          |
        | ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------- |
        | Add a symbol source to a project     | Add a custom symbol source to a Sentry project.                                                                                                  | `SENTRY_ADD_A_SYMBOL_SOURCE_TO_A_PROJECT`     |
        | Create team project for organization | Creates a new Sentry project for an existing organization and team, allowing configuration of its name, slug, platform, and default alert rules. | `SENTRY_CREATE_TEAM_PROJECT_FOR_ORGANIZATION` |
        | Update a projects symbol source      | Updates an existing custom symbol source (HTTP, GCS, or S3) in a project for fetching debug symbols.                                             | `SENTRY_UPDATE_A_PROJECTS_SYMBOL_SOURCE`      |
        | Update project details               | Updates a Sentry project's settings (e.g., name, slug, platform, bookmark status).                                                               | `SENTRY_UPDATE_PROJECT_DETAILS`               |
      </Accordion>

      <Accordion title="Queries (2)">
        | Action                              | What it does                                                                                                                                                                                           | Slug                                         |
        | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------- |
        | Save organization discover query    | Saves a new Discover query with a unique name for a Sentry organization, allowing reuse of search criteria for analyzing event data (errors, transactions) across specified projects and environments. | `SENTRY_SAVE_ORGANIZATION_DISCOVER_QUERY`    |
        | Update saved query for organization | Updates an existing Discover saved query for a Sentry organization.                                                                                                                                    | `SENTRY_UPDATE_SAVED_QUERY_FOR_ORGANIZATION` |
      </Accordion>

      <Accordion title="Releases (3)">
        | Action                                  | What it does                                                                                                                                                | Slug                                             |
        | --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
        | Create release deploy for org           | Creates a new deploy record in Sentry to track the introduction of a release version into a specific environment.                                           | `SENTRY_CREATE_RELEASE_DEPLOY_FOR_ORG`           |
        | Create release for organization         | Creates a new Sentry release for an existing organization, associating it with specified projects that must belong to that organization.                    | `SENTRY_CREATE_RELEASE_FOR_ORGANIZATION`         |
        | Update release details for organization | Updates an existing Sentry release's details for an organization, including its reference, URL, release date, associated commits, or repository references. | `SENTRY_UPDATE_RELEASE_DETAILS_FOR_ORGANIZATION` |
      </Accordion>

      <Accordion title="Roles and permissions (2)">
        | Action                          | What it does                                                                                                                                                                                                                                        | Slug                                     |
        | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
        | Switch team role for member     | Changes a member's role within a Sentry team, ensuring the member is already part of the team and that any organization-level role restrictions are respected.                                                                                      | `SENTRY_SWITCH_TEAM_ROLE_FOR_MEMBER`     |
        | Update organization member role | Updates a Sentry organization member's organization-level role (orgRole) and/or their team roles (teamRoles), ensuring the initiator has permissions equivalent to both the member's current and intended new orgRole if orgRole is being modified. | `SENTRY_UPDATE_ORGANIZATION_MEMBER_ROLE` |
      </Accordion>

      <Accordion title="Rules (4)">
        | Action                          | What it does                                                                                                                                                                                                                                    | Slug                                     |
        | ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
        | Create organization alert rule  | Creates a Sentry metric alert rule for an organization, mandating a 'critical' trigger, typically for a single project, where actions may require Sentry integrations.                                                                          | `SENTRY_CREATE_ORGANIZATION_ALERT_RULE`  |
        | Create project rule for alerts  | Creates a Sentry project alert rule by defining conditions, actions, and optional filters using specific JSON structures (detailed in parameter descriptions) to automate responses to event patterns for an existing organization and project. | `SENTRY_CREATE_PROJECT_RULE_FOR_ALERTS`  |
        | Update organization alert rules | Replaces an existing Sentry metric alert rule's configuration.                                                                                                                                                                                  | `SENTRY_UPDATE_ORGANIZATION_ALERT_RULES` |
        | Update project rule by ID       | Updates an existing Sentry project issue alert rule by rule\_id, completely overwriting it.                                                                                                                                                     | `SENTRY_UPDATE_PROJECT_RULE_BY_ID`       |
      </Accordion>

      <Accordion title="Settings (4)">
        | Action                            | What it does                                                                                                                                                                                                           | Slug                                       |
        | --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
        | Modify organization settings      | Updates settings for a Sentry organization, such as name, slug, member roles, privacy, and integrations.                                                                                                               | `SENTRY_MODIFY_ORGANIZATION_SETTINGS`      |
        | Update project key configuration  | Updates configuration settings (e.g., name, status, rate limits, SDK options) for an existing Sentry client key (DSN), identified by key\_id, within a specified project\_id\_or\_slug and organization\_id\_or\_slug. | `SENTRY_UPDATE_PROJECT_KEY_CONFIGURATION`  |
        | Update project ownership settings | Updates the ownership configuration settings (raw rules, fallthrough, auto-assignment, CODEOWNERS sync) for a Sentry project.                                                                                          | `SENTRY_UPDATE_PROJECT_OWNERSHIP_SETTINGS` |
        | Update webhook configuration xp   | Updates an existing Sentry service hook's target URL and subscribed event types for a given project and organization.                                                                                                  | `SENTRY_UPDATE_WEBHOOK_CONFIGURATION_XP`   |
      </Accordion>

      <Accordion title="Subscriptions (1)">
        | Action                              | What it does                                                                                                                                                                                | Slug                                         |
        | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- |
        | Create project webhook subscription | Registers a new webhook subscription for a Sentry project to send HTTP POST notifications to a specified URL for given events, provided the project has the 'servicehooks' feature enabled. | `SENTRY_CREATE_PROJECT_WEBHOOK_SUBSCRIPTION` |
      </Accordion>

      <Accordion title="Teams (5)">
        | Action                                     | What it does                                                                                                            | Slug                                                |
        | ------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
        | Add team to project                        | Grants a Sentry team access to a Sentry project within the specified Sentry organization.                               | `SENTRY_ADD_TEAM_TO_PROJECT`                        |
        | Create organization team                   | Creates a new team in a Sentry organization, requiring either a 'slug' or 'name' to define the team.                    | `SENTRY_CREATE_ORGANIZATION_TEAM`                   |
        | Delete external team by ID                 | Unlinks a previously established external team from a Sentry team.                                                      | `SENTRY_DELETE_EXTERNAL_TEAM_BY_ID`                 |
        | Delete team by organization or team slug   | Schedules a Sentry team for asynchronous deletion, which releases the team's slug for reuse upon successful scheduling. | `SENTRY_DELETE_TEAM_BY_ORGANIZATION_OR_TEAM_SLUG`   |
        | Update team information by organization ID | Updates the slug for an existing team within a Sentry organization.                                                     | `SENTRY_UPDATE_TEAM_INFORMATION_BY_ORGANIZATION_ID` |
      </Accordion>

      <Accordion title="Users (4)">
        | Action                                | What it does                                                                                                                                                       | Slug                                           |
        | ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------- |
        | Create external user for organization | Links a Sentry user to an external identity provider's user within a Sentry organization.                                                                          | `SENTRY_CREATE_EXTERNAL_USER_FOR_ORGANIZATION` |
        | Create user for SAML integration      | Creates a new Sentry organization member via a SCIM request for SAML integration.                                                                                  | `SENTRY_CREATE_USER_FOR_SAML_INTEGRATION`      |
        | Submit user feedback                  | Submits user feedback tied to a specific Sentry event.                                                                                                             | `SENTRY_SUBMIT_USER_FEEDBACK`                  |
        | Update external user for organization | Updates attributes of an existing external user linkage (identified by external\_user\_id) within a Sentry organization (specified by organization\_id\_or\_slug). | `SENTRY_UPDATE_EXTERNAL_USER_FOR_ORGANIZATION` |
      </Accordion>

      <Accordion title="Other actions (1)">
        | Action              | What it does | Slug                         |
        | ------------------- | ------------ | ---------------------------- |
        | Validate credential |              | `SENTRY_VALIDATE_CREDENTIAL` |
      </Accordion>
    </AccordionGroup>
  </Accordion>

  <Accordion title="Full access">
    Agents can use 211 of the 211 Sentry actions at this level: everything in **Read + write**, plus:

    * Delete issues
    * Delete alerts
    * Delete files
    * Delete integrations
    * Delete monitors
    * Delete rules
    * Delete users
    * Update branch protection
    * Delete dashboards
    * Delete debug files
    * Delete email addresses
    * Delete keys

    The 31 actions that this level adds to **Read + write**:

    <AccordionGroup>
      <Accordion title="Alerts (2)">
        | Action             | What it does                                                        | Slug                        |
        | ------------------ | ------------------------------------------------------------------- | --------------------------- |
        | Delete an alert    | ⚠️ This endpoint is currently in beta and may be subject to change. | `SENTRY_DELETE_AN_ALERT`    |
        | Delete bulk alerts | Bulk delete alerts for a given organization.                        | `SENTRY_DELETE_BULK_ALERTS` |
      </Accordion>

      <Accordion title="Branch protection (1)">
        | Action                   | What it does                                                                           | Slug                              |
        | ------------------------ | -------------------------------------------------------------------------------------- | --------------------------------- |
        | Disable spike protection | Disables Spike Protection feature for specified projects within a Sentry organization. | `SENTRY_DISABLE_SPIKE_PROTECTION` |
      </Accordion>

      <Accordion title="Dashboards (1)">
        | Action                        | What it does                                                                                                    | Slug                                   |
        | ----------------------------- | --------------------------------------------------------------------------------------------------------------- | -------------------------------------- |
        | Delete organization dashboard | Deletes a custom dashboard or tombstones (marks as deleted) a pre-built dashboard within a Sentry organization. | `SENTRY_DELETE_ORGANIZATION_DASHBOARD` |
      </Accordion>

      <Accordion title="Debug files (1)">
        | Action                   | What it does                                                                                                                                           | Slug                              |
        | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------- |
        | Delete dsyms for project | Permanently removes a specific Debug Information File (DIF), used for symbolicating crash reports, from the specified Sentry project and organization. | `SENTRY_DELETE_DSYMS_FOR_PROJECT` |
      </Accordion>

      <Accordion title="Email addresses (1)">
        | Action                   | What it does                                       | Slug                              |
        | ------------------------ | -------------------------------------------------- | --------------------------------- |
        | Delete user emails by ID | Permanently removes a Sentry user's email address. | `SENTRY_DELETE_USER_EMAILS_BY_ID` |
      </Accordion>

      <Accordion title="Files (2)">
        | Action                           | What it does                                                                                                            | Slug                                      |
        | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
        | Delete organization release file | Delete a file from an organization release.                                                                             | `SENTRY_DELETE_ORGANIZATION_RELEASE_FILE` |
        | Delete release file by ID        | Permanently deletes a specific build artifact (e.g., source map, application bundle) associated with a project release. | `SENTRY_DELETE_RELEASE_FILE_BY_ID`        |
      </Accordion>

      <Accordion title="Integrations (2)">
        | Action                          | What it does                                                                | Slug                                     |
        | ------------------------------- | --------------------------------------------------------------------------- | ---------------------------------------- |
        | Delete a custom integration     | Deletes a custom integration (Sentry App) by its ID or slug.                | `SENTRY_DELETE_A_CUSTOM_INTEGRATION`     |
        | Delete organization integration | Permanently removes an integration installation from a Sentry organization. | `SENTRY_DELETE_ORGANIZATION_INTEGRATION` |
      </Accordion>

      <Accordion title="Issues (4)">
        | Action                              | What it does                                                                                                                               | Slug                                         |
        | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------- |
        | Bulk remove an organizations issues | Permanently removes issues from an organization.                                                                                           | `SENTRY_BULK_REMOVE_AN_ORGANIZATIONS_ISSUES` |
        | Delete external issue by UUID       | Unlinks an external issue (e.g., from Jira/GitHub), identified by external\_issue\_id, from the Sentry app installation specified by uuid. | `SENTRY_DELETE_EXTERNAL_ISSUE_BY_UUID`       |
        | Delete organization issue           | Permanently deletes a specific Sentry issue, identified by its ID, from an organization.                                                   | `SENTRY_DELETE_ORGANIZATION_ISSUE`           |
        | Delete project issues               | Permanently removes specified issues from a Sentry project.                                                                                | `SENTRY_DELETE_PROJECT_ISSUES`               |
      </Accordion>

      <Accordion title="Keys (1)">
        | Action             | What it does                                                                                                           | Slug                        |
        | ------------------ | ---------------------------------------------------------------------------------------------------------------------- | --------------------------- |
        | Delete project key | Permanently deletes a specific client key (DSN) for a project, preventing it from being used to send events to Sentry. | `SENTRY_DELETE_PROJECT_KEY` |
      </Accordion>

      <Accordion title="Members (1)">
        | Action                     | What it does                                                                                                                         | Slug                                |
        | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------- |
        | Delete organization member | Permanently removes a member from a Sentry organization, revoking their access to that organization and all its associated projects. | `SENTRY_DELETE_ORGANIZATION_MEMBER` |
      </Accordion>

      <Accordion title="Monitors (2)">
        | Action                      | What it does                                                                                                   | Slug                                 |
        | --------------------------- | -------------------------------------------------------------------------------------------------------------- | ------------------------------------ |
        | Delete organization monitor | Deletes a Sentry cron monitor or, if environment is specified, only specific environments within that monitor. | `SENTRY_DELETE_ORGANIZATION_MONITOR` |
        | Delete project monitor      | Deletes a Sentry monitor, or optionally only its specified environments, for a given project.                  | `SENTRY_DELETE_PROJECT_MONITOR`      |
      </Accordion>

      <Accordion title="Notifications (1)">
        | Action                         | What it does                                                                                                                                                               | Slug                                    |
        | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------- |
        | Delete org notification action | Deletes a specific Spike Protection Notification Action for a Sentry organization, where action\_id must be a valid action associated with the organization\_id\_or\_slug. | `SENTRY_DELETE_ORG_NOTIFICATION_ACTION` |
      </Accordion>

      <Accordion title="Projects (2)">
        | Action                            | What it does                                                                                                                                    | Slug                                       |
        | --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
        | Delete project by ID              | Schedules a Sentry project for asynchronous deletion within a specified organization, hiding it from most public views once the process begins. | `SENTRY_DELETE_PROJECT_BY_ID`              |
        | Delete symbol source from project | Deletes a custom symbol source from a Sentry project.                                                                                           | `SENTRY_DELETE_SYMBOL_SOURCE_FROM_PROJECT` |
      </Accordion>

      <Accordion title="Queries (1)">
        | Action                             | What it does                                                                                                               | Slug                                        |
        | ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------- |
        | Delete organization discover query | Permanently removes a specific saved Discover query (a configuration for exploring event data) from a Sentry organization. | `SENTRY_DELETE_ORGANIZATION_DISCOVER_QUERY` |
      </Accordion>

      <Accordion title="Releases (1)">
        | Action                      | What it does                                                                                                                                          | Slug                                 |
        | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ |
        | Delete organization release | Permanently and irreversibly removes a Sentry release, including all its associated files, identified by its version from the specified organization. | `SENTRY_DELETE_ORGANIZATION_RELEASE` |
      </Accordion>

      <Accordion title="Replays (1)">
        | Action                | What it does                                                                                                                                                                                    | Slug                           |
        | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ |
        | Delete project replay | Permanently deletes a specific Sentry session replay (a video-like reproduction of user interactions, including console logs and network activity) from the specified project and organization. | `SENTRY_DELETE_PROJECT_REPLAY` |
      </Accordion>

      <Accordion title="Rules (2)">
        | Action                         | What it does                                                                                                     | Slug                                    |
        | ------------------------------ | ---------------------------------------------------------------------------------------------------------------- | --------------------------------------- |
        | Delete organization alert rule | Permanently deletes a metric alert rule from a Sentry organization.                                              | `SENTRY_DELETE_ORGANIZATION_ALERT_RULE` |
        | Delete project rule            | Permanently deletes a specific issue alert rule from an existing project within an existing Sentry organization. | `SENTRY_DELETE_PROJECT_RULE`            |
      </Accordion>

      <Accordion title="Teams (1)">
        | Action                       | What it does                                                                                                                                                      | Slug                                  |
        | ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- |
        | Delete team from org SCIM v2 | Permanently and irreversibly deletes a specific team from a Sentry organization via a SCIM v2 request, provided SCIM integration is enabled for the organization. | `SENTRY_DELETE_TEAM_FROM_ORG_SCIM_V2` |
      </Accordion>

      <Accordion title="Users (3)">
        | Action                                   | What it does                                                                                                                                                          | Slug                                              |
        | ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- |
        | Delete external user from organization   | Deletes the link between an external user (from an integration provider like GitHub, Slack, GitLab, or MS Teams) and a Sentry user within the specified organization. | `SENTRY_DELETE_EXTERNAL_USER_FROM_ORGANIZATION`   |
        | Delete user from org                     | Removes a SCIM-managed member from a Sentry organization that has SCIM enabled, permanently revoking their access.                                                    | `SENTRY_DELETE_USER_FROM_ORG`                     |
        | Patch user active status in organization | Deactivates and permanently deletes a Sentry organization member by using a SCIM PATCH operation to set their 'active' attribute to 'false'.                          | `SENTRY_PATCH_USER_ACTIVE_STATUS_IN_ORGANIZATION` |
      </Accordion>

      <Accordion title="Webhooks (1)">
        | Action              | What it does                                                                                                 | Slug                         |
        | ------------------- | ------------------------------------------------------------------------------------------------------------ | ---------------------------- |
        | Delete project hook | Deletes a specific service hook from a Sentry project using its organization, project, and hook identifiers. | `SENTRY_DELETE_PROJECT_HOOK` |
      </Accordion>
    </AccordionGroup>
  </Accordion>
</AccordionGroup>

## Connect Sentry

Before you start:

* You need a Sentry account that you can sign in to.
* Your Squad subscription must be active. Squad does not connect apps while the subscription is not active.

<Steps>
  <Step title="Open Integrations">
    Open **Settings** > **Integrations**.
  </Step>

  <Step title="Add an integration">
    On the **Connected apps** tab, click **+ Add integration**.
  </Step>

  <Step title="Find Sentry">
    Find **Sentry** in the catalog and click it. You can type the name in **Search the catalog…**.
  </Step>

  <Step title="Choose an access level">
    Under **Default scope**, choose an access level. This level applies to every agent.
  </Step>

  <Step title="Click Connect Sentry">
    Click **Connect Sentry**. The Sentry sign-in page opens in a new tab.
  </Step>

  <Step title="Sign in to Sentry">
    Sign in to Sentry and approve the request.
  </Step>
</Steps>

Check that it works: Sentry shows under **YOUR CONNECTIONS**, with a row for the account and its access level.

## Change the access level

1. Under **YOUR CONNECTIONS**, find the Sentry account.
2. Open the account menu (⋯) and click **Manage scope**.
3. Under **Default scope**, choose the new level.
4. Click **Save access**.

The change does not need a new sign-in. Agents get the new level from their next call.

## Set access for one agent

Every agent uses the account's level unless you set something else for it. You can narrow one agent to a lower level, or block it.

1. Under **YOUR CONNECTIONS**, open the account menu (⋯) on the Sentry account.
2. Click **Manage scope**.
3. Under **Per-agent access**, find the agent.
4. Choose the **Default** option to follow the account's level, choose a lower level, or choose **No access**.
5. Click **Save access**.

An agent never gets more than the account's level, even if you choose a higher level for it. Changes apply from the agent's next call. An agent with **No access** does not see the account.

## Use more than one Sentry account

Click **+ Account** on the Sentry card to connect another account. Agents use the primary account unless they are asked to use a specific one.

* After you click **+ Account**, follow the connect steps above.
* Each account has its own access level.
* The first account you connect becomes the primary account. It shows **★ PRIMARY**.
* To change the primary account, open the account menu (⋯) and click **Make primary**.
* To tell accounts apart, open the account menu (⋯) and click **Rename**.

## Reconnect or disconnect

Reconnect when the connection has expired, or when you need to change what the account can reach on the Sentry side:

1. Open the account menu (⋯) and click **Reconnect**.
2. Click **Reauthorize on Sentry**.
3. Sign in to Sentry and approve the request.

Reconnect signs in to the same account again. It does not add a second connection.

Open the account menu (⋯) on the Sentry account and click **Disconnect**. Agents lose access to that account at once.

<Warning>**Disconnect** acts at once, with no confirmation step. If it was the primary account, another connected Sentry account becomes primary.</Warning>

## Costs

Sentry actions do not use Squad credits. Connected apps never use credits. For what does use credits, see [What Squad costs](/docs/costs).

## Troubleshooting

An agent reports that an action is not allowed on this account.

* Cause: the action is outside the account's access level, or outside the level you set for that agent.
* Fix: choose a higher level in **Manage scope**, or change the agent's row under **Per-agent access**.

An agent says it has no access to Sentry, or it does not see the account.

* Cause: the agent is set to **No access** under **Per-agent access**, or the account is not connected.
* Fix: open **Manage scope** and change the agent's row. If the account is missing, connect it again.

Connecting or saving fails with "Your subscription isn't active."

* Cause: your Squad subscription is not active.
* Fix: resubscribe. See [Manage your subscription](/docs/billing).

An agent says the Sentry connection has expired.

* Cause: the sign-in for that account is no longer valid.
* Fix: use **Reconnect** on the account.

## Common questions

<AccordionGroup>
  <Accordion title="Can I limit what agents can do in Sentry?">
    Each Sentry account has an access level: **Read-only**, **Read + write**, and **Full access**. Squad refuses any agent action outside that level. You can also narrow or block single agents under **Per-agent access**.
  </Accordion>

  <Accordion title="Can I connect more than one Sentry account?">
    Click **+ Account** on the Sentry card to connect another account. Agents use the primary account unless they are asked to use a specific one.
  </Accordion>

  <Accordion title="How do I disconnect Sentry?">
    Open the account menu (⋯) on the Sentry account and click **Disconnect**. Agents lose access to that account at once.
  </Accordion>
</AccordionGroup>

## Related pages

<CardGroup cols={2}>
  <Card title="Connect apps" icon="plug" href="/docs/integrations" />

  <Card title="Add an MCP server or an API key" icon="server" href="/docs/custom-integrations">
    Use this when an action you need is not in this app.
  </Card>
</CardGroup>
