{"components":{"securitySchemes":{"l402":{"description":"L402 authentication. On first request, the server returns 402 with a Lightning invoice. Pay the invoice, then retry with: Authorization: L402 {macaroon}:{preimage}","in":"header","name":"Authorization","type":"apiKey"}}},"info":{"description":"API endpoints for routeplanner","title":"routeplanner","version":"1.0.0"},"openapi":"3.1.0","paths":{"/origin/v1/routes/optimize":{"post":{"operationId":"post_origin_v1_routes_optimize","responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required — pay the Lightning invoice in the WWW-Authenticate header"}},"summary":"Optimize a route (single)","x-l402-pricing":{"model":"per_request","priceSats":10}}},"/origin/v1/routes/optimize-fleet":{"post":{"operationId":"post_origin_v1_routes_optimize_fleet","responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required — pay the Lightning invoice in the WWW-Authenticate header"}},"summary":"Optimize a fleet (VRP)","x-l402-pricing":{"model":"per_request","priceSats":10}}}},"security":[{"l402":[]}],"servers":[{"url":"https://routeplanner.gw.bolthub.ai"}],"x-l402-sdks":{"python":"bolthub","typescript":"@bolthub/agent"}}
