Logs
Configure logs for a robot
This endpoint configures logs collection on a robot
curl --request PATCH https://api.airbotics.io/robots/robot0/logs/config \
--header 'content-type: application/json' \
--header 'air-api-key: <token>'
--data '{
"enabled": true
}'
{
"message": "You have configured logs for that robot."
}
Path parameters
id
string
requiredThe ID of the robot.
Body parameters
enabled
boolean
Whether logs collection should be enabled
curl --request PATCH https://api.airbotics.io/robots/robot0/logs/config \
--header 'content-type: application/json' \
--header 'air-api-key: <token>'
--data '{
"enabled": true
}'
{
"message": "You have configured logs for that robot."
}