Skip to main content
On this page

Kater CLI Present and share insight

kater insight

Runs insight templates over the rows of a workspace query, to find its key takeaways.

A takeaway can be the largest segment, or a change from the period before. scan runs every template that fits the query, as a dashboard’s key takeaways do. run runs one template that you name.

Commands

CommandWhat it does
kater insight runRun an insight template over a query’s rows.
kater insight scanRun every insight template that fits a query, and show its key takeaways.

Templates

A connection’s templates are in modeling/.kater/insight_templates/. Your own templates go in modeling/kater_objects/custom_insight_templates/. A template of your own with the same name as one of Kater’s takes its place.

Examples

Terminal window
# Find the takeaways of the spend_by_platform query
kater insight scan --request-file scan_spend_by_platform.json
# Find whether one platform takes most of the spend
kater insight run --request-file largest_platform.json

See also