---
title: "Get copy status"
method: GET
path: "/management/v2/shifts/copy/job/{jobId}"
tags: ["Shifts"]
---

# Get copy status

`GET /management/v2/shifts/copy/job/{jobId}`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/management/v2/shifts/copy/job/{jobId}`
- Auth: API key in header `OAuth`

Gets the status of a copy operation. The copy status includes information about the copy operation such as the number of shifts copied, the number of shifts failed to copy, and the number of shifts pending copy.

## Path parameters

- `jobId` string, required

## Response `200`

A successful response.

- ScheduleShiftCopyStatusResponse: Response containing the status of a copy operation. Synchronous API.
  - `success` boolean: Indicates whether the status request was successful.
  - `data` CopyStatusResponseCopyStatusData
    - `state` 'NOT_STARTED' | 'IN_PROGRESS' | 'FINISHED': Current state of the copy operation. - NOT_STARTED: Copy operation has not started yet. - IN_PROGRESS: Copy operation is currently in progress. - FINISHED: Copy operation has completed (either successfully or with failures).
    - `succeed` integer[]: List of shift IDs that were successfully copied.
    - `failed` integer[]: List of shift IDs that failed to copy.

---

[API](https://skmtc.dev/deputy/apis/deputy-v2-api.md) - [All operations](https://skmtc.dev/deputy/apis/deputy-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deputy/apis/deputy-v2-api/revisions/78f0278f4608?raw)
