Skip to content

Monitoring API 🟑 BETA

The monitoring family holds the routes mounted for health, services and metrics.

Developer guide map

Endpoints

Exact lines from the Generated api-monitoring reference; the generated page is the full table.

Method Path
GET /api/monitoring/alerts
GET /api/monitoring/alerts/:param
POST /api/monitoring/alerts/:param
GET /api/monitoring/alerts/:param/acknowledge
POST /api/monitoring/alerts/:param/acknowledge
GET /api/monitoring/alerts/:param/silence
PATCH /api/monitoring/alerts/:param/silence
POST /api/monitoring/alerts/:param/silence

Example

Minimal HTTP exchange for the first verified route (schemas are not modeled in the generated reference).

GET /api/monitoring/alerts HTTP/1.1
Host: localhost:8080
Authorization: Bearer <token>
HTTP/1.1 200 OK

What it does

Capability Verified endpoint Registered in
Monitoring alerts GET /api/monitoring/alerts botserver/crates/botmonitoring/src/lib.rs
Monitoring alerts GET /api/monitoring/alerts/:param botserver/crates/botmonitoring/src/lib.rs
Monitoring alerts POST /api/monitoring/alerts/:param botserver/crates/botmonitoring/src/lib.rs
Alerts acknowledge GET /api/monitoring/alerts/:param/acknowledge botserver/crates/botmonitoring/src/lib.rs
Alerts acknowledge POST /api/monitoring/alerts/:param/acknowledge botserver/crates/botmonitoring/src/lib.rs
Alerts silence GET /api/monitoring/alerts/:param/silence botserver/crates/botmonitoring/src/lib.rs
Alerts silence PATCH /api/monitoring/alerts/:param/silence botserver/crates/botmonitoring/src/lib.rs
Alerts silence POST /api/monitoring/alerts/:param/silence botserver/crates/botmonitoring/src/lib.rs

Limits

  • The Generated api-monitoring reference is authoritative: no endpoint outside its table is inferred here.
  • Routes require an authenticated session unless listed in the anonymous allowlist in botsecurity-auth/src/auth_api/public_routes.rs.
  • The generated table does not model request or response fields; consult the mounted handler for them.