---
search:
  tags:
    - projects
    - GET
seo:
  description: >-
    Returns complete details of a component item… Reference for the GET
    /projects/{projectId}/components/item-details/{id} endpoint in the Leadtime
    Public API API.
sidebar:
  badge: GET
  label: Get project component item details
title: Get project component item details
type: openapi-operation
---
Returns complete details of a component item from a project component tree including all test cases, todos, questions, conditions, and nested children.

**What are Component Items?**
Items are the building blocks within components that structure the project work. Each item can be one of four types:
- **Epic**: Major sections or phases that group related work packages around a common theme (e.g., "Technical Implementation", "Design & Development"). Epics help track project progress at a strategic level.
- **Work Package**: Self-contained, clearly defined tasks that deliver tangible results (e.g., "Set up hosting", "Design homepage"). Work packages can have timeframes, questions, todos, and test cases attached.
- **Todo List**: Checklists of sub-steps or checkpoints perfect for recurring processes, quality control, or project preparation (e.g., "Kickoff Checklist", "Quality Control"). Each todo item can be checked off individually.
- **Test Suite**: Formal acceptance tests for project results (e.g., "Contact Form Tests", "SEO Review"). Contains multiple test cases with steps and expected results. The project is considered finished when all test cases pass.

**Attached Resources:**
Each item can have various resources attached:
- **Questions**: Capture customer-specific requirements or project details in a structured way (e.g., "Do you need e-commerce functionality?"). Answers can automatically affect effort calculation and pricing.
- **Todos**: Checklist items within a Work Package or Todo List. Each todo can be checked off individually, supports comments, and tracks completion status with timestamps.
- **Test Cases**: Individual test steps within a Test Suite. Each test case has steps, expected results, and can be evaluated as Passed, Failed, or PassedWithReservations.
- **Conditions**: Rules that control when items are visible or active based on answers, todo completion, or test case status.

**Response Format:**
All ProseMirror editor content (description, internalNote, question descriptions, test case steps, etc.) is automatically converted to HTML format. The response includes the complete item structure with all nested children, making it easy to display the full item hierarchy.

**Access Control:**
Only project component items that belong to components in the specified project (component.projectId equals projectId) are accessible through this endpoint.

<Operation source="api-reference" id="projectcomponentscontroller-getprojectcomponentitemdetails" />
