entitlements
Count feature usage
Changed onget/feature-usage/count
Request
- Base URLhttps://api.schematichq.com
- URLhttps://api.schematichq.com/feature-usage/count
- AuthAPI key in header X-Schematic-Api-Key
Query parameters
company_idstring
company_keysobject
feature_idsstring[]
include_usage_aggregationboolean
Include time-bucketed usage aggregation (today, this week, this month, billing period) for credit-based entitlements. Defaults to false for performance.
managed_by'metronome' | 'orb' | 'schematic' | 'stripe'
Filter for features managed by a billing provider, or by Schematic (no billing provider)
qstring
without_negative_entitlementsboolean
limitinteger
Page limit (default 100)
offsetinteger
Page offset (default 0)
Response
OK
Changes
- warning
for the
queryrequest parameterlimit, the max was set to250.00 - warning
for the
queryrequest parameterlimit, the min was set to0.00
- warning
- warning
added the new
metronomeenum value to the/////response property for the response status - info
added the enum value
metronometo the propertyallOf[BillingProviderType]/of thequeryrequest parametermanaged_by
- warning