Skip to main content
On this page

Kater CLI Build an analysis workspace

kater workspace

Sets the shared model a workspace reads, and writes a brainstorm copy's changes back to its workspace.

kater new workspace makes a workspace. A workspace holds the queries, charts, dashboard and apps of one analysis. It reads one shared model.

Commands

CommandWhat it does
kater workspace applyApply a brainstorm copy’s changes to its workspace.
kater workspace sourceSet the shared model a workspace reads.

Where workspaces live

  • Your own workspaces are in your own folder, connections/<connection>/users/<you>/workspaces/.
  • A connection’s workspaces are in its workspaces/ folder.
  • A copy in a brainstorm topic is in users/<you>/brainstorm/<topic>/workspaces/. kater brainstorm copy makes it, and kater workspace apply writes its changes back. See Workspace copies.

Examples

Terminal window
# Make the spend_review workspace in your own folder, over the shared ad_reporting model
kater new workspace spend_review --connection snowflake_prod_connection --from-model semantic.ad_reporting
# See what changes when the ad_reporting workspace reads the campaign report model, and save nothing
kater workspace source use semantic.ad_reporting__campaign_report --scope connections/snowflake_prod_connection/workspaces/ad_reporting --dry-run
# See what your brainstorm copy of ad_reporting changes, and save nothing
kater workspace apply connections/snowflake_prod_connection/users/you@example.com/brainstorm/promote_roas/workspaces/ad_reporting --dry-run

See also