Developer docs

A smaller API than the engine.

UsageMesh deliberately does not mirror OpenMeter. Your integration stays stable while the metering engine remains replaceable behind the adapter boundary.

Core API

POST/v1/eventsIngest a usage event
POST/v1/events/batchIngest usage events in bulk
GET/v1/usageQuery aggregated usage
POST/v1/checkCheck entitlement, balance or quota
GET/v1/balanceRead credit or quota balance
POST/v1/customersCreate a billable customer
POST/v1/metersCreate a meter
POST/v1/rate-cardsCreate pricing rules
POST/v1/connections/stripeAttach a Stripe connection

Runtime primitives

meter.track(...)
meter.check(...)
meter.usage(...)
meter.subscribe(...)