ktm dashboards validate-widget

Validate a dashboard widget JSON file with the ktm CLI, checking structure, query fields, and type-specific constraints before deployment.

Dry-run validation of a dashboard widget JSON

Usage

ktm dashboards validate-widget [flags]

Examples

ktm dashboards validate-widget --json widget.json
cat widget.json | ktm dashboards validate-widget --json -

Flags

FlagTypeDefaultDescription
--jsonstringWidget JSON file path, or "-" for stdin (required)

Details

Validate a widget JSON file without modifying any dashboard. Checks type, structure, query fields, placeholder detection, and per-type constraints.

Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.

What's next?

All commands

Browse the full CLI reference.

Get started

Install the CLI and authenticate.

Last updated on