# Count records by template, and change the template of many at once

25 November 2026 · Added · Record statistics

GET /vaults/{vault}/record-kinds/{recordKind}/statistics counts the records of one kind in a vault by template and version. GET /vaults/{vault}/record-kinds/{recordKind}/statistics/fields says how many records fill in each field of a template. GET /vaults/{vault}/record-kinds/{recordKind}/template-change-preview says what moving every record of one template onto another would do, POST /vaults/{vault}/record-kinds/{recordKind}/template-changes starts that move in the background, and GET /vaults/{vault}/template-changes/{templateChange} says how far it is. A kind of record is contacts or the id of an entity type.

## Why it changed

The application now shows these statistics and moves many records at once, and everything the application does can be done through the API.

## Changes

- `record kinds` (Added): `GET /api/v1/vaults/{vault}/record-kinds/{recordKind}/statistics`, `GET /api/v1/vaults/{vault}/record-kinds/{recordKind}/statistics/fields`, `GET /api/v1/vaults/{vault}/record-kinds/{recordKind}/template-change-preview`, `POST /api/v1/vaults/{vault}/record-kinds/{recordKind}/template-changes`, `GET /api/v1/vaults/{vault}/template-changes/{templateChange}`

## In the same release

- Added: [Delete several contacts, or set their categories, in one call](https://my.monicahq.com/docs/api/changelog/contacts-bulk-actions.md)
- Changed: [Field values refuse a key they do not know](https://my.monicahq.com/docs/api/changelog/field-values-refuse-unknown-keys.md)
- Added: [Put a contact on another template](https://my.monicahq.com/docs/api/changelog/contact-template-change.md)
- Added: [Create, rename, reorder and delete value lists and their values](https://my.monicahq.com/docs/api/changelog/value-list-writes.md)
- Changed: [A duration goes up to a year](https://my.monicahq.com/docs/api/changelog/duration-up-to-a-year.md)
- Added: [Read the screenshots of a change](https://my.monicahq.com/docs/api/changelog/changelog-entry-screenshots.md)
