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
| Flag | Type | Default | Description |
|---|---|---|---|
--json | string | Widget 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.
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on