Apimetrics
Metrics
Coarse daily usage — the signal for 'is free costing us real money yet?'. No IPs, no keys, no key hashes, no filenames, no content: just counts for today, split keyless vs keyed.
Requires a valid API key. The numbers are harmless individually, but on a public URL they are still our traffic and our cap headroom, readable by anyone — including someone sizing up the caps. METRICS_PUBLIC=1 restores the open endpoint (it was public before, and the generated Cloak docs describe it as such), and is also the way back in if PocketBase key validation is down.
Authorization
ApiKey AuthorizationBearer <token>
Optional API key (Authorization: Bearer ). Omit to use the free per-IP tier; a valid key raises the daily limits.
In: header
Response Body
application/json
curl -X GET "https://example.com/metrics"null