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}
https://{kibana_url}
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).
space_id
string
optional
An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.
Test run triggered successfully.
Monitor not found.
https://{kibana_url}