---
title: "Get job by jobId"
method: GET
path: "/job/{jobId}"
tags: ["Job"]
---

# Get job by jobId

`GET /job/{jobId}`

## Request

- Base URL: `/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/job/{jobId}`
- Auth: API key in header `Authorization`

## Path parameters

- `jobId` string, required

## Headers

- `Authorization` string, required

## Response `200`

Success

- object
  - `msg` string
  - `data` ModulesJob
    - `cluster_id` string
    - `createdAt` string
    - `creator` string
    - `deletedAt` GormDeletedAt
      - `time` string
      - `valid` boolean: Valid is true if Time is not NULL
    - `end_time` string
    - `id` integer
    - `meta_data` ModulesClusterArgs
      - `Keep_upgrade_job` boolean
      - `chart_name` string
      - `chart_version` string
      - `cover` boolean
      - `data` integer[]
      - `name` string
      - `namespace` string
    - `method` string
    - `start_time` string
    - `states` string[]
    - `status` integer
    - `sub_jobs` ModulesSubJobs
    - `time_limit` string
    - `updatedAt` string
    - `uuid` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized operation
- `500`: Internal server error

---

[API](https://skmtc.dev/federatedai/apis/kubefate-service-api.md) - [All operations](https://skmtc.dev/federatedai/apis/kubefate-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/federatedai/apis/kubefate-service-api/revisions/01a50f79e50f?raw)
