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

# get_job

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/get_job.rs#L22-L25)
pub async fn [get\_job](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/get-job.md#method.get_job)( \&self, job\_id: [i64](https://doc.rust-lang.org/1.98.1/std/primitive.i64.html), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[GetJobResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetJobResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Get the status and result of asynchronously running jobGet the status and result of asynchronously running job. See the `/create/job` for starting an asynchronous job. Some fields of the response are filled only after the submitted job has finished execution.

##### Arguments

<ul>
  <li>`job_id` - A unique identifier for the job whose status and result is to be fetched.</li>
</ul>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/get_job.rs#L39-L55)
pub async fn [get\_job\_with\_opts](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/get-job.md#method.get_job_with_opts)( \&self, job\_id: [i64](https://doc.rust-lang.org/1.98.1/std/primitive.i64.html), options: [GetJobRequestOptions](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetJobRequestOptions.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[GetJobResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetJobResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Get the status and result of asynchronously running jobGet the status and result of asynchronously running job. See the `/create/job` for starting an asynchronous job. Some fields of the response are filled only after the submitted job has finished execution.

##### Arguments

<ul>
  <li>`job_id` - A unique identifier for the job whose status and result is to be fetched.</li>
  <li>`options` - The optional parameters; any left unset take the server’s defaults.</li>
</ul>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/get_job.rs#L58-L69)
pub async fn [get\_job\_raw](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/get-job.md#method.get_job_raw)( \&self, request: &[GetJobRequest](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetJobRequest.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[GetJobResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetJobResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Sends a pre-built [`GetJobRequest`](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetJobRequest) to the `/get/job` endpoint.

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/get_job.rs#L73-L85)
pub async fn [get\_job\_from\_url](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/get-job.md#method.get_job_from_url)( \&self, url: &[str](https://doc.rust-lang.org/1.98.1/std/primitive.str.html), request: &[GetJobRequest](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetJobRequest.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[GetJobResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetJobResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Sends a pre-built [`GetJobRequest`](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetJobRequest) to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.


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