Manager or Admin to create or revoke keys · Organisation Admin to change API test share · api_read (all plans)
Watcher API issues site-scoped bearer keys for scripts, CI, and custom clients. Prefer device pairing for the official WordPress plugin. Keys are shown once at creation.
Open Account → Watcher API (/admin/api-keys).
Site API Usage under Results counts Google PageSpeed Insights runs. The API usage table on Watcher API counts authenticated calls to Watcher’s own REST API (/api/v1/…). They are different meters.
Create a key
- Sign in at
/admin. - Open Account → Watcher API.
- Click Create API key.
- Choose the site, a short name, and scopes (read is required; add alerts, pages write, or test enqueue as needed).
- Copy the full key immediately and store it in your secrets manager.
Authenticate with Authorization: Bearer <key> against /api/v1/sites/{site_id}/…. The key only works for the site it was issued for.
Scopes
| Scope | Allows |
|---|---|
site:read |
Overview, pages, stored results (required) |
site:alerts:read |
Open alerts for the site |
site:pages:write |
Batch include / pause tracked pages |
site:tests:enqueue |
Queue on-demand tests (POST …/test-jobs) |
Revoke a key from the Active keys table when a script is retired or a secret may have leaked.
API test share
Integration-triggered tests (API keys and WordPress Run test) may use up to a share of the organisation’s monthly test quota. The default is 20%. Filament Run Test and scheduled monitoring are not limited by this share.
Organisation Admins can change the share with Modify on the API test share section (1–100%).
Each enqueued strategy still counts toward the monthly test limit — see Site API usage and quotas and Understand plan limits.
API usage (Watcher REST)
The API usage table on this page lists calls per day for the current organisation (last 14 days). It includes traffic from site API keys and WordPress device tokens. It does not replace Results → Site API Usage (Google PSI).