Usage
Target Specification
Flags
Maximum number of teams to retrieve per pageAlias:
-nPagination cursor. Use
last to continue from the last page.Only applicable when using org-scoped listing (e.g., <org>/). The cursor is automatically saved between invocations.Alias: -cOutput as JSON
Examples
List teams (auto-detect)
List teams in specific org (paginated)
List teams with project context
Continue to next page
Show more teams per page
Output as JSON
Output
Human-readable format
Displays a table with:- ORG - Organization slug
- SLUG - Team slug
- NAME - Team display name
- MEMBERS - Number of team members (right-aligned)
JSON format
Returns an array of team objects, each containing:slug- Team slug identifiername- Team display namememberCount- Number of team membersorgSlug- Organization slug (when listing across orgs)- Additional fields from the Sentry API
Modes
The command supports different resolution modes:- Auto-detect: Uses DSN from source code or config
- Org-all (
<org>/): Lists all teams with cursor pagination - Explicit (
<org>/<project>): Lists teams for the org (project provides context) - Project search (
<project>): Finds project across all orgs, lists teams for that org
Notes
- Cursor pagination is only available in org-scoped mode (
<org>/) - When using project context, teams are listed for the project’s parent organization
- The cursor is automatically persisted between invocations