finops.halowerk.com/v1/minimum-storage-duration-ledger
Original objectKiB,initialclasses and executed classchanges/deletions produce actualcapacity-days,earlytermination minimum-duration remainders and separate stillopen futureminimum obligations. STANDARD/StandardIA/GlacierInstant only;128KiBfloor,30/90wholemodeldays. No lifecycleorigin inference,versions,overwrite,Flexible/DeepArchive metadata,prices/calendar/providerbill certification. One uncertai
POST
https://finops.halowerk.com/v1/minimum-storage-duration-ledgerUptime100% 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
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://finops.halowerk.com/v1/minimum-storage-duration-ledger", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"events":[{"at":10,"destination":"standard","kind":"transition","object_index":0},{"at":20,"destination":null,"kind":"delete","object_index":0}],"horizon":30,"objects":[{"class_domain":["ia"],"size_kib":64}],"report":{"phases":[{"actual_kib_days":1280,"billable_kib":128,"class":"ia","early_kib_days":2560,"end":10,"object_index":0,"phase_index":0,"remaining_kib_days":0,"start":0},{"actual_kib_days),
});
console.log(await res.json());Example input
{"events":[{"at":10,"destination":"standard","kind":"transition","object_index":0},{"at":20,"destination":null,"kind":"delete","object_index":0}],"horizon":30,"objects":[{"class_domain":["ia"],"size_kib":64}],"report":{"phases":[{"actual_kib_days":1280,"billable_kib":128,"class":"ia","early_kib_days":2560,"end":10,"object_index":0,"phase_index":0,"remaining_kib_days":0,"start":0},{"actual_kib_days