List CUPS Groups
List distinct CUPS groups across your organization’s electricity invoices
GET
Overview
Returns a paginated list of distinct CUPS groups for your organization. Each group represents a unique combination of(cups, facility) over the
organization’s electricity invoices, together with aggregate metadata such
as the number of invoices and the date range they span.
This is the data behind the “Consolidate CUPS” workflow: it lets you spot
duplicate or near-duplicate CUPS codes that should be merged into a single
canonical value (see Consolidate CUPS).
A group is reported as locked (
is_locked: true) when any invoice in it
is backed by a Datadis supply contract. Locked groups cannot be consolidated.Query Parameters
Restrict the result to CUPS groups belonging to a single facility.Example:
?facility_id=da59c96f-995a-4ec3-88bd-465dcbabf63dCase-insensitive substring match against the CUPS code.Example:
?search=000001ABPage number for pagination. Must be
≥ 1.Number of items per page. Must be between
1 and 200.Response
List of CUPS group objects.
Total number of CUPS groups matching the filters.
Current page number.
Number of items per page.
Total number of pages.

