---
title: "Gets a list of workgroups."
method: GET
path: "/api/v{version}/workgroup"
tags: ["Workgroup"]
---

# Gets a list of workgroups.

`GET /api/v{version}/workgroup`

## Path parameters

- `version` string, required

## Response `200`

Returns a list of workgroups.

- Workgroup[]
  - `id` integer, required
  - `name` string, required — Gets or sets the name of the workgroup.
  - `createdAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup created date.
  - `disabledAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup disabled date.
  - `isDisabled` boolean — Gets the value whether the BDMS.Models.Workgroup is disabled or not.
  - `settings` string, nullable — Gets or sets the Settings for the BDMS.Models.Workgroup.
  - `boreholeCount` integer — Number of boreholes in the workgroup.

## Changes

- **2026-06-22** `4b5d5e7caaa2` — 3 info
  - the response property `items/name` became required for the status `200` (media type: text/plain)
  - the response property `items/name` became required for the status `200` (media type: application/json)
  - the response property `items/name` became required for the status `200` (media type: text/json)

[Change history](https://skmtc.dev/geoadmin/apis/boreholes-rest-api-v2/changes/api/v:version/workgroup/get.md)

---

[API](https://skmtc.dev/geoadmin/apis/boreholes-rest-api-v2.md) · [All operations](https://skmtc.dev/geoadmin/apis/boreholes-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/geoadmin/boreholes-rest-api-v2/revisions/e6d0b4ee0f52/schema)
