OriginChainDB
Database endpoints

Read usage and limits

Returns the tenant's configuration, limits and live usage counters.

GET /v1/tenants/{tenant}/usage

Compare current usage with declared limitsA null capacity value is unknown, not unlimited.
  1. Request tenant usageRead configuration, limits and live counters.
  2. Compare units and scopeSeparate overall used counters from per-table usage.
  3. Plan from known capacityInterpret each limit using its reported unit.

Before you start

Use your database bearer token.

Connection setup

Path parameters

FieldTypeRequired
tenantstringRequired

Headers

FieldTypeRequiredDescription
x-oc-db-userstringOptionalActing database user (role, grant and row-policy checks). Send with x-oc-db-key.
x-oc-db-keystringOptionalAPI key of the x-oc-db-user user.

Read the result

used contains current counters and schemas contains per-table usage. Read each value with its unit; a null capacity value is unknown here, not an unlimited allowance.

Response statuses

HTTP status reference
StatusWhat to do
200OK
400Correct the request before retrying.
401Check the credential and Authorization header.
402Check feature access or available credits.
403Check tenant access, roles and permissions.
429Honor Retry-After when present; back off.
502Check service availability and the write outcome.
503Honor Retry-After when present; check write outcomes.
ยฉ 2026 Silicoyn Technologies Pvt Ltd