Query Kpis
query_kpisFetch historical and real-time KPIs from a governed Postgres store across Finance, HR, Operations, and other domains by filtering by domain, metric name, or period.
Instructions
Retrieve historical and real-time Key Performance Indicators (KPIs) from the governed Postgres store.
Fetches structured time-series metrics across enterprise business domains including Finance, People (HR), Operations, Customer (Sales/Support), Engineering, Growth, Logistics, ESG, IT, and Security.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of metric records to return. Defaults to 100 (range: 1 to 500). | |
| domain | No | Optional taxonomy category filter (e.g. 'Finance', 'People', 'Operations', 'Customer', 'Engineering', 'Growth', 'ESG', 'IT', 'Security'). Omit to query across all domains. | |
| period_to | No | Optional end period in 'YYYY-MM' format (e.g. '2026-06'). Inclusive upper bound. | |
| period_from | No | Optional start period in 'YYYY-MM' format (e.g. '2024-01'). Inclusive lower bound. | |
| metric_filter | No | Optional substring or exact metric name match (e.g. 'revenue', 'churn_rate', 'gross_margin', 'cac', 'headcount'). Case-insensitive. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||