{"slug":"code-halowerk-com-v1-runbook-draft-c01861","title":"Generate runbook skeletons from Prometheus alert rules","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/runbook-draft","category":"code","description":"Generate runbook skeletons from Prometheus alert rules: trigger, threshold, involved metrics, diagnosis queries and labels, with marked sections for your team to fill.","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1008,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"alert":"HighErrorRate","rules":"groups:\n  - name: api\n    rules:\n      - alert: HighErrorRate\n        expr: sum by (job) (rate(http_requests_total{status=~\"5..\"}[5m])) / sum by (job) (rate(http_requests_total[5m])) > 0.05\n        for: 10m\n        labels: { severity: page }\n"},"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":{"alert":{"maxLength":200,"minLength":1,"type":"string"},"dashboard_url":{"format":"uri","maxLength":500,"type":"string"},"rules":{"maxLength":1000000,"minLength":10,"type":"string"}},"required":["rules"],"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-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":894,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1008,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":931,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":888,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1214,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1172,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1195,"error":null}],"description_full":"Generate runbook skeletons from Prometheus alert rules: trigger, threshold, involved metrics, diagnosis queries and labels, with marked sections for your team to fill.","last_updated":"2026-11-20T13:37:18.194Z","schemes":["exact"]}