Commands
repo
Work with Sentry repositories
Commands
Section titled “Commands”sentry repo list [<org/project>]
Section titled “sentry repo list [<org/project>]”List repositories
Arguments:
| Argument | Description |
|---|---|
[<org/project>] |
<org>/ (all), <org>/<name> or <name> (a project, else matching names), or a name glob (<org>/web-*) |
Options:
| Option | Description |
|---|---|
-n, --limit <limit> |
Maximum number of repositories to list (default: "25") |
-f, --fresh |
Bypass cache, re-detect projects, and fetch fresh data |
-c, --cursor <cursor> |
Navigate pages: "next", "prev", "first" (or raw cursor string) |
Examples:
# List repositories (organization auto-detected)sentry repo list
# List repositories in an organizationsentry repo list my-org/
# Fetch the next pagesentry repo list my-org/ -c next
# Only repositories whose name matches a globsentry repo list 'my-org/getsentry/*'
# Repositories named like 'sentry-python' (fuzzy when nothing matches exactly)sentry repo list my-org/sentry-pyhton
# Output as JSONsentry repo list --jsonAll commands support --json for machine-readable output and --fields to select specific JSON fields.