Skip to content
DocsGitHub

team

Work with Sentry teams

List teams

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 teams 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:

Terminal window
# List teams (organization auto-detected)
sentry team list
# List teams in an organization
sentry team list my-org/
# Fetch the next page
sentry team list my-org/ -c next
# Only teams whose slug or name matches a glob
sentry team list 'my-org/back*'
# Teams named like 'backend' when no such project exists (fuzzy)
sentry team list my-org/backnd
# Output as JSON
sentry team list --json

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