{"slug":"code-halowerk-com-v1-incident-timeline-8a0490","title":"Build a post-incident timeline from logs, Alertmanager notifications and change ","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/incident-timeline","category":"code","description":"Build a post-incident timeline from logs, Alertmanager notifications and change events, with time to detect and time to resolve. Merges three sources into one chronological timeline: error lines from the logs (same parser as log-normalize; repeated messages of the same template are collapsed into bu","price_listed":0.004,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"alerts":[{"alerts":[{"endsAt":"2026-10-31T10:40:00Z","labels":{"alertname":"HighErrorRate","severity":"page"},"startsAt":"2026-10-31T10:05:00Z","status":"resolved"}],"status":"resolved"}],"events":[{"text":"Rollback to v1.8.2","time":"2026-10-31T10:20:00Z","type":"rollback"}],"logs":"{\"level\":\"error\",\"time\":\"2026-10-31T10:02:00Z\",\"msg\":\"db timeout\"}"},"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":{"alerts":{"items":{"type":"object"},"maxItems":500,"type":"array"},"events":{"items":{"additionalProperties":false,"properties":{"text":{"maxLength":500,"minLength":1,"type":"string"},"time":{"format":"date-time","type":"string"},"type":{"default":"note","enum":["deploy","rollback","config","mitigation","note"],"type":"string"}},"required":["time","text"],"type":"object"},"maxItems":500,"type":"array"},"logs":{"maxLength":5000000,"type":"string"},"year":{"maximum":2100,"minimum":1990,"type":"integer"}},"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":[],"description_full":"Build a post-incident timeline from logs, Alertmanager notifications and change events, with time to detect and time to resolve. Merges three sources into one chronological timeline: error lines from the logs (same parser as log-normalize; repeated messages of the same template are collapsed into bursts with first and last time and count), Alertmanager webhook payloads (firing at startsAt, resolved at endsAt) and your own events such as deploys, rollbacks or config changes.","last_updated":"2026-11-20T12:47:36.321Z","schemes":["exact"]}