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

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

Returns the issues alert configuration for a view.

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| alert_config | <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">IssuesAlertConfig</i>](bitdrift_public_unary_alerts_v1_IssuesAlertConfig.md "bitdrift.public.unary.alerts.v1.IssuesAlertConfig")</span> | Returns the alert configuration for the issues view ID. |
| per_alert_info | <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">GetIssuesAlertConfigResponse</i><i class="proto-type-dot">.</i><i class="proto-type-part">PerAlertInfo</i>](#bitdrift.public.unary.alerts.v1.GetIssuesAlertConfigResponse.PerAlertInfo "bitdrift.public.unary.alerts.v1.GetIssuesAlertConfigResponse.PerAlertInfo")</span> | Per alert information on top of the stored configuration. |

</section>
<p class="h4">Example</p>
```json
{
  "alert_config": {
    "alerts": [
      {
        "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
      }
    ],
    "new_issue_event_notification": [
      {
        "min_time_between_notifications": "3600s",
        "notification_config": {
          "disabled": false,
          "notification_group": {
            "name": "engineering-oncall"
          }
        }
      }
    ],
    "new_issue_group_notification": [
      {
        "min_time_between_notifications": "3600s",
        "notification_config": {
          "disabled": false,
          "notification_group": {
            "name": "engineering-oncall"
          }
        }
      }
    ]
  },
  "per_alert_info": [
    {
      "alert_uuid": "0197eb79-ef35-72ec-8e9f-91a4123c18c5",
      "last_resolved_at": "2024-01-15T09:30:00Z",
      "last_triggered_at": "2024-01-15T09:30:00Z"
    }
  ]
}
```

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

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

Describes caller-visible state for one alert in the configuration.

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| alert_uuid | <span class="proto-type proto-type-primitive">string</span> | Stable UUID for the alert. |
| 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> | Time when the alert most recently triggered. |
| last_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> | Time when the alert most recently resolved. |

</section>
<p class="h4">Example</p>
```json
{
  "alert_uuid": "0197eb79-ef35-72ec-8e9f-91a4123c18c5",
  "last_resolved_at": "2024-01-15T09:30:00Z",
  "last_triggered_at": "2024-01-15T09:30:00Z"
}
```

