Robotics / built-in fixture
Robot route check
A deterministic route validator for demonstrating request shape, useful errors, and a plain safety result without controlling hardware.
POST
/api/demo/robot-routePOST
/api/demo/robot-routeJSON only. Do not paste keys, tokens, customer data, or private URLs.
Response
200 fixture preview
{
"valid": true,
"route_id": "route_demo_cart_07",
"distance_m": 1.71,
"warnings": [],
"fixture": true
}Use this request in a terminal
curl -X POST https://demoapi.org/api/demo/robot-route \
+ -H "Content-Type: application/json" \
+ -d '{ "robot_id": "cart-07", "waypoints": [ { "x": 1.2, "y": 0.5 }, { "x": 2.8, "y": 1.1 } ], "max_speed_mps": 0.8 }'| Field | Type | Rule |
|---|---|---|
robot_id | string | Public demo identifier, 1–40 characters. |
waypoints | array | Two to eight x/y coordinates between -100 and 100. |
max_speed_mps | number | A value above 0 and no greater than 2. |