---
title: "GET /type_tree/"
method: GET
path: "/type_tree/"
tags: ["Type Endpoints"]
---

# GET /type_tree/

`GET /type_tree/`

Retrieves a flat list of all types.

## Query parameters

- `download` boolean
- `count` boolean

## Response `200`

Success

- TypeTreeModel
  - `typeTree` object, required
    - `type_ids` object, required
      - `id` integer, required
      - `name` string, required
      - `description` string, required
      - `origin_id` integer, required
      - `first` integer, required
      - `last` integer, required
      - `root` integer[], required
      - `subs` integer[], required
      - `count` integer, required
      - `count_subs` integer, required
      - `category` string, required

## 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` — 6 breaking
  - the `allOf[#/components/schemas/ApiError]/url` response's property type/format changed from `string`/`uri` to `string`/`` for status `401`
  - the `allOf[#/components/schemas/ApiError]/url` response's property type/format changed from `string`/`uri` to `string`/`` for status `403`
  - the `allOf[#/components/schemas/ApiError]/url` response's property type/format changed from `string`/`uri` to `string`/`` for status `404`
  - the `allOf[#/components/schemas/ApiError]/url` response's property type/format changed from `string`/`uri` to `string`/`` for status `409`
  - …2 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
- …earlier changes not shown

[Full history](https://skmtc.dev/craws/apis/openatlas-api/changes/type_tree/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/bbd340468fc9/schema)
