{"slug":"finops-halowerk-com-v1-ec2-billable-session-clock-b1ee3c","title":"From supplied original state changes and reboot markers derive running/hibernati","host":"finops.halowerk.com","method":"POST","resource":"https://finops.halowerk.com/v1/ec2-billable-session-clock","category":"market","description":"From supplied original state changes and reboot markers derive running/hibernation-stopping duration, closed billable sessions and 60second minimum per start. Reboot never restarts the minimum. Pending/stopped/shutting-down/terminated are unbilled; ordinary stopping unbilled. Missing stopping kind a","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":1196,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"events":[{"at":0,"state":"pending","stop_kind":null},{"at":1,"state":"running","stop_kind":null},{"at":5,"state":"reboot","stop_kind":null},{"at":21,"state":"stopping","stop_kind":"normal"},{"at":31,"state":"stopped","stop_kind":null},{"at":120,"state":"pending","stop_kind":null},{"at":121,"state":"running","stop_kind":null},{"at":140,"state":"stopping","stop_kind":"normal"},{"at":150,"state":"stopped","stop_kind":null}],"horizon":160,"report":{"final_billable_seconds":120,"hibernation_seconds":0,"running_seconds":39,"sessions":[{"closed":true,"final_billable_seconds":60,"minimum_due_seconds":60,"observed_seconds":20,"start":1},{"closed":true,"final_billable_seconds":60,"minimum_due_seconds":60,"observed_seconds":19,"start":121}]}},"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":{"events":{"items":{"additionalProperties":false,"properties":{"at":{"maximum":1000000,"minimum":0,"type":"integer"},"state":{"enum":["pending","running","stopping","stopped","shutting-down","terminated","reboot"]},"stop_kind":{"enum":["normal","hibernate",null]}},"required":["at","state","stop_kind"],"type":"object"},"maxItems":12,"minItems":1,"type":"array"},"horizon":{"maximum":1000000,"minimum":0,"type":"integer"},"report":{"additionalProperties":false,"properties":{"final_billable_seconds":{"anyOf":[{"maximum":10000000,"minimum":0,"type":"integer"},{"type":"null"}]},"hibernation_seconds":{"anyOf":[{"maximum":10000000,"minimum":0,"type":"integer"},{"type":"null"}]},"running_seconds":{"anyOf":[{"maximum":10000000,"minimum":0,"type":"integer"},{"type":"null"}]},"sessions":{"items":{"additionalProperties":false,"properties":{"closed":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"final_billable_seconds":{"anyOf":[{"maximum":10000000,"minimum":0,"type":"integer"},{"type":"null"}]},"minimum_due_seconds":{"anyOf":[{"maximum":10000000,"minimum":0,"type":"integer"},{"type":"null"}]},"observed_seconds":{"anyOf":[{"maximum":10000000,"minimum":0,"type":"integer"},{"type":"null"}]},"start":{"anyOf":[{"maximum":10000000,"minimum":0,"type":"integer"},{"type":"null"}]}},"required":["start","closed","observed_seconds","minimum_due_seconds","final_billable_seconds"],"type":"object"},"maxItems":6,"minItems":0,"type":"array"}},"required":["sessions","running_seconds","hibernation_seconds","final_billable_seconds"],"type":"object"}},"required":["events","horizon","report"],"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"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1178,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1182,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1210,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1226,"error":null}],"description_full":"From supplied original state changes and reboot markers derive running/hibernation-stopping duration, closed billable sessions and 60second minimum per start. Reboot never restarts the minimum. Pending/stopped/shutting-down/terminated are unbilled; ordinary stopping unbilled. Missing stopping kind and open final bills remain unknown; known early conflicts remain negative. No cloud operation, provider data/bill/price/RI/EBS certification.","last_updated":"2026-11-24T10:22:21.772Z","schemes":["exact"]}