Skip to main content
GET
List Meters
Enabled per organizationUsage-based billing must be enabled for your organization before these endpoints accept requests. Contact your Yuno account manager to enable it. Requests from an organization where it is not enabled return 403 PRODUCT_NOT_ENABLED.
The list includes INACTIVE (archived) meters. Filter on status client-side if you only want the meters currently accepting usage events. Pagination is limit/offset, and the response wraps the meters in data with a pagination object (total, limit, offset, has_more).

Authorizations

public-api-key
string
header
default:<Your public-api-key>
required
private-secret-key
string
header
default:<Your private-secret-key>
required

Headers

X-Account-Code
string
required

The account_id found in your Yuno Dashboard (UUID). Required — omitting it returns 400 BAD_REQUEST ("Invalid x-account-code header.").

Query Parameters

account_id
string

The unique identifier of the account whose meters to list (UUID, 36 chars).

limit
integer
default:20

Maximum number of meters to return. Must be >= 1, else 400 INVALID_PARAMETERS. Defaults to 20.

Required range: x >= 1
offset
integer
default:0

Number of meters to skip. Must be >= 0. Defaults to 0.

Required range: x >= 0

Response

200

data
object[]
pagination
object