Monitors

Run a monitor now

Changed on

Triggers an immediate run of the monitor outside its normal schedule. The run is queued and processed asynchronously.

post/monitors/{monitor_id}/run

Request

  • Base URL
    https://api.context.dev/v1
  • URL
    https://api.context.dev/v1/monitors/{monitor_id}/run
  • Auth
    HTTP bearer

Path parameters

monitor_idstring required
Example:mon_123

Response

Run queued

monitor_idstring required
run_idstring required

The queued run. Poll GET /monitors/{monitor_id}/runs or use it to correlate results.

queuedboolean required

Example response

{
  "monitor_id": "mon_123",
  "run_id": "run_123",
  "queued": true
}

Changes

    • warning

      added the new WEBSITE_BLOCKED enum value to the response property for the response status

    • warning

      added the new WEBSITE_BLOCKED enum value to the response property for the response status

    • warning

      added the new COLD_DOMAIN_TIMEOUT_TOO_LOW enum value to the response property for the response status

    • warning

      added the new COLD_DOMAIN_TIMEOUT_TOO_LOW enum value to the response property for the response status