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

```
URL: http://<db.host>:<db.port>/admin/show/jobs
```

Get a list of the current jobs in GPUdb.

## Input Parameter Description

<ParamField body="options" type="map of string to strings">
  Optional parameters.

  The default value is an empty map ( \{} ).

  <Expandable title="options">
    <ParamField body="show_async_jobs">
      If *true*, 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.

      The default value is `false`.

      The supported values are:

      * true
      * false
    </ParamField>

    <ParamField body="show_worker_info">
      If *true*, then information is also returned from worker ranks. By default only status from the head rank is returned.

      The supported values are:

      * true
      * false
    </ParamField>
  </Expandable>
</ParamField>

## Output Parameter Description

The Kinetica server embeds the endpoint response inside a standard response structure which contains status information and the actual response to the query.  Here is a description of the various fields of the wrapper:

<ResponseField name="status" type="String">
  'OK' or 'ERROR'
</ResponseField>

<ResponseField name="message" type="String">
  Empty if success or an error message
</ResponseField>

<ResponseField name="data_type" type="String">
  'admin\_show\_jobs\_response' or 'none' in case of an error
</ResponseField>

<ResponseField name="data" type="String">
  Empty string
</ResponseField>

<ResponseField name="data_str" type="JSON or String">
  This embedded JSON represents the result of the /admin/show/jobs endpoint:

  <Expandable title="data_str">
    <ResponseField name="job_id" type="array of longs">
      The identifiers of the running or completed jobs.
    </ResponseField>

    <ResponseField name="status" type="array of strings">
      The current status of each job.
    </ResponseField>

    <ResponseField name="endpoint_name" type="array of strings">
      The endpoint each job is executing (e.g. "/insert/records").
    </ResponseField>

    <ResponseField name="time_received" type="array of longs">
      The epoch time, in milliseconds, at which each job was received.
    </ResponseField>

    <ResponseField name="auth_id" type="array of strings">
      The identifier of the submitting or execute-as user for each job.
    </ResponseField>

    <ResponseField name="source_ip" type="array of strings">
      The IP address from which each job request originated.
    </ResponseField>

    <ResponseField name="query_text" type="array of strings">
      The text of the query associated with each job, when applicable.
    </ResponseField>

    <ResponseField name="user_data" type="array of strings">
      Arbitrary user-provided data associated with each job.
    </ResponseField>

    <ResponseField name="flags" type="array of strings">
      Flags associated with each job.
    </ResponseField>

    <ResponseField name="info" type="map of string to strings">
      Additional information.

      The default value is an empty map ( \{} ).

      <Expandable title="info">
        <ResponseField name="job_tag">
          The job tag specified by the user or if unspecified by user, an internally generated unique identifier for the job across clusters.
        </ResponseField>

        <ResponseField name="worker_info">
          Worker job information as JSON.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>

  Empty string in case of an error.
</ResponseField>


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