Robots
List vitals
This endpoint lists vitals for a robot.
curl --request GET https://api.airbotics.io/robots/robot0/vitals \
--header 'content-type: application/json' \
--header 'air-api-key: <token>'
[
{
"uuid": "84943d86-d440-4000-8c6b-606a5726e910",
"created_at": "2023-08-14T14:20:46.194Z",
"battery": 30.4,
"cpu": 11.1,
"ram": 39.1,
"disk": 3.88
},
{
"uuid": "84943d86-d440-4000-8c6b-606a5726e910",
"created_at": "2023-08-14T14:20:45.458Z",
"battery": 30.1,
"cpu": 11.3,
"ram": 40.1,
"disk": 3.79
}
]
Path parameters
id
string
requiredThe ID of the robot.
Query parameters
offset
int
default: "0"The number of results to skip, if paginating.
limit
int
default: "50"The number of results to take, if paginating.
latest_only
boolean
default: "false"Only return the latest vital.
curl --request GET https://api.airbotics.io/robots/robot0/vitals \
--header 'content-type: application/json' \
--header 'air-api-key: <token>'
[
{
"uuid": "84943d86-d440-4000-8c6b-606a5726e910",
"created_at": "2023-08-14T14:20:46.194Z",
"battery": 30.4,
"cpu": 11.1,
"ram": 39.1,
"disk": 3.88
},
{
"uuid": "84943d86-d440-4000-8c6b-606a5726e910",
"created_at": "2023-08-14T14:20:45.458Z",
"battery": 30.1,
"cpu": 11.3,
"ram": 40.1,
"disk": 3.79
}
]