Skip to main content
POST
Consume metered usage

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
featureKey
string
required
traits
object
idempotencyKey
string

Response

Usage consumed

key
string
enabled
boolean
reason
string

Machine-readable resolution reason (PLAN_ALLOWS, OVERRIDE, NO_PLAN, …).

allocation
number | null

Total allowed units; null = unlimited.

usage
number

Units consumed in the active billing period.

exceeded
boolean

True when usage >= allocation.

consumed
boolean

True when a usage unit was actually recorded.

Last modified on September 19, 2026