Download OpenAPI specification:
Public API for Waroom incident management
| name required | string Service name |
required | object |
{- "service_architecture_context": {
- "blob": "string"
}
}{- "id": 0,
- "blob": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service": {
- "name": "string"
}
}Returns the Slack channel configured for incident notifications for this service. Returns 404 when no channel is configured.
| name required | string Service name |
{- "name": "string",
- "key": "string"
}Sets the Slack channel for incident notifications for this service. The channel name is resolved from the given channel ID (key) via Slack API (conversations.info). If no channel is configured, creates one. If already configured, updates it.
| name required | string Service name |
required | object |
{- "service_notification_slack_channel": {
- "key": "string"
}
}{- "name": "string",
- "key": "string"
}Removes the Slack channel configured for incident notifications for this service. Returns 404 when no channel is configured.
| name required | string Service name |
{- "errors": [
- "string"
]
}Returns the incident document template for this service. When no template is set, returns 200 with blob set to empty string.
| name required | string Service name |
{- "blob": "string"
}Updates the incident document template for this service. Used by ChatGPT to control the structure of generated incident reports.
| name required | string Service name |
required | object |
{- "incident_document_template": {
- "blob": "string"
}
}{- "blob": "string"
}| page | integer Default: 1 |
| per_page | integer Default: 50 |
| sort_order | string Default: "desc" Enum: "asc" "desc" |
{- "incidents": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "severity": "string",
- "status": "string",
- "root_cause": "string",
- "experimental": true,
- "metrics": {
- "ttd": 0,
- "tta": 0,
- "tti": 0,
- "ttf": 0,
- "ttr": 0
}, - "service": {
- "name": "string"
}, - "labels": [
- {
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z"
}
], - "response_metadata": {
- "current_page": 0,
- "next_page": 0,
- "prev_page": 0,
- "total_pages": 0,
- "total_count": 0
}
}required | object |
{- "incident": {
- "service_name": "string",
- "title": "string",
- "severity": "critical",
- "experimental": false,
- "description": "string",
- "is_private": false
}
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "severity": "string",
- "status": "string",
- "root_cause": "string",
- "experimental": true,
- "metrics": {
- "ttd": 0,
- "tta": 0,
- "tti": 0,
- "ttf": 0,
- "ttr": 0
}, - "service": {
- "name": "string"
}, - "labels": [
- {
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z"
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "severity": "string",
- "status": "string",
- "root_cause": "string",
- "experimental": true,
- "metrics": {
- "ttd": 0,
- "tta": 0,
- "tti": 0,
- "ttf": 0,
- "ttr": 0
}, - "service": {
- "name": "string"
}, - "labels": [
- {
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "state_document": "string",
}| uuid required | string <uuid> |
| status required | string Enum: "detected" "investigating" "fixing" "resolved" "close" New status for the incident |
{- "status": "detected"
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "status": "string"
}| uuid required | string <uuid> |
| severity required | string Enum: "critical" "high" "low" "info" "unknown" New severity for the incident |
{- "severity": "critical"
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "severity": "string"
}Creates an incident response activity to track metrics like TTD, TTA, TTI, TTF, TTR
| uuid required | string <uuid> |
| activity_action required | string Enum: "triggered" "detected" "investigating" "fixing" "resolved" "close" The action type for the response activity |
| triggered_at | string <date-time> When the activity was triggered (defaults to current time) |
{- "activity_action": "triggered",
- "triggered_at": "2019-08-24T14:15:22Z"
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "action": "string",
- "triggered_at": "2019-08-24T14:15:22Z",
- "incident": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "ttd": 0,
- "tta": 0,
- "tti": 0,
- "ttf": 0,
- "ttr": 0
}
}| uuid required | string <uuid> |
| page | integer >= 1 |
| per_page | integer [ 1 .. 100 ] |
{- "action_items": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "status": "open",
- "position": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "response_metadata": {
- "current_page": 0,
- "next_page": 0,
- "prev_page": 0,
- "total_pages": 0,
- "total_count": 0
}
}| uuid required | string <uuid> |
required | object |
{- "action_item": {
- "title": "string",
- "status": "open"
}
}{- "action_item": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "status": "open",
- "position": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}| uuid required | string <uuid> Incident UUID |
| action_item_uuid required | string <uuid> Action item UUID |
{- "action_item": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "status": "open",
- "position": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Replace all labels on an incident with the specified labels
| uuid required | string <uuid> |
| label_uuids | Array of strings <uuid> [ items <uuid > ] Array of label UUIDs to assign to the incident |
{- "label_uuids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "labels": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "color": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| name required | string Service name |
| page | integer >= 1 |
| per_page | integer [ 1 .. 100 ] |
{- "labels": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "color": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "response_metadata": {
- "current_page": 0,
- "next_page": 0,
- "prev_page": 0,
- "total_pages": 0,
- "total_count": 0
}
}| name required | string Service name |
required | object |
{- "label": {
- "name": "string",
- "color": "string"
}
}{- "label": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "color": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}| name required | string Service name |
| uuid required | string <uuid> Label UUID |
required | object |
{- "label": {
- "name": "string",
- "color": "string"
}
}{- "label": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "color": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}| page | integer >= 1 |
| per_page | integer [ 1 .. 100 ] |
{- "postmortems": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "blob": "string",
- "author": "string",
- "status": "draft",
- "incidents": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "severity": "string",
- "status": "string",
- "root_cause": "string",
- "experimental": true,
- "service": {
- "name": "string"
}, - "created_at": "2019-08-24T14:15:22Z"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "response_metadata": {
- "current_page": 0,
- "next_page": 0,
- "prev_page": 0,
- "total_pages": 0,
- "total_count": 0
}
}| title required | string non-empty |
| blob | string Postmortem content (markdown) |
| status | string Default: "draft" Enum: "draft" "in_review" "reviewed" "closed" |
| incident_uuids | Array of strings <uuid> [ items <uuid > ] Array of incident UUIDs to associate |
{- "title": "string",
- "blob": "string",
- "status": "draft",
- "incident_uuids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "blob": "string",
- "author": "string",
- "status": "draft",
- "incidents": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "severity": "string",
- "status": "string",
- "root_cause": "string",
- "experimental": true,
- "service": {
- "name": "string"
}, - "created_at": "2019-08-24T14:15:22Z"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "postmortem": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "blob": "string",
- "author": "string",
- "status": "draft",
- "incidents": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "severity": "string",
- "status": "string",
- "root_cause": "string",
- "experimental": true,
- "service": {
- "name": "string"
}, - "created_at": "2019-08-24T14:15:22Z"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}| uuid required | string <uuid> |
| title | string |
| blob | string |
| status | string Enum: "draft" "in_review" "reviewed" "closed" |
| incident_uuids | Array of strings <uuid> [ items <uuid > ] Array of incident UUIDs to associate |
{- "title": "string",
- "blob": "string",
- "status": "draft",
- "incident_uuids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "postmortem": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "blob": "string",
- "author": "string",
- "status": "draft",
- "incidents": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "severity": "string",
- "status": "string",
- "root_cause": "string",
- "experimental": true,
- "service": {
- "name": "string"
}, - "created_at": "2019-08-24T14:15:22Z"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Returns postmortem templates for the organization.
| page | integer >= 1 |
| per_page | integer [ 1 .. 100 ] |
{- "postmortem_templates": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "blob": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "response_metadata": {
- "current_page": 0,
- "next_page": 0,
- "prev_page": 0,
- "total_pages": 0,
- "total_count": 0
}
}required | object |
{- "postmortem_template": {
- "title": "string",
- "blob": "string"
}
}{- "postmortem_template": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "blob": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}| uuid required | string <uuid> UUID of the postmortem template |
{- "postmortem_template": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "blob": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}| uuid required | string <uuid> UUID of the postmortem template |
required | object Partial update (PATCH). Only include fields to update. |
{- "postmortem_template": {
- "title": "string",
- "blob": "string"
}
}{- "postmortem_template": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "blob": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Returns runbooks for the organization. Tutorial runbook is excluded.
| page | integer >= 1 |
| per_page | integer [ 1 .. 100 ] |
{- "runbooks": [
- {
- "namespace": "string",
- "blob": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "response_metadata": {
- "current_page": 0,
- "next_page": 0,
- "prev_page": 0,
- "total_pages": 0,
- "total_count": 0
}
}required | object |
{- "runbook": {
- "namespace": "string",
- "blob": "string"
}
}{- "runbook": {
- "namespace": "string",
- "blob": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Namespace in the URL is path-style without leading slash. For example, use /api/v0/runbooks/default or /api/v0/runbooks/api-server/recovery.
| namespace required | string Namespace without leading slash (e.g. default, api-server/recovery) |
{- "runbook": {
- "namespace": "string",
- "blob": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Update a runbook
| namespace required | string Namespace without leading slash |
required | object Partial update (PATCH). Only include fields to update. |
{- "runbook": {
- "namespace": "string",
- "blob": "string"
}
}{- "runbook": {
- "namespace": "string",
- "blob": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}| name required | string Service name |
| page | integer >= 1 |
| per_page | integer [ 1 .. 100 ] |
{- "runbook_rules": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "pattern": "string",
- "target": "title",
- "priority": 0,
- "runbook_namespace": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "response_metadata": {
- "current_page": 0,
- "next_page": 0,
- "prev_page": 0,
- "total_pages": 0,
- "total_count": 0
}
}| name required | string Service name |
required | object |
{- "runbook_rule": {
- "pattern": "string",
- "target": "title",
- "priority": 0,
- "runbook_namespace": "string"
}
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "pattern": "string",
- "target": "title",
- "priority": 0,
- "runbook_namespace": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| name required | string Service name |
| uuid required | string <uuid> Runbook rule UUID |
required | object |
{- "runbook_rule": {
- "pattern": "string",
- "target": "title",
- "priority": 0,
- "runbook_namespace": "string"
}
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "pattern": "string",
- "target": "title",
- "priority": 0,
- "runbook_namespace": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update the organization's incident description template. Requires Pro plan.
required | object Partial update. Only included fields are updated. |
{- "incident_description_template": {
- "blob": "string"
}
}{- "blob": "string"
}