Skip to main content
POST
/
monitors
/
statistics
Get monitor statistics
curl --request POST \
  --url https://api.pubrio.com/monitors/statistics \
  --header 'Content-Type: application/json' \
  --header 'pubrio-api-key: <api-key>' \
  --data '
{
  "profile_id": 123
}
'
{
  "data": {
    "total_monitors": 8,
    "triggers_today": 3,
    "triggers_yesterday": 46,
    "triggers_comparison_rate": -0.935,
    "success_today": 3,
    "success_yesterday": 46,
    "success_rate_today": 1,
    "success_rate_yesterday": 1
  }
}

Authorizations

pubrio-api-key
string
header
required

A unique API token that represents the actions you perform through the API and the corresponding permissions and operations. You can create it through the Settings section.

Body

application/json
profile_id
integer

Optional. An identifier for the user profile (workspace) making the request. This is no longer required as the API key already includes your workspace information. If provided, it helps in associating the lookup with a specific user, allowing for data retrieval and credit tracking.

Check out user details endpoints under the Profile tab for more information.

Response

Successful response containing monitor statistics overview.

data
object