Get IPMI sensor graphs
curl --request GET \
--url https://my.server.express/api/v1/dedicated/{id}/graphs \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/dedicated/{id}/graphs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/dedicated/{id}/graphs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"available": [
"<string>"
],
"sensors": [
{
"time": "<string>",
"sensorTag": "<string>",
"unit": "<string>",
"sensorValue": 123
}
],
"traffic": null
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Dedicated
Get IPMI sensor graphs
The box’s IPMI sensor readings for the range, thinned to at most 300 points per sensor and cached for a minute.
traffic is always null — there’s no switch monitoring behind our metal. Readable by the owner, any team member and
staff.
GET
/
v1
/
dedicated
/
{id}
/
graphs
Get IPMI sensor graphs
curl --request GET \
--url https://my.server.express/api/v1/dedicated/{id}/graphs \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/dedicated/{id}/graphs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/dedicated/{id}/graphs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"available": [
"<string>"
],
"sensors": [
{
"time": "<string>",
"sensorTag": "<string>",
"unit": "<string>",
"sensorValue": 123
}
],
"traffic": null
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Authorizations
bearerAuthapiToken
Session access token (JWT) from POST /v1/auth/login or /v1/auth/refresh. A session satisfies every API scope.
Path Parameters
The dedicated server's service id.
Query Parameters
Case-insensitive.
Available options:
day, week, month