For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Type Alias RoutingGetRequest
RoutingGetRequest: RoutingRequestBase & { locations: RoutingGetLocation[] } & RoutingProfileSelection<
RoutingCarOptions,
RoutingTruckOptions,
RoutingBicycleOptions,
RoutingPedestrianOptions,
>
RoutingCarOptions,
RoutingTruckOptions,
RoutingBicycleOptions,
RoutingPedestrianOptions,
>
Type Declaration
locations: RoutingGetLocation[]
List of route locations (at least 2)
Routing request for GET /routing/v1/directions.
The GET endpoint takes a strict subset of what the POST body accepts, so this type deliberately omits the fields that cannot be expressed as query parameters: RoutingLocation.heading, RoutingLocation.waypoint and
avoidLocations. Use routing.directionsPost if you need any of them.