v5

latestOpenAPI 3.1.02026-08-08341215300.9 KB
endpoint-monitor

Validate Metric Query

Validate a metric query by running it against the datasource. Returns the number of data points found and a sample value. Does NOT save anything.

post/api/endpoint-monitor/endpoints/{endpoint_id}/metric-source/validate

Path parameters

endpoint_idstring uuid required

Request body

querystring required
providerstring
datasource_uidstring

Response

Successful Response

{"stackTrail":"paths:/api/endpoint-monitor/endpoints/{endpoint_id}/metric-source/validate:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}