dashboards command manage an app’s dashboards from the terminal: list the existing ones, create a dashboard, and update a dashboard’s title or description.
Each command targets one application, by name and environment (--app "MyApp" --environment production) or by ID (--app-id <APP_ID>, the long hexadecimal app ID from appsignal-cli apps list). The --environment flag is only needed when several apps share a name. Each command uses your default organization unless you pass --org. See Apps and organizations for how apps are identified.
List dashboards
Shell
Create a dashboard
A new dashboard needs a title, and can take an optional description:Shell
| Flag | Description |
|---|---|
--title <title> | Dashboard title (required) |
--description <text> | Optional description |
--app <name> | App to create the dashboard in (add --environment when the name isn’t unique) |
--environment <env> | Environment, used with --app |
--app-id <id> | The app’s ID (a long hexadecimal string), as an alternative to --app and --environment |
--org <slug> | Organization slug (uses your default if omitted) |
Update a dashboard
Pass the dashboard’s--id (from dashboards list) along with the new title:
Shell
| Flag | Description |
|---|---|
--id <id> | ID of the dashboard to update (required; from dashboards list) |
--title <title> | New title (required) |
--description <text> | Optional description |
--app <name> | App the dashboard belongs to (add --environment when the name isn’t unique) |
--environment <env> | Environment, used with --app |
--app-id <id> | The app’s ID (a long hexadecimal string), as an alternative to --app and --environment |
--org <slug> | Organization slug (uses your default if omitted) |
--title is required even when you only change the description.