On this page
Kater CLI Present and share chart
kater chart list
Lists the saved charts that read one query, in the order they show under it.
Each chart comes with its title, its spec, its SQL and its revision. It changes nothing.
Examples
# List the saved charts that read spend_by_platformkater chart list --request-file spend_by_platform.json# Keep the list in a file, to read the revisions with jqkater chart list --request-file spend_by_platform.json --json > spend_by_platform_charts.jsonArguments
Options
It also takes the global options --json, --kater-root, --scope and --help.
The request
| Field | What it holds |
|---|---|
source | The query: its name, and the full path of its workspace under namespace. |
inputs | Optional. The query’s parameter values in parameters, and the optional filters to turn on in filters. |
{"source": {"name": "spend_by_platform", "namespace": {"path": "connections/snowflake_prod_connection/workspaces/ad_reporting"}}}For spend_by_platform, the list has two charts: spend_by_platform, a bar chart, and spend_mix, a pie chart. Each chart in charts has the fields that kater chart read shows.