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
| Command | What it does |
|---|---|
kater insight run | Run an insight template over a query’s rows. |
kater insight scan | Run 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
# Find the takeaways of the spend_by_platform querykater insight scan --request-file scan_spend_by_platform.json# Find whether one platform takes most of the spendkater insight run --request-file largest_platform.json