Skip to content
Docs GitHub

repo

Work with Sentry repositories

Commands

sentry repo list <org/project>

List repositories

Arguments:

ArgumentDescription
<org/project><org>/ (all projects), <org>/<project>, or <project> (search)

Options:

OptionDescription
-n, --limit <limit>Maximum number of repositories to list (default: "30")
-f, --freshBypass cache, re-detect projects, and fetch fresh data
-c, --cursor <cursor>Navigate pages: "next", "prev", "first" (or raw cursor string)

All commands support --json for machine-readable output and --fields to select specific JSON fields.

Examples

Terminal window
# List repositories (auto-detect org)
sentry repo list
# List repos in a specific org with pagination
sentry repo list my-org/ -c next
# Output as JSON
sentry repo list --json