Data
List data points
This endpoint lists all data points for a robot.
curl --request GET https://api.airbotics.io/robots/robot0/logs?source=%2Fturtle1%2Fcmd_vel&from=2023-08-03T15:46:17.864Z&limit=200 \
--header 'content-type: application/json' \
--header 'air-api-key: <token>'
[
{
"uuid": "43422c40-111f-4345-87d4-b27b952397fe",
"stamp": "2023-08-03T15:46:17.864Z",
"level": "INFO",
"name": "/turtlebot_controller",
"file": "src/turtlebot_controller.cpp",
"function": "void TurtlebotController::navigateToGoal(const geometry_msgs::Pose& goal)",
"line": 123,
"msg": "Robot has reached its destination."
}
]
Path parameters
id
string
requiredThe ID of the robot.
Query parameters
source
string
The source name of the data stream. Special characters such as /
must be percent encoded
from
date
An ISO timestamp string to filter logs to those recorded after this timestamp.
to
date
An ISO timestamp string to filter logs to those recorded before this timestamp.
latest_only
boolean
default: "false"Only return the latest data point
offset
int
default: "0"The number of results to skip, if paginating.
limit
int
default: "50"The number of results to take, if paginating.
curl --request GET https://api.airbotics.io/robots/robot0/logs?source=%2Fturtle1%2Fcmd_vel&from=2023-08-03T15:46:17.864Z&limit=200 \
--header 'content-type: application/json' \
--header 'air-api-key: <token>'
[
{
"uuid": "43422c40-111f-4345-87d4-b27b952397fe",
"stamp": "2023-08-03T15:46:17.864Z",
"level": "INFO",
"name": "/turtlebot_controller",
"file": "src/turtlebot_controller.cpp",
"function": "void TurtlebotController::navigateToGoal(const geometry_msgs::Pose& goal)",
"line": 123,
"msg": "Robot has reached its destination."
}
]