get_card_counts
Retrieve aggregated card count metrics to monitor program health by tracking cards in circulation, active cards, and suspended cards over daily, weekly, or monthly periods.
Instructions
Get card count metrics aggregated over time. Track cards in circulation, active cards, suspended cards, and more. Essential for program health monitoring. Supports day, week, and month aggregation. Note: DiVA API limits results to 10,000 records per query.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aggregation | No | Time period for aggregation (no detail level) | day |
| fields | No | Specific fields to return | |
| filters | No | Filters on data fields. For date filtering, use actual date field names with operators. | |
| sort_by | No | Field to sort by | |
| count | No | Maximum records to return (up to 10,000, default 10,000) | |
| program | No | Override default program |