Get inventory metrics (library/book counts)
GET/api/v1/metrics/inventory
Returns counts and sizes for libraries, series, and books in the system. This endpoint provides an inventory overview of your digital library.
The page count is an estimate by default. Pass exact=true for an exact
count; on PostgreSQL that scans the whole pages table, so it is limited to
admins.
Permission Required
libraries:reador admin status- admin status for
exact=true
Request
Responses
- 200
- 403
Inventory metrics retrieved successfully
Requires tasks:read (admins and maintainers)