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

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

Requests alert history for a single workflow alert.

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| alert_id | <span class="proto-type proto-type-primitive">uint64</span> | The alert ID to get the history for. |
| offset | <span class="proto-type proto-type-primitive">optional uint32</span> | Used to paginate through results. To get the next page result, set this to  the desired starting offset. For example, setting to 10 will start with the  10th record. The default value is 0. |
| limit | <span class="proto-type proto-type-primitive">optional uint32</span><br><em class="proto-field-annotation">between 1 and 100</em> | This defines the upper bound of the number of items returned. The maximum  value supported is 100, meaning that we’ll never return more than  max(items.count, limit, 100). |
| start_time | <span class="proto-type proto-type-well-known">optional [google.protobuf.Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp "google.protobuf.Timestamp")</span> | The start time and end time of the alert history.  All alerts that were firing within the time range will be returned, regardless of whether they  were triggered before the start time or resolved after the end time. |
| end_time | <span class="proto-type proto-type-well-known">optional [google.protobuf.Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp "google.protobuf.Timestamp")</span> | End of the time range to return alert history for. |

</section>
<p class="h4">Example</p>
```json
{
  "alert_id": 123,
  "end_time": "2024-01-15T09:30:00Z",
  "limit": 25,
  "offset": 0,
  "start_time": "2024-01-15T09:30:00Z"
}
```

