---
title: "List distributed workers"
method: GET
path: "/workers"
tags: ["system"]
---

# List distributed workers

`GET /workers`

Retrieves information about distributed workers connected to the coordinator. Developer, manager, or admin only.

## Query parameters

- `remoteNode` string

## Response `200`

A successful response

- WorkersListResponse — Response object for listing distributed workers
  - `workers` Worker[], required — List of distributed workers
    - `id` string, required — Unique identifier for the worker
    - `labels` object, required — Key-value pairs of labels assigned to the worker
    - `totalPollers` integer, required — Total number of pollers configured for this worker
    - `busyPollers` integer, required — Number of pollers currently executing tasks
    - `runningTasks` RunningTask[], required — List of tasks currently being executed by this worker
      - `dagRunId` string, required — Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
      - `dagName` string, regex, required — Name of the DAG
      - `startedAt` string, required — RFC3339 timestamp when the task started
      - `rootDagRunName` string, regex — Name of the DAG
      - `rootDagRunId` string — Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
      - `parentDagRunName` string, regex — Name of the DAG
      - `parentDagRunId` string — Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
    - `lastHeartbeatAt` string, required — RFC3339 timestamp of the last heartbeat received from this worker
    - `healthStatus` 'healthy' | 'warning' | 'unhealthy', required — Health status of the worker based on heartbeat recency
  - `errors` string[], required — List of errors encountered during the request

## Other responses

- `503` — Coordinator service unavailable
- `default` — Generic error response

---

[API](https://skmtc.net/dagucloud/apis/dagu.md) · [All operations](https://skmtc.net/dagucloud/apis/dagu/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dagucloud/dagu/revisions/93cc41f2018a/schema)
