Codewerk
incident timeline
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. It computes first error, first alert, first mitigation event after the alert, last resolution, time to detect and time to resolve, and returns the.
POST https://code.halowerk.com/v1/incident-timelineInputs
| Field | Type | Required | Description |
|---|---|---|---|
| logs | string | No | |
| year | integer | No | |
| alerts | array | No | Alertmanager webhook payloads (with alerts[]) or single alerts. |
| events | array | No |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"logs": {
"type": "string",
"maxLength": 5000000
},
"year": {
"type": "integer",
"minimum": 1990,
"maximum": 2100
},
"alerts": {
"type": "array",
"maxItems": 500,
"items": {
"type": "object"
},
"description": "Alertmanager webhook payloads (with alerts[]) or single alerts."
},
"events": {
"type": "array",
"maxItems": 500,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"time",
"text"
],
"properties": {
"time": {
"type": "string",
"format": "date-time"
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"type": {
"type": "string",
"enum": [
"deploy",
"rollback",
"config",
"mitigation",
"note"
],
"default": "note"
}
}
}
}
}
}Published input example
{
"logs": "{\"level\":\"error\",\"time\":\"2026-10-31T10:02:00Z\",\"msg\":\"db timeout\"}",
"alerts": [
{
"status": "resolved",
"alerts": [
{
"status": "resolved",
"labels": {
"alertname": "HighErrorRate",
"severity": "page"
},
"startsAt": "2026-10-31T10:05:00Z",
"endsAt": "2026-10-31T10:40:00Z"
}
]
}
],
"events": [
{
"time": "2026-10-31T10:20:00Z",
"text": "Rollback to v1.8.2",
"type": "rollback"
}
]
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Codewerk0.003 USDC
action sha pin
POSThttps://code.halowerk.com/v1/action-sha-pinFinds every "uses: owner/repo[/path]@ref" in a GitHub Actions workflow, resolves tags (including annotated tags) and branches to the commit SHA with git ls-remote against github.com, and rewrites the line to "uses: owner/repo[/path]@<sha> #
- Codewerk0.003 USDC
actionlint
POSThttps://code.halowerk.com/v1/actionlintRuns the official statically linked actionlint 1.7.12 release binary (MIT, SHA-256 checked against the published checksums) in an isolated child process without network, with the bundled ShellCheck 0.11.0 for run: scripts (pyflakes is not a
- Codewerk0.004 USDC
api changelog
POSThttps://code.halowerk.com/v1/api-changelogCompares operations, parameters, request bodies, response codes and media types, component schemas (one property level), servers and security schemes of two documents (Swagger 2.0 is converted with swagger2openapi first; 3.0 and 3.1 are rea