---
search:
  tags:
    - administration
    - POST
seo:
  description: >-
    Recalculates time… Reference for the POST
    /administration/project-components/components/{id}/recalculate-estimates
    endpoint in the Leadtime Public API API.
sidebar:
  badge: POST
  label: Recalculate all estimates for a library component
title: Recalculate all estimates for a library component
type: openapi-operation
---
Recalculates time estimates for all items (epics and non-epics) within a library component. This includes:
- Recalculating individual item estimates based on timeFrame and question multipliers/extra hours
- Recalculating epic estimates by summing their children's estimates
- Updating the component's totalTimeFrame
- Respecting visibility conditions (items with invalid conditions are excluded)

Items are processed bottom-up (children first, then parents) to ensure accurate calculations. Only library components (projectId is null) can be recalculated through this endpoint.

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