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

# getJob

<div className="kinetica-doxygen">
  <div id="a0ff78cb10848a739067c5dbd0a052e05" />

  <h2 className="memtitle"><span className="permalink"><a href="#a0ff78cb10848a739067c5dbd0a052e05">◆ </a></span>getJob() <span className="overload">\[1/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetJobResponse">GetJobResponse</a> gpudb::GPUdb::getJob </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GetJobRequest">GetJobRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
          <td>)</td>
          <td> const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Get the status and result of asynchronously running job. </p>
      <p>See the <a className="el" href="#a02ef4c58e395bbf2c83325cf592397af">createJob</a> for starting an asynchronous job. Some fields of the response are filled only after the submitted job has finished execution.</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1GetJobRequest">Request</a> object containing the parameters for the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1GetJobResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a3075e357878ca48139bfc2c938ea7ea6" />

  <h2 className="memtitle"><span className="permalink"><a href="#a3075e357878ca48139bfc2c938ea7ea6">◆ </a></span>getJob() <span className="overload">\[2/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetJobResponse">GetJobResponse</a> & gpudb::GPUdb::getJob </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GetJobRequest">GetJobRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1GetJobResponse">GetJobResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Get the status and result of asynchronously running job. </p>
      <p>See the <a className="el" href="#a02ef4c58e395bbf2c83325cf592397af">createJob</a> for starting an asynchronous job. Some fields of the response are filled only after the submitted job has finished execution.</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1GetJobRequest">Request</a> object containing the parameters for the operation. </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1GetJobResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1GetJobResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="a8f46b312a6700634204dec278fe18b98" />

  <h2 className="memtitle"><span className="permalink"><a href="#a8f46b312a6700634204dec278fe18b98">◆ </a></span>getJob() <span className="overload">\[3/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetJobResponse">GetJobResponse</a> gpudb::GPUdb::getJob </td>
          <td>(</td>
          <td className="paramtype">const int64\_t</td>
          <td className="paramname"><span className="paramname"><span className="em">jobId</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Get the status and result of asynchronously running job. </p>
      <p>See the <a className="el" href="#a2807b0831529b2f2e6fb554339670763">createJob</a> for starting an asynchronous job. Some fields of the response are filled only after the submitted job has finished execution.</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">jobId</td>
              <td>A unique identifier for the job whose status and result is to be fetched. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6b2cf934b6bb6c44e5528261e911206b">get\_job\_job\_tag</a>: Job tag returned in call to create the job. </li>
                </ul>

                The default value is an empty map.
              </td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1GetJobResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="ab851aa12144cb49427033f0331b10391" />

  <h2 className="memtitle"><span className="permalink"><a href="#ab851aa12144cb49427033f0331b10391">◆ </a></span>getJob() <span className="overload">\[4/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetJobResponse">GetJobResponse</a> & gpudb::GPUdb::getJob </td>
          <td>(</td>
          <td className="paramtype">const int64\_t</td>
          <td className="paramname"><span className="paramname"><span className="em">jobId</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1GetJobResponse">GetJobResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Get the status and result of asynchronously running job. </p>
      <p>See the <a className="el" href="#a2807b0831529b2f2e6fb554339670763">createJob</a> for starting an asynchronous job. Some fields of the response are filled only after the submitted job has finished execution.</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">jobId</td>
              <td>A unique identifier for the job whose status and result is to be fetched. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6b2cf934b6bb6c44e5528261e911206b">get\_job\_job\_tag</a>: Job tag returned in call to create the job. </li>
                </ul>

                The default value is an empty map.
              </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1GetJobResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1GetJobResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
