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

<div className="kinetica-pydoc">
  <div className="dl py method">
    <div className="dt sig sig-object py" id="gpudb.GPUdb.admin_show_alerts"> <span className="sig-name descname"><span className="pre">admin\_show\_alerts</span></span><span className="sig-paren">(</span><span className="em sig-param"><span className="n"><span className="pre">num\_alerts</span></span><span className="o"><span className="pre">=</span></span><span className="default_value"><span className="pre">None</span></span></span>, <span className="em sig-param"><span className="n"><span className="pre">options</span></span><span className="o"><span className="pre">=</span></span><span className="default_value"><span className="pre">{"{"}{"}"}</span></span></span><span className="sig-paren">)</span><a href="https://github.com/kineticadb/kinetica-api-python/blob/master/gpudb/gpudb.py#L15212"><span className="viewcode-link"><span className="pre">\[source]</span></span></a></div>

    <div className="dd">
      <p>Requests a list of the most recent alerts. Returns lists of alert data, including timestamp and type.</p>
      <p><strong>Parameters</strong></p>

      <div className="blockquote">
        <div>
          <div className="dl simple">
            <div className="dt">num\_alerts (<span className="em">int</span>) –</div>

            <div className="dd">
              <p>Number of most recent alerts to request. The response will include up to input parameter <span className="em">num\_alerts</span> depending on how many alerts there are in the system. A value of 0 returns all stored alerts.</p>
            </div>

            <div className="dt">options (<span className="em">dict of str to str</span>) –</div>

            <div className="dd">
              <p>Optional parameters. The default value is an empty dict ( {"{"}{"}"} ).</p>
            </div>
          </div>
        </div>
      </div>

      <p><strong>Returns</strong></p>

      <div className="blockquote">
        <div>
          <p>A dict with the following entries–</p>

          <div className="dl simple">
            <div className="dt">timestamps (<span className="em">list of str</span>) –</div>

            <div className="dd">
              <p>Timestamp for when the alert occurred, sorted from most recent to least recent. Each array entry corresponds with the entries at the same index in output parameter <span className="em">types</span> and output parameter <span className="em">params</span>.</p>
            </div>

            <div className="dt">types (<span className="em">list of str</span>) –</div>

            <div className="dd">
              <p>Type of system alert, sorted from most recent to least recent. Each array entry corresponds with the entries at the same index in output parameter <span className="em">timestamps</span> and output parameter <span className="em">params</span>.</p>
            </div>

            <div className="dt">params (<span className="em">list of dicts of str to str</span>) –</div>

            <div className="dd">
              <p>Parameters for each alert, sorted from most recent to least recent. Each array entry corresponds with the entries at the same index in output parameter <span className="em">timestamps</span> and output parameter <span className="em">types</span>.</p>
            </div>

            <div className="dt">info (<span className="em">dict of str to str</span>) –</div>

            <div className="dd">
              <p>Additional information.</p>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
