---
title: "Get workers"
method: GET
path: "/jobservice/pools/{pool_id}/workers"
tags: ["jobservice"]
---

# Get workers

`GET /jobservice/pools/{pool_id}/workers`

Get workers in current pool

## Path parameters

- `pool_id` string, required

## Headers

- `X-Request-Id` string

## Response `200`

Get workers successfully.

- Worker[]
  - `id` string — the id of the worker
  - `pool_id` string — the id of the worker pool
  - `job_name` string — the name of the running job in the worker
  - `job_id` string — the id of the running job in the worker
  - `start_at` string, date-time, nullable — The start time of the worker
  - `check_in` string — the checkin of the running job in the worker
  - `checkin_at` string, date-time, nullable — The checkin time of the worker

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.dev/goharbor/apis/harbor-api.md) · [All operations](https://skmtc.dev/goharbor/apis/harbor-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goharbor/harbor-api/revisions/62d78801f8df/schema)
