Organizations
Your applications live under an organization, identified by its slug: the short name in your AppSignal URL,appsignal.com/<org-slug>. The CLI works with the organization tied to your signed-in account.
Set a default organization
Most commands fall back to a default organization, so you don’t need to pass--org every time. Running appsignal-cli apps list determines your account’s organization and saves it as the default. To set or change it yourself:
Shell
Shell
appsignal-cli auth login --org <YOUR_ORG_SLUG>, or per project with appsignal-cli project init --org <YOUR_ORG_SLUG>. See Authentication for how the global and project-local configs relate.
Applications
To list the applications for your account’s organization:Shell
--org to them.
Find an app by name
To look up a specific app by name, optionally narrowing to one environment:Shell
Show details for an app
If you know an app’s ID, you can fetch its details directly:Shell
How commands identify an app
Commands that act on a single app accept it in one of two ways:- By name:
--app "MyApp". Add--environment productiononly when more than one app shares the name. - By ID:
--app-id <APP_ID>, the value from theIDcolumn ofappsignal-cli apps list(a long hexadecimal string). An ID identifies a specific app and environment on its own, so you don’t pass--environmentwith it.
Inspect an app’s resources
Theapps resources commands show the configuration and metadata attached to an app:
| Command | Shows |
|---|---|
apps resources all | Every resource below, in one call |
apps resources users | Users with access to the app |
apps resources notifiers | Configured notifiers |
apps resources namespaces | The app’s namespaces |
apps resources dashboards | Custom dashboards |
apps resources deploy-markers | Recent deploy markers |
--app with --environment or --app-id, and uses your default organization unless you pass --org. For example, to see the namespaces for an app:
Shell
Shell