Prometheus metrics
const url = 'https://example.com/api/v1/metrics';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/metricsPrometheus text exposition (format 0.0.4) covering job runs, sync outcomes, drift, config
health, security posture, parser availability, notification delivery, PCD cache state and
build info. Labels never include Arr URLs or API keys. Authenticate with an API token
(prx_…) carrying the read scope in the X-Api-Key header; tokens work under AUTH=on,
AUTH=oidc, and for remote clients under AUTH=local. A token without the read scope gets 403
{ "error": "Forbidden", "requiredScope": "read" }. Disabled (404) unless METRICS_ENABLED
is on.
Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Praxrr API token (prx_…) with the read scope. Required for non-browser clients under
AUTH=on and AUTH=oidc, and for remote clients under AUTH=local.
Responses
Section titled “Responses”Metrics in Prometheus text exposition format.
Unauthenticated (missing, invalid, revoked, or expired API token).
object
Error message
Stable machine-readable code present on 5xx responses; error is a fixed user-safe message, raw detail is logged server-side only
Example
{ "code": "cleanup_failed"}The API token lacks the read scope.
An authenticated API token lacks the scope the requested route requires.
object
Always Forbidden.
The API token scope this request requires.
Example
{ "requiredScope": "read"}The metrics endpoint is disabled (METRICS_ENABLED is off).