Skip to main content
On this page

Kater CLI Present and share dashboard tiles

kater dashboard tiles question

Ask a next question of a tile: its query, a chart of it and its tile after the tile are written in one commit.

A program gives the exact typed request with --request-file.

The request’s fields: namespace (required): {kind?: “workspace”, scope: {kind?: “shared”, connection: text} or {kind?: “personal”, connection: text, user_id: text, topic?}, workspace: text}. fields (required): a list of {field?, of?, expression?, label?, reusable?, kind?, description?, ai_context?, business_questions?, tags?, classification?, style?, highlight?, format?, plain?, lock_in?, operation?, parameters?, sort?, output?}. conditions: a list of {field: text, operation: text, parameters?, required?} or {sql: text, label?, parameters?}. The conditions the rows are held to, as query.new takes them. order: a list of {field?, of?, descending?}. limit: a whole number. kind: The chart the question draws, as query.question takes it. after: The chart on the board whose tile the question was asked of: the new tile goes right after it, on its tab and in its section. Absent, the tile goes where dashboard.tiles.add puts a tile that names no place. tab: The tab the tile goes on, on a dashboard with tabs, when after names no chart. slot: The index in tiles of the empty slot the question’s tile fills, as dashboard.tiles.add takes it: how an empty place’s first picks make their query, their chart and their tile in one commit (#5329). Name no after with it. expected_revision: text.

Examples

Terminal window
# Ask a next question of a tile: its query, a chart of it and its tile after the tile are written in one commit
kater dashboard tiles question

Arguments

ArgumentDescription
<object>Optional. The workspace: its key, such as duckdb_sample/shop, or in a person’s folder, duckdb_sample/users/<user id>/shop; its name, such as shop; its folder, such as connections/<connection>/workspaces/shop; or its id, rel1_…, also from before a rename. By default the workspace you are in.

Options

OptionDescription
--request-file <file>Typed request JSON file; - reads stdin.

It also takes the global options anywhere on the line, and --help.

See also