Get aggregated response-time performance over a window for an HTTP monitor.
GET
/http/job/{job_id}/performance
const url = 'https://api.siteqwality.com/http/job/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/performance?time_frame=example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.siteqwality.com/http/job/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/performance?time_frame=example' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” job_id
required
string format: uuid
HTTP monitor identifier
Query Parameters
Section titled “Query Parameters ” time_frame
required
string
One of: day, week, month, year
threshold
integer format: int32
Threshold (ms) for slow-call bucketing
Responses
Section titled “ Responses ”Time-bucketed response-time series
Missing or invalid authentication
Internal server error