Trigger an on-demand test run for a monitor
- Base URL
-
https://{kibana_url}
- POST /api/synthetics/monitor/test/{monitorId}
- POST /s/{space_id}/api/synthetics/monitor/test/{monitorId}
Trigger an immediate test execution for the specified monitor.
The response includes the generated testRunId. If the test encounters issues in one or more service locations, an errors array is also returned with details about the failures.
[Required authorization] Route required privileges: (uptime-read) AND (uptime-write OR monitor-run-manually).
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.
Responses
Test run triggered successfully.
404
Monitor not found.