Skip to main content
This page documents the shape given in the source spec as-is. Several details aren’t finalized — see the callout at the bottom of this page.

Endpoint

Returns the set of filter facets available for narrowing a variable listing — organizations, resource types, variable (point) types, metered entity types, individual metered entities, status, and data reception — scoped to the organization(s) in orgIds. Unlike the rest of the Data API, this path is singular and verb-shaped (/variable/get-variable-filter-data) rather than the plural, resource-shaped convention used elsewhere (/organizations, /variables, /metered-entities). Treat the path itself as directional pending confirmation.

Parameters

Example request

Response shape

The response is an array of facet groups, one per filterable dimension:

Facet group fields

Child (option) fields

Using the result to filter variables

The likely intent is that a UI renders one control per facet group (using label for the control’s title and each child’s label as an option), and the selected child ids are then sent to GET /variables as filters — for example resourceType, pointType, status, and dataReception as query parameters matching the facet id. This isn’t confirmed in the source spec; GET /variables’ own filter design is still open (see Discovery Endpoints).
Open — not fully decided:
  • Encoding for multiple orgIds values (repeated param vs. comma-separated).
  • What default: 1 on the organizations facet means.
  • Whether facet ids (resourceType, pointType, etc.) are literally the query parameter names accepted by GET /variables, or map to different parameter names.
  • Whether building children can have non-empty nested children in practice, and what that would represent.
  • Whether facets are always returned in the same order and whether any can be empty (for example, an org with no offline variables might still return an empty dataReceptionoffline option, or omit it — unconfirmed).
See Organizations for the id values valid in orgIds, and Discovery Endpoints for how the filtered results are ultimately retrieved.

Try it live

Fetch these facets live and build a real GET /variables request from your selections, right in the browser.