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/events | Ingest a usage event |
| POST | /v1/events/batch | Ingest usage events in bulk |
| GET | /v1/usage | Query aggregated usage |
| POST | /v1/check | Check entitlement, balance or quota |
| GET | /v1/balance | Read credit or quota balance |
| POST | /v1/customers | Create a billable customer |
| POST | /v1/meters | Create a meter |
| POST | /v1/rate-cards | Create pricing rules |
| POST | /v1/connections/stripe | Attach a Stripe connection |
Runtime primitives
meter.track(...) meter.check(...) meter.usage(...) meter.subscribe(...)