routes
Fetch Routes Path
Fetch and cache route paths from a hotel to a POI, storing in conversation cache. Returns encoded polylines with travel time and distance metadata.
Direction: hotel → POI (user is staying at hotel, traveling to POI)
Args: request: Route path request with conversation ID, tool call ID, result index, origin (hotel), and destination (POI) db: Database session current_user: Validated user info
Returns: RoutesPathResponse with routes for each travel mode
Raises: HTTPException: 403 if unauthorized, 404 if not found
post/routes/path
Request body
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.