Docs/API

Public Metrics

The public metrics endpoint returns aggregate counters for all Oh Dear monitoring activity. This endpoint does not require authentication.

Example request:

$ curl https://ohdear.app/api/public-metrics \
    -H 'Accept: application/json' \
    -H 'Content-Type: application/json'

Get public metrics #

GET /api/public-metrics

Returns aggregate counters for Oh Dear's monitoring activity.

Here's what the response looks like:

{
  "run_count": 123456789,
  "notification_count": 98765432
}
  • run_count: total number of monitoring checks performed across all Oh Dear monitors
  • notification_count: total number of notifications sent across all Oh Dear monitors
Was this page helpful?

Feel free to reach out via [email protected] or on X via @OhDearApp if you have any other questions. We'd love to help!