Caller-declared incompatible cargo groups on delivery vans
lauf.halowerk.com/v1/tours/compatibility-readiness
Caller-declared incompatible cargo groups on delivery vans. Two cargo groups in a caller forbidden pair must never share an active route. No hazardous-material legal assessment. 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 optim
POST
https://lauf.halowerk.com/v1/tours/compatibility-readinessUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://lauf.halowerk.com/v1/tours/compatibility-readiness", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"durations_s":[[0,300,480,360],[300,0,240,180],[480,240,0,300],[360,180,300,0]],"incompatible_groups":[["clean","dirty"]],"jobs":[{"cargo_group":"clean","demand":2,"id":"stop-A","point":1,"service_s":120,"window":[0,1800]},{"cargo_group":"clean","demand":2,"id":"stop-B","point":2,"service_s":180,"window":[600,3000]},{"cargo_group":"clean","demand":1,"id":"stop-C","point":3,"service_s":60,"window"),
});
console.log(await res.json());Example input
{"durations_s":[[0,300,480,360],[300,0,240,180],[480,240,0,300],[360,180,300,0]],"incompatible_groups":[["clean","dirty"]],"jobs":[{"cargo_group":"clean","demand":2,"id":"stop-A","point":1,"service_s":120,"window":[0,1800]},{"cargo_group":"clean","demand":2,"id":"stop-B","point":2,"service_s":180,"window":[600,3000]},{"cargo_group":"clean","demand":1,"id":"stop-C","point":3,"service_s":60,"window"