ingestion

Push a probe result

Push a self-reported probe. Minimal body (endpoint_id + is_success) = pass/fail check. Full body (status_code + response_body + ...) enables schema-diff regression detection.

post/api/v1/probes

Request

  • Base URL: https://monit.rs
  • URL: https://monit.rs/api/v1/probes
  • Auth: HTTP bearer

Headers

X-Backfill'true'

Set to true to allow checked_at in [-24h, -1h]. Backfilled probes bypass alerting.

Idempotency-Keystring

Optional. Same key + same body replays cached response for 24h; same key + different body returns 409.

Request body

endpoint_idstring uuid required
is_successboolean required
status_codeinteger nullable
response_time_msnumber nullable
response_bodyunknown
response_headersobject nullable
error_messagestring nullable
checked_atstring date-time nullable

Response

Accepted. Poll GET /probes/{id} for derived fields.

Changes

No recorded changes to this operation across all 1 revision of this API.