# Sentry CLI ## Docs - [AI Agent Integration](https://mintlify.wiki/getsentry/cli/advanced/ai-agents.md): Integrate Sentry CLI with AI coding agents like Cursor, Claude, and other AI assistants - [CI/CD Integration](https://mintlify.wiki/getsentry/cli/advanced/ci-cd.md): Integrate Sentry CLI into your continuous integration and deployment pipelines - [Configuration File](https://mintlify.wiki/getsentry/cli/advanced/configuration-file.md): SQLite database structure, schema, and cache management - [Environment Variables](https://mintlify.wiki/getsentry/cli/advanced/environment-variables.md): Complete reference of all environment variables supported by the Sentry CLI - [Scripting & Automation](https://mintlify.wiki/getsentry/cli/advanced/scripting.md): Build automation scripts using Sentry CLI's JSON output and programmatic APIs - [Troubleshooting](https://mintlify.wiki/getsentry/cli/advanced/troubleshooting.md): Common issues, debugging techniques, and error message reference - [sentry api](https://mintlify.wiki/getsentry/cli/commands/api.md): Make authenticated API requests to Sentry - [sentry auth login](https://mintlify.wiki/getsentry/cli/commands/auth/login.md): Authenticate with Sentry using OAuth or an API token - [sentry auth logout](https://mintlify.wiki/getsentry/cli/commands/auth/logout.md): Log out of Sentry and remove stored authentication credentials - [sentry auth refresh](https://mintlify.wiki/getsentry/cli/commands/auth/refresh.md): Refresh your authentication token - [sentry auth status](https://mintlify.wiki/getsentry/cli/commands/auth/status.md): View authentication status and verify credentials - [sentry auth token](https://mintlify.wiki/getsentry/cli/commands/auth/token.md): Print the stored authentication token - [sentry auth whoami](https://mintlify.wiki/getsentry/cli/commands/auth/whoami.md): Show the currently authenticated user - [sentry cli feedback](https://mintlify.wiki/getsentry/cli/commands/cli/feedback.md): Send feedback about the Sentry CLI - [sentry cli fix](https://mintlify.wiki/getsentry/cli/commands/cli/fix.md): Diagnose and repair CLI database issues - [sentry cli setup](https://mintlify.wiki/getsentry/cli/commands/cli/setup.md): Configure shell integration for Sentry CLI - [sentry cli upgrade](https://mintlify.wiki/getsentry/cli/commands/cli/upgrade.md): Update Sentry CLI to the latest or a specific version - [sentry event view](https://mintlify.wiki/getsentry/cli/commands/event/view.md): View detailed information about a Sentry event - [sentry issue explain](https://mintlify.wiki/getsentry/cli/commands/issue/explain.md): Get AI-powered root cause analysis for a Sentry issue using Seer AI - [sentry issue list](https://mintlify.wiki/getsentry/cli/commands/issue/list.md): List issues from Sentry projects with automatic detection, pagination, and filtering - [sentry issue plan](https://mintlify.wiki/getsentry/cli/commands/issue/plan.md): Generate a solution plan for a Sentry issue using Seer AI with specific implementation steps - [sentry issue view](https://mintlify.wiki/getsentry/cli/commands/issue/view.md): View detailed information about a specific Sentry issue including the latest event and span tree - [sentry log list](https://mintlify.wiki/getsentry/cli/commands/log/list.md): List and stream logs from Sentry projects - [sentry log view](https://mintlify.wiki/getsentry/cli/commands/log/view.md): View detailed information about a specific Sentry log entry - [sentry org list](https://mintlify.wiki/getsentry/cli/commands/org/list.md): List organizations that you have access to - [sentry org view](https://mintlify.wiki/getsentry/cli/commands/org/view.md): View detailed information about a Sentry organization - [sentry project create](https://mintlify.wiki/getsentry/cli/commands/project/create.md): Create a new Sentry project in an organization - [sentry project list](https://mintlify.wiki/getsentry/cli/commands/project/list.md): List projects in an organization with pagination and flexible targeting - [sentry project view](https://mintlify.wiki/getsentry/cli/commands/project/view.md): View detailed information about Sentry projects - [sentry repo list](https://mintlify.wiki/getsentry/cli/commands/repo/list.md): List repositories connected to a Sentry organization - [sentry team list](https://mintlify.wiki/getsentry/cli/commands/team/list.md): List teams in a Sentry organization - [sentry trace list](https://mintlify.wiki/getsentry/cli/commands/trace/list.md): List recent traces in a Sentry project - [sentry trace logs](https://mintlify.wiki/getsentry/cli/commands/trace/logs.md): List and stream logs for a specific trace - [sentry trace view](https://mintlify.wiki/getsentry/cli/commands/trace/view.md): View detailed information about a distributed trace - [Authentication](https://mintlify.wiki/getsentry/cli/concepts/authentication.md): How Sentry CLI authenticates with Sentry using OAuth device flow, token storage, and environment variables - [DSN Auto-Detection](https://mintlify.wiki/getsentry/cli/concepts/dsn-detection.md): How Sentry CLI automatically detects DSN from source code, environment files, and environment variables - [Monorepo Support](https://mintlify.wiki/getsentry/cli/concepts/monorepo-support.md): How Sentry CLI handles monorepos with multiple projects, alias generation, and package path tracking - [Project Resolution](https://mintlify.wiki/getsentry/cli/concepts/project-resolution.md): How Sentry CLI resolves organization and project from CLI arguments, environment variables, config defaults, and DSN detection - [AI-Powered Debugging with Seer](https://mintlify.wiki/getsentry/cli/guides/ai-debugging.md): Use Seer AI to analyze root causes and generate solution plans for Sentry issues - [Configuration](https://mintlify.wiki/getsentry/cli/guides/configuration.md): Configure Sentry CLI with config directory, database, defaults, and environment variables - [JSON Output for Scripting](https://mintlify.wiki/getsentry/cli/guides/json-output.md): Use --json flag to parse CLI output in scripts and automation - [Self-Hosted Sentry Configuration](https://mintlify.wiki/getsentry/cli/guides/self-hosted.md): Configure Sentry CLI to work with self-hosted Sentry instances - [Installation](https://mintlify.wiki/getsentry/cli/installation.md): Install Sentry CLI using the install script, Homebrew, npm, pnpm, bun, or run it directly with npx. Multiple methods available for all platforms. - [Introduction to Sentry CLI](https://mintlify.wiki/getsentry/cli/introduction.md): A command-line interface for Sentry built for developers and AI agents, featuring zero-config project detection, AI-powered debugging, and comprehensive API access. - [Quick Start Guide](https://mintlify.wiki/getsentry/cli/quickstart.md): Get started with Sentry CLI in minutes. Learn how to authenticate, run your first commands, and leverage automatic project detection.