Skip to content

API Reference

The Flio.ai API reference documentation contains detailed information about all endpoints, parameters, and response models.

Endpoints

Method Endpoint Description
POST /solver/route Calculates an optimized route between two points
POST /solver/optimize Optimizes multi-vehicle distribution problems

Authentication

All endpoints require an API key passed as a query parameter:

?apiKey=YOUR-API-KEY

Request Format

All endpoints accept a JSON request body:

curl -X POST "https://api.flio.ai/solver/route?apiKey=YOUR-API-KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'

Response Format

All endpoints return JSON. Successful requests return HTTP 200; errors return the appropriate HTTP status code.

Endpoint References


API reference documentation — Flio.ai

Next Steps