waroom_get_incidents
Retrieve incident list with flexible filtering options including service names, status, root cause, severity, date range, and labels for streamlined incident management.
Instructions
インシデントの一覧を取得します。各種フィルター条件を指定できます。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
commander_id | No | コマンダーのID(正の整数) | |
from | No | 開始日(YYYY-MM-DD形式 例: 2023-01-01) | |
includes_experimental | No | 実験的なインシデントを含めるかどうか | |
label_names | No | フィルタリング対象のラベル名の配列 | |
page | No | 取得するページ番号(1以上の整数)。デフォルト: 1 | |
per_page | No | 1ページあたりの取得数(1-100)。デフォルト: 50 | |
root_cause | No | 根本原因 | |
service_names | No | フィルタリング対象のサービス名の配列 | |
severities | No | 重要度の配列(critical, high, low, info, unknown) | |
status | No | インシデントステータス(resolved, close, detected, investigating, fixing) | |
to | No | 終了日(YYYY-MM-DD形式 例: 2023-12-31) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"commander_id": {
"description": "コマンダーのID(正の整数)",
"exclusiveMinimum": 0,
"type": "integer"
},
"from": {
"description": "開始日(YYYY-MM-DD形式 例: 2023-01-01)",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"includes_experimental": {
"description": "実験的なインシデントを含めるかどうか",
"type": "boolean"
},
"label_names": {
"description": "フィルタリング対象のラベル名の配列",
"items": {
"minLength": 1,
"type": "string"
},
"minItems": 1,
"type": "array"
},
"page": {
"description": "取得するページ番号(1以上の整数)。デフォルト: 1",
"minimum": 1,
"type": "integer"
},
"per_page": {
"description": "1ページあたりの取得数(1-100)。デフォルト: 50",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"root_cause": {
"description": "根本原因",
"enum": [
"unspecified",
"code_bug",
"configuration_error",
"deployment_failure",
"infrastructure_failure",
"operational_failure",
"third_party_outage",
"other"
],
"type": "string"
},
"service_names": {
"description": "フィルタリング対象のサービス名の配列",
"items": {
"minLength": 1,
"type": "string"
},
"minItems": 1,
"type": "array"
},
"severities": {
"description": "重要度の配列(critical, high, low, info, unknown)",
"items": {
"enum": [
"critical",
"high",
"low",
"info",
"unknown"
],
"type": "string"
},
"minItems": 1,
"type": "array"
},
"status": {
"description": "インシデントステータス(resolved, close, detected, investigating, fixing)",
"enum": [
"resolved",
"close",
"detected",
"investigating",
"fixing"
],
"type": "string"
},
"to": {
"description": "終了日(YYYY-MM-DD形式 例: 2023-12-31)",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
}
},
"type": "object"
}