Route waypoints as 'latitude,longitude' strings. Specify at least origin and destination. Via points are possible. Example: ['51.131,12.414', '48.224,3.867']
localestring
Locale for turn instructions. Examples: 'en', 'de', 'fr', 'pt_PT'
Preferred heading direction for each point in degrees (0-360, north-based clockwise). Specify one for start or one per point. Requires ch.disable=true.
profilestring
The routing profile determining network, speed, and physical attributes. Common values: 'car', 'bike', 'foot', 'motorcycle', 'mtb', 'racingbike', 'hike'. Default: 'car'
curbsidearray
Side of the road for leaving/arriving at each point. Specify for all points or none. Only for motor vehicles.
optimizestring
If 'true', reorders points to minimize total travel time. Applies route optimization limits and costs more credits.
algorithmstring
Special routing algorithm. 'round_trip': returns to start with randomness. 'alternative_route': provides multiple route options.
elevationboolean
Include altitude as third coordinate in response. Changes format of points and snapped_waypoints fields.
ch.disableboolean
Enable flexible mode to use custom_model or advanced options below. Set to true for heading, algorithm, etc.
point_hintarray
Optional road name hints for snapping each point. Specify none or the same number as points.
Observable output
data
Required
Data from the action execution
errorstring
Error if any occurred during the execution of the action
successfulboolean
Required
Whether or not the action execution was successful or not