Chakudya Nutrition Registry v1.74.0

Usage by endpoint (root key only)

GET /admin/usage · Admin API key required

Which endpoints get called most. Calls are counted per UTC day, method and route (ids replaced, for example `/foods/:id`) in `route_usage`. Counts only - no keys, IPs, query strings or bodies. Skipped - OPTIONS, `/`, `/health` and `/admin/*`. When storage is not ready the response has `available` false and a note. Needs the root key.

Parameters

  • days (query) - Look-back window in UTC days, including today.

Responses

  • 200 - Call counts per endpoint
  • 401
  • 403 - Not the root key

Back to the API reference