BioFlow / API docs / getUsage

Get API usage.

GET /v1/usage
scope: pages:read or pages:write or analytics:read or contacts:read or files:read or publishCreator & Pro plansfree — no quota cost

Current billing-period API usage: requests used/remaining against the plan's monthly quota, the reset instant, and the per-key burst limit. Polling this endpoint never consumes quota.

Requires scope: pages:read or pages:write or analytics:read or contacts:read or files:read or publish. Plan entitlement: public_api (Creator and Pro).

Try it

Request.

curl "https://app.getbioflow.com/v1/usage" \ -H "Authorization: Bearer bf_live_YOUR_KEY"
Response

200Current usage.

Fields of the 200 response for getUsage
FieldTypeDescription
planstringWorkspace plan id, e.g. CREATOR
period_startstring (ISO 8601)
period_endstring (ISO 8601)When the meter resets
metersarray<object>
burstobject

Every response also carries X-Request-Id plus the IETF draft-11 RateLimit / RateLimit-Policy headers.

Errors

What can go wrong here.

Problem codes this operation can return
CodeStatusMeaning
invalid_request400The request body or parameters failed validation
invalid_api_key401Missing, malformed, unknown, disabled, or expired API key
insufficient_scope403The API key was not granted the required scope
feature_not_enabled403The workspace plan does not include public API access
test_key_read_only403Test-mode keys are restricted to read operations
rate_limited429Per-key rate limit exceeded
quota_exhausted429Monthly API quota exhausted
internal_error500Something went wrong on our side

All errors are RFC 9457 application/problem+json — branch on code, quote request_id to support. Full registry on the API docs hub; interactive playground in the API reference.