---
title: "Get BOM lines (lazy tree loading)"
method: GET
path: "/boms/{id}/lines"
tags: ["boms"]
---

# Get BOM lines (lazy tree loading)

`GET /boms/{id}/lines`

Returns direct children of a parent line, or root-level lines when parent_id is omitted. Supports pagination.

## Path parameters

- `id` string, required

## Query parameters

- `parent_id` string
- `page` integer
- `page_size` integer
- `search` string

## Response `200`

OK

- object

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/resourcly/apis/resourcly-api.md) · [All operations](https://skmtc.net/resourcly/apis/resourcly-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/resourcly/resourcly-api/revisions/7f97d8cd0f1e/schema)
