The org list command displays all organizations accessible with your current Stacktape API key. Use it to see which organizations you belong to, your role in each, and which one is currently active for CLI operations.
Usage
When organizations are found, the command prints a table with the following columns. If you have no organizations, it prints "No organizations found for this user."
| Column | Description |
|---|---|
| Organization | The organization name |
| Role | Your organization role, such as Owner, Admin, Developer, or Viewer. Unrecognized roles are displayed as returned by Stacktape |
| Connected AWS | Number of AWS accounts connected to the organization |
| Current | Whether this organization is the active one for your API key |
| ID | The organization's unique identifier |
No flags are required. The command uses the API key configured via stacktape login to authenticate and fetch your organization list.
Output formats
When Stacktape detects an interactive terminal (TTY), org list renders a table. In CI or other non-TTY contexts, the output format is auto-detected. Use --json or --agent for machine-readable output.
Machine-readable JSONL output:
Agent mode (JSONL output with no interactive UI):
Flags reference
stacktape org listCLI options-h, --helpstringShow Help
If provided, the command will not execute and will instead print help information.
--log-level"info" | "debug" | "error"Log Level
The level of logs to print to the console.
info: Basic information about the operation.error: Only errors.debug: Detailed information for debugging.
--quietbooleanQuiet
Hide progress, banners, success messages and hints. Command output, warnings and errors are still printed.
Examples
List all organizations with debug-level logging:
Pipe organization data into another tool:
Related commands
org create— create a new organizationorg delete— delete the organization of your API key (owner-only, requires no other users or connected AWS accounts)whoami— verify your current user, organization, and connected accountslogin— configure your Stacktape API key