Skip to content

Automatic polling

Usage Dashboard polls each enabled provider on a fixed interval so the dashboard and Homepage widget stay current without manual refreshes.

Settings

VariableDescription
AUTO_POLL_ENABLEDEnables background polling. Defaults to true.
AUTO_POLL_INTERVAL_MINUTESMinutes between polls. Defaults to 60.

How it works

  • Only enabled provider configurations are polled.
  • Polls run concurrently across providers.
  • Each poll snapshots usage into history, subject to SNAPSHOT_RETENTION_DAYS.

Manual polling

You can also poll on demand from the API:

  • POST /api/v1/poll — poll all enabled providers.
  • POST /api/v1/configs/{id}/poll — poll a single provider.
  • GET /api/v1/poll/status — read the last poll status.

The browser extension calls these endpoints when you trigger a refresh.

Self-hosted API usage dashboard.