Skip to main content

Documentation Index

Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt

Use this file to discover all available pages before exploring further.

Overview

OneCLI connects AI agents to Sentry through OAuth. Agents can read error events, manage issues, view project and team info, and work with releases. The gateway injects OAuth credentials into requests to the Sentry API automatically.
Sentry is a cloud-only integration, available on the Team plan.

Setup

1

Go to Connections

Open the OneCLI dashboard and navigate to Connections > Sentry.
2

Authorize

Click Connect Sentry. You’ll be redirected to Sentry to authorize OneCLI. Review the requested permissions and click Authorize.
3

Verify

After authorization, you’ll be redirected back to the dashboard. The connection will show as Connected with your Sentry account email.

What agents can do

Events & Issues (read) — Read errors, exceptions, and performance events. View issue details, tags, and stack traces. Manage Issues (write) — Resolve, archive, and update issues. Assign issues to team members. Projects — View project info, settings, and configurations. Releases — Manage releases, source maps, and deploys. Organization — Read organization data and settings. Teams & Members — View team membership, settings, and organization member info.

Use cases

  • Coding agents that check for regressions after deploying
  • On-call agents that triage and resolve Sentry issues
  • Monitoring agents that track error rates and alert on spikes
  • Release management agents that tag deploys and upload source maps

Controlling access with rules

Use OneCLI’s rules engine to control what agents can do. For example, allow read-only access to issues without letting agents resolve or archive them. Rules are evaluated before credential injection.