---
title: "Get Assembly Tree"
method: GET
path: "/api/v1/assemblies/tree"
tags: ["v1", "Assembly"]
---

# Get Assembly Tree

`GET /api/v1/assemblies/tree`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/assemblies/tree`
- Auth: none declared

Fetch complete assembly tree for a project or quote.

## Query parameters

- `project_id` integer, nullable
- `quote_id` integer, nullable

## Response `200`

Successful Response

- AssemblyTreeResponse: Response with full assembly tree.
  - `projectId` integer, nullable
  - `quoteId` integer, nullable
  - `assemblies` AssemblyNode[], required
    - `id` integer, nullable
    - `drawing_id` integer, nullable
    - `part_no` string, required
    - `bom` BOM, required: Bill of Materials for an assembly.
      - `parts` BOMPart[]
        - `part_extraction` PartExtraction, required: Part extraction data (from CV pipeline).
          - `part_number` string, required
          - `part_type` string, nullable
          - `material` string, nullable
          - `grade` string, nullable
          - `quantity` integer
          - `description` string, nullable
          - `source_bbox` object, nullable
        - `part_properties` object, nullable
    - `details` AssemblyDetails, required: Drawing/part details.
      - `part_number` string, nullable
      - `drawing_number` string, nullable
      - `unit` string, nullable
      - `sheet_no` integer, nullable
      - `document_title` string, nullable
      - `pipe_material` string, nullable
    - `notes` string[], nullable
    - `welds` object[]
    - `child_part_nos` string[]
    - `quantity` integer
    - `verification` AssemblyVerification, nullable: Verification status for assembly sections.
      - `bom_verified` boolean
      - `notes_verified` boolean
      - `details_verified` boolean
      - `children_verified` boolean
  - `generatedAt` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
