---
title: "Get Worker Status"
method: GET
path: "/v2/workers/status"
tags: ["worker"]
---

# Get Worker Status

`GET /v2/workers/status`

Returns the Status of the Worker

## Query parameters

- `syncId` string, uuid — Represents a configuration key that serves as a unique identifier for configuration entities.

## Headers

- `x-tenant-id` string, uuid, required
- `x-runas` string
- `x-companyid` string

## Response `200`

The Status Elements of the Worker

- JTLWawiRestContractsModelsV1WorkerWorkerSyncStatus[]
  - `identifier` string, uuid — Represents a configuration key that serves as a unique identifier for configuration entities.
  - `state` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 — 0 = Suspended, 1 = Starting, 2 = Running, 3 = SuccessfullFinished, 4 = SleepingError, 5 = Stopping, 6 = SleepingErrorGesperrt, 7 = Deactivated
  - `progressText` string — The text of Progress
  - `progress` number, double — The Percent of Progress
  - `lastSync` string, date-time — The Time of Last Sync
  - `nextSync` string, date-time — The Time of Next Sync

## Other responses

- `401`
- `402` — No licence available or the app has not been authorised by JTL.
- `404` — No item with the given ID exists.

---

[API](https://skmtc.net/jtl-software/apis/scx-authentication-api.md) · [All operations](https://skmtc.net/jtl-software/apis/scx-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jtl-software/scx-authentication-api/revisions/f979b1ea6951/schema)
