Reference

REST API

Manage your monitors from scripts.

API keys

Create a key under API in the panel. Keys start with upk_. A key can be read-only.

Requests

Base URL: https://uptiva.linuxmaster.cloud/api. Send the key as a bearer token. Limit: 120 requests per minute.

curl

Example
curl https://uptiva.linuxmaster.cloud/api/monitors \
  -H "Authorization: Bearer upk_your_key" 

JavaScript

Example
const res = await fetch("https://uptiva.linuxmaster.cloud/api/monitors", {
  headers: { Authorization: "Bearer upk_your_key" },
});
console.log(await res.json());

Reference

Interactive reference: /api/docs. OpenAPI file: /api/openapi.json.

Logs are sent with a separate log token, not an API key. See Logs.