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

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

Returns a paginated list of workflow alerts for the organization.

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| items | <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">GetAllAlertsResponse</i><i class="proto-type-dot">.</i><i class="proto-type-part">Item</i>](#bitdrift.public.unary.alerts.v1.GetAllAlertsResponse.Item "bitdrift.public.unary.alerts.v1.GetAllAlertsResponse.Item")</span> | Workflow alerts returned for the requested page. |
| total_alerts | <span class="proto-type proto-type-primitive">uint32</span> | Total number of workflow alerts that match the request. |

</section>
<p class="h4">Example</p>
```json
{
  "items": [
    {
      "aggregated_action_id": "count/fkQ1PfAZhdYvJexzY6DYuoYCZTEaWO0Y7spxwjr7akc",
      "alert_id": 123,
      "alert_name": "Checkout error rate",
      "alert_type": "BASIC",
      "chart_rule_id": "_i1yUnHjKfmWpCaD5Tazo",
      "disabled": false,
      "last_resolved_at": "2024-01-15T09:30:00Z",
      "last_triggered_at": "2024-01-15T09:30:00Z",
      "owner": {
        "email": "user@example.com",
        "id": "usr_abc123",
        "name": "Jane Doe"
      },
      "workflow_id": "checkout-errors"
    }
  ],
  "total_alerts": 8
}
```

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

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

Describes one workflow alert in the list response.

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| alert_name | <span class="proto-type proto-type-primitive">string</span> | Short name of the alert. |
| alert_id | <span class="proto-type proto-type-primitive">uint64</span> | Unique identifier of the alert. |
| workflow_id | <span class="proto-type proto-type-primitive">string</span> | Workflow ID the alert belongs to. |
| chart_rule_id | <span class="proto-type proto-type-primitive">string</span> | Chart rule ID the alert belongs to. |
| aggregated_action_id | <span class="proto-type proto-type-primitive">string</span> | Aggregated action ID evaluated by the alert. |
| disabled | <span class="proto-type proto-type-primitive">bool</span> | Whether the alert is currently disabled. |
| 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. |
| owner | <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">common</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">Owner</i>](bitdrift_public_unary_common_v1_Owner.md "bitdrift.public.unary.common.v1.Owner")</span> | Owner information for the alert. |
| alert_type | <span class="proto-type proto-type-enum">[<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">WorkflowAlertType</i>](bitdrift_public_unary_alerts_v1_WorkflowAlertType.md "bitdrift.public.unary.alerts.v1.WorkflowAlertType")</span> | Alert type used by this alert. |

</section>
<p class="h4">Example</p>
```json
{
  "aggregated_action_id": "count/fkQ1PfAZhdYvJexzY6DYuoYCZTEaWO0Y7spxwjr7akc",
  "alert_id": 123,
  "alert_name": "Checkout error rate",
  "alert_type": "BASIC",
  "chart_rule_id": "_i1yUnHjKfmWpCaD5Tazo",
  "disabled": false,
  "last_resolved_at": "2024-01-15T09:30:00Z",
  "last_triggered_at": "2024-01-15T09:30:00Z",
  "owner": {
    "email": "user@example.com",
    "id": "usr_abc123",
    "name": "Jane Doe"
  },
  "workflow_id": "checkout-errors"
}
```

