Skip to main content
The PulseGuard REST API gives you full programmatic control over your monitors, status pages, and alert history. Every request is authenticated with a scoped API key, every response is JSON, and every endpoint lives under the single base URL below.

Base URL

All paths in this reference are relative to this base URL. For example, the full URL for listing monitors is https://app.pulseguard.io/api/cli/monitors.

Authentication

Pass your API key as a Bearer token in every request:
Read the Authentication guide for details on creating keys, choosing scopes, and rotating credentials.

Response format

All responses are application/json. Successful responses return a top-level object containing the requested resource or list. Error responses return a single error field describing what went wrong.

Available endpoints

Monitor endpoints under /api/cli/monitors require a Bearer token. The API key management endpoints (/api/cli/api-keys) use your dashboard session cookie and are intended for use through the PulseGuard dashboard. The latency heatmap and workspace export endpoints also use dashboard session authentication. Badge, RSS, and widget endpoints are public and unauthenticated.

Error responses

PulseGuard uses standard HTTP status codes. When a request fails, the response body always contains an error field with a human-readable message. Example error body:
When debugging 401 errors, double-check that you are sending the Authorization header and that the key has not expired. For 403 errors, check that your key has the write scope if you are trying to create, update, or delete a resource.