API Reference
Billing and Usage
Billing and usage endpoints help your app understand plan state, publish usage, and workspace limits. This matters most when you are building a SaaS on top of UniPost and need to make plan-aware decisions in your own UI.
What it covers
| Concept | Why you need it |
|---|---|
| Plan | Understand which features or limits apply to the workspace |
| Usage | Track how much of the current billing period has been consumed |
| Warnings | Surface approaching-limit or over-limit states in your product |
Where billing shows up
Billing state appears both in dedicated billing endpoints and in response headers such as X-UniPost-Usage and X-UniPost-Warning on publish-related responses.