> ## Documentation Index
> Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# getJob

***

# Function: getJob()

```ts theme={null}
function getJob(jobId: string): Promise<{
  completed_at?: null | string;
  created_at: string;
  error_message?: null | string;
  failed_at?: null | string;
  id: string;
  job_name: string;
  migration_name?: null | string;
  monitor_batch_id?: null | string;
  processing_started?: null | string;
  progress_message?: null | string;
  progress_percent?: number;
  project_id: string;
  request_data: {
    [key: string]: unknown;
  };
  retries: number;
  run_id: string;
  status: string;
  steps_completed?: number;
  steps_total?: number;
  updated_at: string;
}>;
```

Defined in: [src/utils/job-progress.ts](https://github.com/rungalileo/galileo-js/blob/main/src/utils/job-progress.ts)

Gets a single job by its ID.

## Parameters

### jobId

`string`

The unique identifier of the job.

## Returns

`Promise`\<\{
`completed_at?`: `null` | `string`;
`created_at`: `string`;
`error_message?`: `null` | `string`;
`failed_at?`: `null` | `string`;
`id`: `string`;
`job_name`: `string`;
`migration_name?`: `null` | `string`;
`monitor_batch_id?`: `null` | `string`;
`processing_started?`: `null` | `string`;
`progress_message?`: `null` | `string`;
`progress_percent?`: `number`;
`project_id`: `string`;
`request_data`: \{
\[`key`: `string`]: `unknown`;
};
`retries`: `number`;
`run_id`: `string`;
`status`: `string`;
`steps_completed?`: `number`;
`steps_total?`: `number`;
`updated_at`: `string`;
}>

The job object.
