---
title: "Get a job."
method: GET
path: "/v1/{tenantId}/jobs/{jobId}"
tags: ["Job"]
---

# Get a job.

`GET /v1/{tenantId}/jobs/{jobId}`

## Request

- Base URL: `https://virtserver.swaggerhub.com/open83/multi-cloud/1.0.0`
- URL: `https://virtserver.swaggerhub.com/open83/multi-cloud/1.0.0/v1/{tenantId}/jobs/{jobId}`
- Auth: none declared

## Response `200`

successful operation.

- object
  - `job` Job
    - `Id` string: The plan ID, generated by server
    - `TenantId` string: The tenant UUID in a multi-tenancy environment.
    - `UserId` string: The User UUID in a multi-tenancy environment.
    - `TriggerType` 'auto' | 'manual': The migration triggering operation type.
    - `Type` 'migration': The plan type. Till now only migration support. New types will be added in the future.
    - `PlanName` string: The name of plan job belongs to.
    - `PlanId` string: The id of plan job belongs to.
    - `SourceLocation` string: The source data migrate or replicate from.
    - `DestLocation` string: The target data migrate or replicate to.
    - `CreateTime` integer: The time job is created.
    - `StartTime` integer: The time job started to run.
    - `EndTime` integer: The time job ended.
    - `Status` 'pending' | 'running' | 'succeed' | 'failed': The status of job.
    - `TotalCapacity` integer: The total capacity that should be migrated.
    - `PassedCapacity` integer: The capacity that have been migrated.
    - `MigratedCapacity` integer: The capacity that have been migrated till now.
    - `TotalCount` integer: The total count of objects that should be migrated.
    - `PassedCount` integer: The count that have been migrated.
    - `Progress` integer: The progress of job, represented by percentage.
    - `RemainSource` boolean: Flag indicating whether to keep the content of source bucket

## Other responses

- `400`: Bad Request
- `401`: Unauthorized. Token not found in header
- `403`: Forbidden
- `404`: The resource does not exist.

## Changes

> 33 revisions in range; 3 not diffed.

- **2020-06-28** `7bc48776926e`: 2 info
  - api tag `Job` added
  - api tag `job` removed
- **2020-06-09** `bec7a127bf7f`: 1 info
  - endpoint added
- **2020-05-03** `f9da14548ae5`: 1 breaking
  - api path removed without deprecation
- **2018-11-02** `56dbe50974ed`: 1 info
  - endpoint added
- **2018-10-29** `50fa096a3906`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/sodafoundation/apis/soda-multi-cloud-api/changes/v1/:tenantId/jobs/:jobId/get.md)

---

[API](https://skmtc.dev/sodafoundation/apis/soda-multi-cloud-api.md) - [All operations](https://skmtc.dev/sodafoundation/apis/soda-multi-cloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sodafoundation/apis/soda-multi-cloud-api/revisions/df048c8349b6?raw)
