Get report data
curl --request GET \
--url https://api.ipulse.one/v2/reports/data \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ipulse.one/v2/reports/data"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ipulse.one/v2/reports/data', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ipulse.one/v2/reports/data",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"success": true,
"message": "<string>",
"data": {
"period": "<string>",
"domains": {
"total": 123,
"up": 123,
"down": 123,
"average_uptime": 123
},
"devices": {
"total": 123,
"online": 123,
"offline": 123,
"average_uptime": 123
},
"anomalies": {
"total": 123,
"resolved": 123,
"open": 123,
"by_severity": {
"low": 123,
"medium": 123,
"high": 123,
"critical": 123
}
}
}
}{
"success": false,
"message": "Unauthenticated."
}{
"success": false,
"message": "This feature requires a Reports Plan subscription."
}Reports
Get report data
Get comprehensive report data (Reports Plan required)
GET
/
v2
/
reports
/
data
Get report data
curl --request GET \
--url https://api.ipulse.one/v2/reports/data \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ipulse.one/v2/reports/data"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ipulse.one/v2/reports/data', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ipulse.one/v2/reports/data",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"success": true,
"message": "<string>",
"data": {
"period": "<string>",
"domains": {
"total": 123,
"up": 123,
"down": 123,
"average_uptime": 123
},
"devices": {
"total": 123,
"online": 123,
"offline": 123,
"average_uptime": 123
},
"anomalies": {
"total": 123,
"resolved": 123,
"open": 123,
"by_severity": {
"low": 123,
"medium": 123,
"high": 123,
"critical": 123
}
}
}
}{
"success": false,
"message": "Unauthenticated."
}{
"success": false,
"message": "This feature requires a Reports Plan subscription."
}Authorizations
bearerAuthagentAuth
Query Parameters
⌘I

