Usage Metering
Real-time per-tenant metering of every billable resource (crawl tasks, leads, contacts, AI tokens, seats). Surfaces a usage dashboard, drives in-app upgrade prompts, and enforces hard limits at the gateway.

What It Does
When to Use
Surface this dashboard to your finance / ops lead so nobody is surprised by an overage bill.
Reading Usage
curl https://api.anvilhk.com/api/v1/me/usage \
-H "Authorization: Bearer $ANVIL_KEY" \
-H "X-Tenant-ID: $TENANT"Returns each metric with used and limit.
Hard vs Soft Limits
| Metric | Type | Behaviour at 100% |
|---|---|---|
| Crawl tasks | Hard | 429 on next request |
| Leads | Soft | Bill on overage, pre-set rate |
| Contacts | Soft | Bill on overage |
| AI tokens | Hard | 429 |
| Seats | Hard | Cannot invite |
API Endpoints
Pricing & Limits
Quotas are plan-keyed. Overage rates are tenant-specific — see your invoice or **Settings > Billing > Overage**.