> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# admin_show_alerts

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/admin_show_alerts.rs#L21-L27)
pub async fn [admin\_show\_alerts](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/admin-show-alerts.md#method.admin_show_alerts)( \&self, num\_alerts: [i32](https://doc.rust-lang.org/1.98.1/std/primitive.i32.html), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[AdminShowAlertsResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.AdminShowAlertsResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Show a list of generated alerts.Requests a list of the most recent alerts.

##### Arguments

<ul>
  <li>`num_alerts` - Number of most recent alerts to request. The response will include up to `num_alerts` depending on how many alerts there are in the system. A value of 0 returns all stored alerts.</li>
</ul>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/admin_show_alerts.rs#L40-L56)
pub async fn [admin\_show\_alerts\_with\_opts](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/admin-show-alerts.md#method.admin_show_alerts_with_opts)( \&self, num\_alerts: [i32](https://doc.rust-lang.org/1.98.1/std/primitive.i32.html), options: [AdminShowAlertsRequestOptions](https://docs.kinetica.com/content/api/rust/generated/api/struct.AdminShowAlertsRequestOptions.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[AdminShowAlertsResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.AdminShowAlertsResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Show a list of generated alerts.Requests a list of the most recent alerts.

##### Arguments

<ul>
  <li>`num_alerts` - Number of most recent alerts to request. The response will include up to `num_alerts` depending on how many alerts there are in the system. A value of 0 returns all stored alerts.</li>
  <li>`options` - The optional parameters; any left unset take the server’s defaults.</li>
</ul>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/admin_show_alerts.rs#L59-L70)
pub async fn [admin\_show\_alerts\_raw](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/admin-show-alerts.md#method.admin_show_alerts_raw)( \&self, request: &[AdminShowAlertsRequest](https://docs.kinetica.com/content/api/rust/generated/api/struct.AdminShowAlertsRequest.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[AdminShowAlertsResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.AdminShowAlertsResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Sends a pre-built [`AdminShowAlertsRequest`](https://docs.kinetica.com/content/api/rust/generated/api/struct.AdminShowAlertsRequest) to the `/admin/show/alerts` endpoint.

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/admin_show_alerts.rs#L74-L86)
pub async fn [admin\_show\_alerts\_from\_url](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/admin-show-alerts.md#method.admin_show_alerts_from_url)( \&self, url: &[str](https://doc.rust-lang.org/1.98.1/std/primitive.str.html), request: &[AdminShowAlertsRequest](https://docs.kinetica.com/content/api/rust/generated/api/struct.AdminShowAlertsRequest.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[AdminShowAlertsResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.AdminShowAlertsResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Sends a pre-built [`AdminShowAlertsRequest`](https://docs.kinetica.com/content/api/rust/generated/api/struct.AdminShowAlertsRequest) to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.