Query DHIS2 analytics
query_analyticsGet aggregated values for a single indicator, split by period and organisation unit, from DHIS2. Run search_indicators beforehand to get the indicator id.
Instructions
Get aggregated values for one indicator, split by period, for one organisation unit. Run search_indicators first to get the indicator id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | DHIS2 period: 'LAST_12_MONTHS', 'THIS_YEAR', '2025', or '202501' | LAST_12_MONTHS |
| org_unit | No | Organisation unit id. 'USER_ORGUNIT' means the account's root unit | USER_ORGUNIT |
| indicator_id | Yes | Indicator id, from search_indicators |