{"slug":"denk-halowerk-com-v1-lease-lock-33add7","title":"Distributed lease lock with fencing tokens for agent swarms","host":"denk.halowerk.com","method":"POST","resource":"https://denk.halowerk.com/v1/lease-lock","category":"market","description":"Distributed lease lock with fencing tokens for agent swarms: acquire, renew and release a named lock with a TTL. Namespaced leases: \"acquire\" grants the lock to an owner id if it is free or expired and returns a monotonically increasing fencing token; \"renew\" extends a lease held by the same owner; ","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":955,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"action":"acquire","lock":"nightly-report","namespace":"my-agents","owner":"worker-7","secret":"a-long-random-secret-123","ttl_seconds":120},"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":{"action":{"enum":["acquire","renew","release","status"],"type":"string"},"lock":{"maxLength":200,"minLength":1,"type":"string"},"namespace":{"description":"Your namespace; claimed by the first call with its secret.","pattern":"^[A-Za-z0-9_-]{3,64}$","type":"string"},"owner":{"maxLength":200,"minLength":1,"type":"string"},"secret":{"description":"Secret for the namespace (stored only as HMAC).","maxLength":200,"minLength":16,"type":"string"},"ttl_seconds":{"default":60,"maximum":3600,"minimum":5,"type":"integer"}},"required":["namespace","secret","action","lock"],"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"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":918,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":992,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1003,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":903,"error":null}],"description_full":"Distributed lease lock with fencing tokens for agent swarms: acquire, renew and release a named lock with a TTL. Namespaced leases: \"acquire\" grants the lock to an owner id if it is free or expired and returns a monotonically increasing fencing token; \"renew\" extends a lease held by the same owner; \"release\" frees it; \"status\" shows holder and expiry. TTL 5 seconds to 1 hour. Fencing tokens let downstream systems reject writes from a stale holder.","last_updated":"2026-11-24T10:18:52.586Z","schemes":["exact"]}