# <a id="bitdrift.public.unary.alerts.v1.GetIssueAlertHistoryResponse"></a>GetIssueAlertHistoryResponse

**Source definition:** [`src/bitdrift/public/unary/alerts/v1/issue_alerts.proto#L321-L352`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/alerts/v1/issue_alerts.proto#L321-L352>)

Returns the alert history for a single issues alert.

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| history | <span class="proto-type proto-type-message">array of [<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">alerts</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">GetIssueAlertHistoryResponse</i><i class="proto-type-dot">.</i><i class="proto-type-part">AlertHistoryItem</i>](#bitdrift.public.unary.alerts.v1.GetIssueAlertHistoryResponse.AlertHistoryItem "bitdrift.public.unary.alerts.v1.GetIssueAlertHistoryResponse.AlertHistoryItem")</span> | The history of the alert during the time range specified in the request. Used to draw a time  series like chart. |
| issue_groups | <span class="proto-type proto-type-message">array of [<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">alerts</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">GetIssueAlertHistoryResponse</i><i class="proto-type-dot">.</i><i class="proto-type-part">IssueGroupSummary</i>](#bitdrift.public.unary.alerts.v1.GetIssueAlertHistoryResponse.IssueGroupSummary "bitdrift.public.unary.alerts.v1.GetIssueAlertHistoryResponse.IssueGroupSummary")</span> | A summary of the issue groups that contributed to alerting during the time range. |

</section>
<p class="h4">Example</p>
```json
{
  "history": [
    {
      "details": {
        "alert_config": {
          "alert_uuid": "0197eb79-ef35-72ec-8e9f-91a4123c18c5",
          "common_config": {
            "custom_notification_text": "@checkout-oncall Please investigate.",
            "description": "Triggers when the checkout workflow error rate exceeds the configured threshold.",
            "labels": {
              "key": ""
            },
            "name": "Checkout error rate",
            "notifications": [
              {
                "min_time_between_notifications": "3600s",
                "notification_config": {
                  "disabled": false,
                  "notification_group": {
                    "name": "engineering-oncall"
                  }
                }
              }
            ]
          },
          "condition": {
            "and_conditions": {
              "conditions": [
                {}
              ]
            }
          },
          "disabled": false,
          "per_issue_group": false
        },
        "issue_group_ids": [
          "12710232306638153143"
        ],
        "notification_failures": [
          "Slack channel not found"
        ]
      },
      "resolved_at": "2024-01-15T09:30:00Z",
      "triggered_at": "2024-01-15T09:30:00Z"
    }
  ],
  "issue_groups": [
    {
      "alert_count": 4,
      "group_id": "12710232306638153143",
      "last_triggered_at": "2024-01-15T09:30:00Z"
    }
  ]
}
```

# <a id="bitdrift.public.unary.alerts.v1.GetIssueAlertHistoryResponse.AlertHistoryItem"></a>GetIssueAlertHistoryResponse.AlertHistoryItem

**Source definition:** [`src/bitdrift/public/unary/alerts/v1/issue_alerts.proto#L323-L332`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/alerts/v1/issue_alerts.proto#L323-L332>)

Describes one firing interval in the issues alert history.

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| triggered_at | <span class="proto-type proto-type-well-known">[google.protobuf.Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp "google.protobuf.Timestamp")</span> | The time the alert was triggered. |
| resolved_at | <span class="proto-type proto-type-well-known">[google.protobuf.Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp "google.protobuf.Timestamp")</span> | The time the alert was resolved. |
| details | <span class="proto-type proto-type-message">[<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">alerts</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">IssueAlertHistoryDetails</i>](bitdrift_public_unary_alerts_v1_IssueAlertHistoryDetails.md "bitdrift.public.unary.alerts.v1.IssueAlertHistoryDetails")</span> | Additional details related to the firing of the alert. |

</section>
<p class="h4">Example</p>
```json
{
  "details": {
    "alert_config": {
      "alert_uuid": "0197eb79-ef35-72ec-8e9f-91a4123c18c5",
      "common_config": {
        "custom_notification_text": "@checkout-oncall Please investigate.",
        "description": "Triggers when the checkout workflow error rate exceeds the configured threshold.",
        "labels": {
          "key": ""
        },
        "name": "Checkout error rate",
        "notifications": [
          {
            "min_time_between_notifications": "3600s",
            "notification_config": {
              "disabled": false,
              "notification_group": {
                "name": "engineering-oncall"
              }
            }
          }
        ]
      },
      "condition": {
        "and_conditions": {
          "conditions": [
            {}
          ]
        }
      },
      "disabled": false,
      "per_issue_group": false
    },
    "issue_group_ids": [
      "12710232306638153143"
    ],
    "notification_failures": [
      "Slack channel not found"
    ]
  },
  "resolved_at": "2024-01-15T09:30:00Z",
  "triggered_at": "2024-01-15T09:30:00Z"
}
```

# <a id="bitdrift.public.unary.alerts.v1.GetIssueAlertHistoryResponse.IssueGroupSummary"></a>GetIssueAlertHistoryResponse.IssueGroupSummary

**Source definition:** [`src/bitdrift/public/unary/alerts/v1/issue_alerts.proto#L335-L344`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/alerts/v1/issue_alerts.proto#L335-L344>)

Summarizes one issue group that contributed to alerting during the time range.

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| group_id | <span class="proto-type proto-type-primitive">string</span> | The issue group ID that can be used to look up additional group details. |
| alert_count | <span class="proto-type proto-type-primitive">uint32</span> | The number of alert events associated with the group during the time range. |
| last_triggered_at | <span class="proto-type proto-type-well-known">[google.protobuf.Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp "google.protobuf.Timestamp")</span> | The time the group last contributed to a triggered alert. |

</section>
<p class="h4">Example</p>
```json
{
  "alert_count": 4,
  "group_id": "12710232306638153143",
  "last_triggered_at": "2024-01-15T09:30:00Z"
}
```

