Stats

Authentication
The API key should be sent as a Bearer token in the Authorization header of the request. Get your API key.
Show

API endpoint

GET
https://bugnotify.com/api/v1/stats/{monitor_id}

Request example

curl --location --request GET 'https://bugnotify.com/api/v1/stats/{monitor_id}?name={name}&from={from}&to={to}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'

Parameters

Name
Type
Description
name
required string
Name. Possible values are: check, check_response_time, incident, incident_duration.
from
required string
Starting date in Y-m-d format.
to
required string
Ending date in Y-m-d format.
sort
optional string
Sort. Possible values are: desc for Descending, asc for Descending. Defaults to: desc.