Usage API

This month’s usage and plan limits. One route; send a bearer token with each (see Authentication).

Route What it does
GET /v1/usage Usage and limits

Usage and limits

GET https://staging-api.naruskacrm.com/v1/usage

The current month per metric, the plan’s limits, % used and a state: quotas warn from 95 %, keep working up to 105 % (grace) and then stop (blocked); caps stop at 100 %. Admins, and tokens with usage:read.

Response 200

Field Type Always present Notes
plan_key string yes
billed_seats number yes
period_reset string yes
metrics array of object yes
metrics[].metric string yes
metrics[].kind quota, cap yes
metrics[].used number yes
metrics[].limit number yes
metrics[].percent number yes
metrics[].state ok, warning, grace, blocked yes

Errors are problem details with a stable code: see Errors.