Skip to content
Console
On this page

Meters

A Meter is one billable quantity a service emits, for example `hosting.vcpu_seconds`.

A Meter is one billable quantity a service emits, for example hosting.vcpu_seconds. Meters are top-level and read-only; each has immutable versions, and a usage event names the version it was measured under.

Service Sylphx Billing · Resource type billing.sylphx.com/Meter · Name pattern meters/{meter} · Shape record

Fields

FieldTypeWhat it is
namestringmeters/{meter}, where {meter} is the meter id {service}.{quantity}, for example meters/hosting.vcpu_seconds.
uidstringmtr_<cell><ulid>. Output only.
metaResourceMetaResource metadata. Output only.
servicestringThe service that emits the meter; the meter id's prefix. Output only.
current_versionint32The version new usage is measured under. Output only.
versionsMeterVersion[]Every version, oldest first. Output only.

Methods

Every method of the collection, in the registry's order, with the scope it needs. The full request, response and examples are one link away.

MethodCallWhat it does
GETgetGets a meter.
GETlistLists meters. Anonymous-readable: the pricing page renders from it.

get

Gets a meter.

GET https://api.sylphx.com/v1/meters/meter · scope billing:read · effect read · callable with a publishable key · Request, response and examples

list

Lists meters. Anonymous-readable: the pricing page renders from it.

GET https://api.sylphx.com/v1/meters · scope billing:read · effect read · callable with a publishable key · paginated · Request, response and examples