---
title: "GET /subunits/{entityId}"
method: GET
path: "/subunits/{entityId}"
tags: ["Special Endpoints"]
---

# GET /subunits/{entityId}

`GET /subunits/{entityId}`

Retrieves all subunits of a place in a special format, used by e.g. ARIADNEplus and THANADOS.

## Path parameters

- `entityId` integer, required

## Query parameters

- `download` boolean

## Response `200`

Successful response returning subunits for one or more entities.

- SubunitsModel — A map of entity IDs (e.g., '50505') to an array of their subunit objects.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Access denied
- `404` — Resource not found
- `409` — Conflict
- `500` — Internal server error

## Changes

- **2025-12-03** `008688998b83` — 7 breaking
  - the response's body type changed from `array` to `object` for status `200`
  - the `allOf[#/components/schemas/ApiError]/url` response's property format changed from `uri` to no format for status `401`
  - the `allOf[#/components/schemas/ApiError]/url` response's property format changed from `uri` to no format for status `403`
  - the `allOf[#/components/schemas/ApiError]/url` response's property format changed from `uri` to no format for status `404`
  - …3 more
- **2025-12-02** `26f86ddcd57c` — 9 info
  - added `#/components/schemas/ApiError, subschema #2` to the response body `allOf` list for the response status `404`
  - added `#/components/schemas/ApiError, #/components/schemas/ParameterError, subschema #3` to the response body `anyOf` list for the response status `400`
  - removed `#/components/schemas/ErrorModel, #/components/schemas/ParameterErrorModel` from the response body `oneOf` list for the response status `400`
  - removed `#/components/schemas/ErrorModel, #/components/schemas/ParameterErrorModel` from the response body `oneOf` list for the response status `404`
  - …5 more
- **2025-12-02** `676032e96b3f` — 3 info
  - added the media type `application/json` for the response with the status `404`
  - added the non-success response with the status `400`
  - added the non-success response with the status `405`
- …earlier changes not shown

[Full history](https://skmtc.dev/craws/apis/openatlas-api/changes/subunits/:entityId/get.md)

---

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