Skip to main content
GET
List Plan 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 metered prices are returned in data with a pagination object (total, limit, offset, has_more). The same list is returned as meters[] on Retrieve Plan — always an array, empty for a plan without metered prices.

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

plan_id
string
required

The unique identifier of the plan.

Response

200

data
object[]
pagination
object