Skip to main content
Three small routes for operators and dashboards.

Get the store size

GET /v1/storage tells where the store is and how big it is. Right: read. With tenants: the store of the request’s tenant.
string
"local" for a store on the disk. With --s3, the answer also has the state of the uploader or of the reader: see the server and S3.
integer
integer
integer

Get the mask counts

GET /v1/mask tells what the mask policy (--mask) replaced since the store opened. It gives counts only: no value. Right: read.
boolean
false: the server has no mask policy.
object[]
One row per rule, in the order of the policy: {"name", "masked"}, where masked is the number of matches replaced.
integer
Attribute values that dropAttributes removed.
With tenants, the counts are of the tenant’s store. A store that closed (idle, or --max-open-tenants) starts at 0 again. How to write a policy: Masking.

Check health

GET /healthz needs no key.

Run in production

Health checks, keys, backups and upgrades.

HTTP API

Every route and the right it needs.