API

The Hyperflow Monitor API

Monitor ID's can be any unique arbitrary string, but we recommend UUIDs. https://www.uuidgenerator.net/version4

For the API calls, ensure it is properly URL encoded.

Get monitor info

GET /(monitor-id)

Returns the information on the specified monitor.

Response

{
    "name": "Monitor 1",
    "id": "8ad4a5dc-5481-4973-aa99-e0183904528d",
    "interval": 2880,
    "message": null,
    "alert_ping": null,
    "alert_timeout": null,
    "timeout": "2024-08-10T22:07:55.173Z"
}

Ping monitor

GET /(monitor-id)/ping

Records the ping event.

Response

Test monitor alerting

GET /(monitor-id)/test

Performs alerting on both ping and timeout.

Response

Add monitor

POST /

Create a new monitor

Body

Name
Type
Description

id

string

( optional ). If unspecified, monitor instance is assigned a UUID

name

string

Name of the monitor

interval

number

Timeout interval ( in mins )

message

string

The message to send

alert_ping

string

The alerting profile to use

alert_timeout

string

The alerting profile to use for timeout events

Example;

Response

Update monitor

PATCH /(monitor-id)

Update a monitor

Body

Name
Type
Description

name

string

Name of the monitor

interval

number

Timeout interval ( in mins )

message

string

The message to send

alert_ping

string

The alerting profile to use

alert_timeout

string

The alerting profile to use for timeout events

Response

Last updated