/monitors/{id}/resume
const url = 'https://culipulse.dev/v1/monitors/mon_123/resume';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://culipulse.dev/v1/monitors/mon_123/resume \ --header 'Authorization: Bearer <token>'Start checking a paused monitor again. It shows as pending until its first check completes. Resuming a monitor that isn’t paused changes nothing.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
mon_123Responses
Section titled “Responses”The monitor
object
1 = follow redirects, 0 = don’t
How many agents must see a failure before the monitor is marked down. Only used by monitors that check from agents (http, tcp, icmp, udp); vendor, domain and dns are checked once by CuliPulse, so it is always 1 for them.
Heartbeat only. Written as grace_seconds.
1 = being checked, 0 = paused. Change it with POST /monitors/{id}/pause and /monitors/{id}/resume.
Unix seconds
Unix seconds
Returned by GET /monitors/{id}; omitted from the list.
object
HTTP monitors: what to send.
object
Plain request headers.
object
Write-only. Headers stored encrypted; reads return their names in secretHeaderNames. Send {} to clear.
object
Write-only. true keeps the stored secret headers.
Read-only. Names of the stored secret headers.
Reads return type only. Send type alone to keep the stored credentials.
object
Request body.
On write, stores body encrypted. On read, true means a secret body is set (it isn’t returned).
Write-only, with bodySecret: true keeps the stored secret body.
HTTP monitors: extra checks on the response.
object
Json_body only.
Header only.
UDP monitors: what to send and expect.
object
On write, stores payload encrypted. On read, true means a secret payload is set.
Write-only, with payloadSecret: true keeps the stored secret payload.
Days of warning before a domain or certificate expires.
object
ICMP monitors.
object
Heartbeat monitors. The token is created by the server and kept on update.
object
DNS monitors.
object
object
Read-only. Vendor status monitors: set by the server from target.
object
Read-only. Ids of the vendor monitors this monitor depends on.
Agent ids probing this monitor. Returned by GET /monitors/{id}.
Example
{ "id": "mon_123", "type": "http", "status": "up", "check_spec": { "request": { "auth": { "type": "bearer" } }, "assertions": [ { "source": "text_body" } ], "transport": { "payloadEncoding": "utf8", "expectMode": "contains" } }}Unauthorized
object
Example
{ "error": "not found", "request_id": "req_abc123"}Not found
object
Example
{ "error": "not found", "request_id": "req_abc123"}