Skip to main content
GET
Retrieve Meter
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.
Refer to Meter Error Codes for the possible error outcomes.

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.").

Path Parameters

meter_id
string
required

The unique identifier of the meter.

Response

200

id
string

The unique identifier of the meter.

account_id
string

The unique identifier of the account that owns the meter.

name
string
description
string | null
event_name
string
aggregation
enum<string>
Available options:
SUM,
COUNT,
LAST
unit_label
string | null
plural_unit_label
string | null
default_price
object | null
metadata
object[]
status
enum<string>
Available options:
ACTIVE,
INACTIVE
Example:

"ACTIVE"

created_at
string

Set by Yuno on creation.

updated_at
string

Set by Yuno on every update.