---
title: "GET /models/{id}/assembly-tree"
method: GET
path: "/models/{id}/assembly-tree"
tags: ["Models"]
---

# GET /models/{id}/assembly-tree

`GET /models/{id}/assembly-tree`

## Path parameters

- `id` string, required

## Headers

- `X-PHYSNA-TENANTID` string

## Response `200`

Ok

- AssemblyTree
  - `type` 'assemblyTree', required
  - `modelId` string, required
  - `children` union[], required
    - union
      - AssemblyPart
        - `type` 'assemblyPart', required
        - `modelId` string, required
        - `occurrences` number, double, required
      - SubAssembly
        - `type` 'subAssembly', required
        - `modelId` string, required
        - `children` union[], required
          - union
            - AssemblyPart
              - …
            - SubAssembly — recursive
        - `occurrences` number, double, required

## Other responses

- `404`

---

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