> ## 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

### admin\_show\_alerts

<ul>
  <li>
    admin\_show\_alerts(\
    &#x20;num\_alerts: number,\
    &#x20;options?: Record\<string, string>,\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/typescript/types/GPUdbCallback.md),\
    ): Promise\<[AdminShowAlertsResponse](https://docs.kinetica.com/content/api/typescript/interfaces/AdminShowAlertsResponse.md)>

    Requests a list of the most recent alerts.Returns lists of alert data, including timestamp and type.

    #### Parameters

    <ul>
      <li>
        num\_alerts: number

        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>
        `Optional`options: Record\<string, string>

        Optional parameters.
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/typescript/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[AdminShowAlertsResponse](https://docs.kinetica.com/content/api/typescript/interfaces/AdminShowAlertsResponse.md)>

    Promise\<Types.AdminShowAlertsResponse> - Promise resolving to the response

    <ul>
      <li>Defined in [src/GPUdb.ts:2729](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L2729)</li>
    </ul>
  </li>
</ul>

### admin\_show\_alerts\_request

<ul>
  <li>
    admin\_show\_alerts\_request(\
    &#x20;request: [AdminShowAlertsRequest](https://docs.kinetica.com/content/api/typescript/interfaces/AdminShowAlertsRequest.md),\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/typescript/types/GPUdbCallback.md),\
    ): Promise\<[AdminShowAlertsResponse](https://docs.kinetica.com/content/api/typescript/interfaces/AdminShowAlertsResponse.md)>

    Requests a list of the most recent alerts.Returns lists of alert data, including timestamp and type.

    #### Parameters

    <ul>
      <li>
        request: [AdminShowAlertsRequest](https://docs.kinetica.com/content/api/typescript/interfaces/AdminShowAlertsRequest.md)

        Request object containing the parameters for the operation
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/typescript/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[AdminShowAlertsResponse](https://docs.kinetica.com/content/api/typescript/interfaces/AdminShowAlertsResponse.md)>

    Promise\<Types.AdminShowAlertsResponse> - Promise resolving to the response

    <ul>
      <li>Defined in [src/GPUdb.ts:2704](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L2704)</li>
    </ul>
  </li>
</ul>


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