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

<div className="kinetica-pydoc">
  <div className="dl py method">
    <div className="dt sig sig-object py" id="gpudb.GPUdb.admin_show_jobs"> <span className="sig-name descname"><span className="pre">admin\_show\_jobs</span></span><span className="sig-paren">(</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#L15474"><span className="viewcode-link"><span className="pre">\[source]</span></span></a></div>

    <div className="dd">
      <p>Get a list of the current jobs in GPUdb.</p>
      <p><strong>Parameters</strong></p>

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

            <div className="dd">
              <p>Optional parameters. Allowed keys are:</p>

              <ul>
                <li>
                  <p><strong>show\_async\_jobs</strong> – If <span className="em">true</span>, then the completed async jobs are also included in the response. By default, once the async jobs are completed they are no longer included in the jobs list. Allowed values are:</p>

                  <ul className="simple">
                    <li>
                      <p>true</p>
                    </li>

                    <li>
                      <p>false</p>
                    </li>
                  </ul>

                  <p>The default value is ‘false’.</p>
                </li>

                <li>
                  <p><strong>show\_worker\_info</strong> – If <span className="em">true</span>, then information is also returned from worker ranks. By default only status from the head rank is returned. Allowed values are:</p>

                  <ul className="simple">
                    <li>
                      <p>true</p>
                    </li>

                    <li>
                      <p>false</p>
                    </li>
                  </ul>
                </li>
              </ul>

              <p>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">
            <div className="dt">job\_id (<span className="em">list of longs</span>) –</div>

            <div className="dd">
              <p>The identifiers of the running or completed jobs.</p>
            </div>

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

            <div className="dd">
              <p>The current status of each job.</p>
            </div>

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

            <div className="dd">
              <p>The endpoint each job is executing (e.g. “/insert/records”).</p>
            </div>

            <div className="dt">time\_received (<span className="em">list of longs</span>) –</div>

            <div className="dd">
              <p>The epoch time, in milliseconds, at which each job was received.</p>
            </div>

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

            <div className="dd">
              <p>The identifier of the submitting or execute-as user for each job.</p>
            </div>

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

            <div className="dd">
              <p>The IP address from which each job request originated.</p>
            </div>

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

            <div className="dd">
              <p>The text of the query associated with each job, when applicable.</p>
            </div>

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

            <div className="dd">
              <p>Arbitrary user-provided data associated with each job.</p>
            </div>

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

            <div className="dd">
              <p>Flags associated with each job.</p>
            </div>

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

            <div className="dd">
              <p>Additional information. Allowed keys are:</p>

              <ul className="simple">
                <li>
                  <p><strong>job\_tag</strong> – The job tag specified by the user or if unspecified by user, an internally generated unique identifier for the job across clusters.</p>
                </li>

                <li>
                  <p><strong>worker\_info</strong> – Worker job information as JSON.</p>
                </li>
              </ul>

              <p>The default value is an empty dict ( {"{"}{"}"} ).</p>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
