{"uid":"cap_pNLkl5rj5o0DFUhCdVh1G","slug":"halowerk-laufwerk-tour-distance-readiness-check-82ca29d6","name":"HALOWERK laufwerk – Tour Distance Readiness Check","description":"HALOWERK laufwerk — bezahlte Endpunkte nach x402. Preise in USDC auf Base Mainnet.","url":"https://lauf.halowerk.com/v1/tours/distance-readiness?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"jobs":{"type":"array","items":{"type":"object","required":["id","point","demand","service_s","window"],"properties":{"id":{"type":"string","maxLength":80,"minLength":1},"point":{"type":"integer","maximum":20,"minimum":1},"demand":{"type":"number","maximum":100000,"minimum":0},"window":{"type":"array","items":{"type":"number","maximum":604800,"minimum":0},"maxItems":2,"minItems":2},"service_s":{"type":"number","maximum":604800,"minimum":0}},"additionalProperties":false},"maxItems":20,"minItems":1},"vehicles":{"type":"array","items":{"type":"object","required":["id","capacity","shift"],"properties":{"id":{"type":"string","maxLength":80,"minLength":1},"shift":{"type":"array","items":{"type":"number","maximum":604800,"minimum":0},"maxItems":2,"minItems":2},"capacity":{"type":"number","maximum":100000,"exclusiveMinimum":0}},"additionalProperties":false},"maxItems":4,"minItems":1},"distances_m":{"type":"array","items":{"type":"array","items":{"anyOf":[{"type":"number","maximum":10000000,"minimum":0},{"type":"null"}]},"maxItems":21,"minItems":2},"maxItems":21,"minItems":2},"durations_s":{"type":"array","items":{"type":"array","items":{"anyOf":[{"type":"number","maximum":604800,"minimum":0},{"type":"null"}]},"maxItems":21,"minItems":2},"maxItems":21,"minItems":2},"matrix_source":{"type":"string","maxLength":200,"minLength":1},"max_distance_m":{"type":"number","maximum":10000000,"minimum":0}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_p4SJKgymaRBBU4-QefBI_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Assesses whether a set of delivery jobs can be feasibly completed by available vehicles given a precomputed distance/duration matrix and optional maximum distance constraint.","exampleAgentPrompt":"Can you check if our 3 vehicles (each with capacity 500) can handle 10 delivery jobs across today's 8-hour shift — I have the distance and duration matrices ready — and flag whether any job falls outside a 50 km max distance limit?","exampleUseCases":[{"title":"Pre-dispatch route feasibility check","prompt":"Before we send out our drivers tomorrow morning, check if our 2 vans (capacity 200 each, 7am–4pm shift) can realistically cover all 8 delivery jobs given the time windows and this distance matrix — let me know if anything is out of reach within 30 km."},{"title":"Logistics planning for same-day deliveries","prompt":"We've got 15 same-day parcels with tight time windows and 3 vehicles available from 9am to 6pm. Run a distance readiness check using the duration and distance matrices I've prepared and tell me if the plan is feasible."},{"title":"Fleet capacity validation before optimization","prompt":"Before running the full route optimizer, can you do a quick readiness check for 4 vehicles and 20 stops? I want to know if the capacity and shift windows allow completion of all jobs within a 200 km max distance."}],"resultDescription":"A JSON response indicating whether the provided jobs can be feasibly served by the given vehicles, taking into account capacity, time windows, service durations, distance/duration matrices, and the optional maximum distance constraint. May include per-job or per-vehicle feasibility signals.","failureModes":["Missing required fields (jobs, vehicles, distances_m, or durations_s) return validation errors","Matrix dimensions not matching number of points cause schema rejection","Vehicle capacity set to zero or negative triggers validation failure","Time window arrays with incorrect length (not exactly 2 elements) are rejected","Jobs or vehicles exceeding array size limits (20 jobs, 4 vehicles) cause rejection","Null values in matrix that prevent feasibility calculation may return partial or error results"],"whenToPreferThis":"Use this endpoint when you need a fast, pre-optimization feasibility check for a vehicle routing problem — before committing to full route optimization. It is ideal when you already have a precomputed distance/duration matrix and want to validate that capacity, time windows, shift hours, and distance limits are compatible with the job set, without running a more expensive solver.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:40:16.362Z","isFirstParty":false,"canonicalSlug":"halowerk-laufwerk-tour-distance-readiness-check-82ca29d6"}