---
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.

---

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