{"slug":"lauf-halowerk-com-v1-tours-distance-readiness-203b84","title":"Delivery tour distance budget from a caller-supplied route distance matrix","host":"lauf.halowerk.com","method":"POST","resource":"https://lauf.halowerk.com/v1/tours/distance-readiness","category":"other","description":"Delivery tour distance budget from a caller-supplied route distance matrix. Sum every actual leg including return, require declared matrix dimensions and compare meters with budget. Uses the paid-qualified existing VRP planner unchanged, then checks this business rule against the actual proposed rou","price_listed":0.007,"price_asked":0.007,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":901,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"distances_m":[[0,3000,4800,3600],[3000,0,2400,1800],[4800,2400,0,3000],[3600,1800,3000,0]],"durations_s":[[0,300,480,360],[300,0,240,180],[480,240,0,300],[360,180,300,0]],"jobs":[{"demand":2,"id":"stop-A","point":1,"service_s":120,"window":[0,1800]},{"demand":2,"id":"stop-B","point":2,"service_s":180,"window":[600,3000]},{"demand":1,"id":"stop-C","point":3,"service_s":60,"window":[0,3600]}],"matrix_source":"Illustrative declared delivery times, seconds; not a live road measurement","max_distance_m":100000,"vehicles":[{"capacity":3,"id":"van-1","shift":[0,7200]},{"capacity":2,"id":"van-2","shift":[0,7200]}]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"distances_m":{"items":{"items":{"anyOf":[{"maximum":10000000,"minimum":0,"type":"number"},{"type":"null"}]},"maxItems":21,"minItems":2,"type":"array"},"maxItems":21,"minItems":2,"type":"array"},"durations_s":{"items":{"items":{"anyOf":[{"maximum":604800,"minimum":0,"type":"number"},{"type":"null"}]},"maxItems":21,"minItems":2,"type":"array"},"maxItems":21,"minItems":2,"type":"array"},"jobs":{"items":{"additionalProperties":false,"properties":{"demand":{"maximum":100000,"minimum":0,"type":"number"},"id":{"maxLength":80,"minLength":1,"type":"string"},"point":{"maximum":20,"minimum":1,"type":"integer"},"service_s":{"maximum":604800,"minimum":0,"type":"number"},"window":{"items":{"maximum":604800,"minimum":0,"type":"number"},"maxItems":2,"minItems":2,"type":"array"}},"required":["id","point","demand","service_s","window"],"type":"object"},"maxItems":20,"minItems":1,"type":"array"},"matrix_source":{"maxLength":200,"minLength":1,"type":"string"},"max_distance_m":{"maximum":10000000,"minimum":0,"type":"number"},"vehicles":{"items":{"additionalProperties":false,"properties":{"capacity":{"exclusiveMinimum":0,"maximum":100000,"type":"number"},"id":{"maxLength":80,"minLength":1,"type":"string"},"shift":{"items":{"maximum":604800,"minimum":0,"type":"number"},"maxItems":2,"minItems":2,"type":"array"}},"required":["id","capacity","shift"],"type":"object"},"maxItems":4,"minItems":1,"type":"array"}},"required":["durations_s","matrix_source","vehicles","jobs","distances_m","max_distance_m"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"additionalProperties":false,"properties":{"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":895,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":901,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":896,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":906,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":890,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":1185,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":1170,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":1205,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":1179,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":871,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":969,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":896,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":880,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":871,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":861,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":852,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":860,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":984,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":983,"error":null},{"day":"2026-11-08","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":878,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":988,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":906,"error":null},{"day":"2026-11-05","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":990,"error":null},{"day":"2026-11-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":884,"error":null},{"day":"2026-11-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":874,"error":null},{"day":"2026-11-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":883,"error":null}],"description_full":"Delivery tour distance budget from a caller-supplied route distance matrix. Sum every actual leg including return, require declared matrix dimensions and compare meters with budget. Uses the paid-qualified existing VRP planner unchanged, then checks this business rule against the actual proposed route. A rule violation yields dispatch_ready=false, never an assertion that the extra constraint was optimized.","last_updated":"2026-11-02T14:59:41.688Z","schemes":["exact"]}