All apps/grafanactl

grafanactl

grafanactl

A command-line tool to authenticate, manage environments, and perform administrative tasks through the Grafana REST API.

Runs as grafanactl|macOS, Linux, Windows|grafana.com

Command form

ai-draft · 2 tasks · 8 fields

Grafana CLI. Only 'resources pull' is offered here; other sub-commands are left out. The project is being deprecated in favour of gcx.

Opens the form; the finished command lands at your prompt, unrun
otty gui grafanactl

grafanactl resources pull

Pull resources from Grafana

Download dashboards, folders and other resources from the selected Grafana context to files on disk.

Pull resources from GrafanaExample values, fixed in this page — nothing here reaches a terminal
Basic
Resource selectors
dashboardsstring
Context
string
Output directory
directory
File format
2 choicesenum
TasksEach one presets the form for one job
Pull all dashboards
selectorscontextpathoutput
Pull everything
contextpathoutputon_error
ParametersOnly these flags are editable in the form
Resource selectors
For example dashboards, dashboards/foo,bar or folders. Leave empty to pull everything.
string · positional 0 · repeatable
Context
Name of the configured Grafana context to use.
string
--context
Output directory
path
--path-p
File format
enum
--output-ojsonyaml
On error
enum
--on-errorignorefailabort
Include resources managed by other tools
boolean
--include-managed
Config file
path
--config
Disable colour
boolean
--no-color
SourcesEvery flag above is checked against these
docs
grafanactl resources pull [RESOURCE_SELECTOR]... [flags] grafanactl resources pull dashboards folders grafanactl resources pull dashboards/foo,bar --include-managed Include resources managed by tools other than grafanactl --on-error string How to handle errors during resource operations: ignore — continue processin…
manualmain 2026-10-27

github.com

Before it fills your prompt, Otty checks the installed grafanactl against its version. A form that does not match your version is not offered.