Monitors

Run a monitor now

Changed on

Queue a run without changing the regular schedule. Paused monitors return 409.

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

ID of the monitor.

Example:mon_123

Response

Run queued

monitor_idstring required
run_idstring required

ID of the queued run; pass it to Retrieve a monitor run.

queuedboolean required
request_idstring uuid required

Unique ID of this request, also in X-Request-Id. Include it when contacting support.

Example response

{
  "monitor_id": "mon_123",
  "run_id": "run_123",
  "queued": true,
  "request_id": "3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91"
}

Changes

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status