Recipes
The docs organised by the job rather than by the endpoint. Each recipe is a complete request for one real task, in cURL and all three SDKs — plus a prompt you can hand straight to a coding agent.
Optimize a multi-stop delivery run
Turn a depot and a list of stops into the order to drive them in, with per-stop service time and a return to the depot.
Open recipePlan deliveries with customer time windows
Give each stop the window the customer agreed to and let the optimizer sequence the day around them.
Open recipeSplit a day's stops across a fleet
Hand the optimizer more stops than one vehicle can finish and cap each route, so the work comes back split across drivers.
Open recipeOptimize a route from plain addresses
Turn a spreadsheet of address strings into coordinates, then into an optimized route — the two calls in the right order, and when one call is enough.
Open recipeWorking inside an AI agent instead? Every recipe carries the same task as a copyable prompt, and the whole API is available to agents directly — npx skills add r4m-ai/skills or the MCP server.