saylorinnovations.com/api/inventory/abc-analysis
ABC classification by cumulative annual value with policy recommendations
GET
https://saylorinnovations.com/api/inventory/abc-analysisUptime75.0% of 4 checks in 30 days
30 days agoToday
Call it from an agent
curl -i "https://saylorinnovations.com/api/inventory/abc-analysis?items=Widget%3A5000%3A2.4%7CGadget%3A300%3A45%7CBolt%3A90000%3A0.04%7CValve%3A120%3A310%7CGasket%3A20000%3A0.55%7CPump%3A15%3A2400%7CCable%3A2500%3A3.2%7CSwitch%3A900%3A7.5%7CFilter%3A4000%3A1.8%7CLabel%3A50000%3A0.02" # 402 Payment Required comes back with the price and where to pay. # Any x402 client pays and retries.
Example input
{
"items": "Widget:5000:2.4|Gadget:300:45|Bolt:90000:0.04|Valve:120:310|Gasket:20000:0.55|Pump:15:2400|Cable:2500:3.2|Switch:900:7.5|Filter:4000:1.8|Label:50000:0.02"
}