---
search:
  tags:
    - administration
    - GET
seo:
  description: >-
    Returns the complete hierarchical tree… Reference for the GET
    /administration/project-components/library-tree endpoint in the Leadtime
    Public API API.
sidebar:
  badge: GET
  label: Get component library tree structure
title: Get component library tree structure
type: openapi-operation
---
Returns the complete hierarchical tree structure of the component library, including all components and their items.

**What is the Component Library?**
The component library is a workspace-wide catalog of reusable component templates. These templates can be imported into projects to standardize recurring project types.

**Library Components vs Project Components:**
- **Library Components** (this endpoint): Workspace-wide templates (projectId is null) - reusable blueprints with no live data
- **Project Components**: Live instances in projects (projectId is set) - contain answers, evaluations, and can be connected to tasks

**Component Structure:**
- **Components**: Top-level containers (e.g., "Website Development", "CRM Onboarding")
- **Items**: Can be Epics, Work Packages, Todo Lists, or Test Suites
- Items can be nested to any depth

This endpoint provides read-only access to the workspace component library for programmatic access.

<Operation source="api-reference" id="componentlibrarycontroller-getlibrarytree" />
