---
search:
  tags:
    - projects
    - GET
seo:
  description: >-
    Returns the current state of the project configuration,… Reference for the
    GET /projects/{id}/configuration-state endpoint in the Leadtime Public API
    API.
sidebar:
  badge: GET
  label: Get current project configuration state
title: Get current project configuration state
type: openapi-operation
---
Returns the current state of the project configuration, including version information and change tracking.

**What is returned:**
- **lastConfigurationSnapshot**: Information about the last saved version (id, version, createdAt, title)
- **configurationChanged**: Whether the project configuration has changed since the last version was saved
- **configurationChangedAt**: ISO 8601 timestamp when configuration last changed (null if unchanged)
- **productCount**: Number of products in the project
- **componentCount**: Number of components in the project
- **manualPositionCount**: Number of manual positions in the project
- **discountCount**: Number of discounts applied
- **snapshotCount**: Total number of versions saved for the project
- **documentCount**: Number of documents associated with the project

**Use cases:**
- Check if there are unsaved changes (configurationChanged flag)
- Get overview of project contents
- Determine if a new version should be created
- View version history count

<Operation source="api-reference" id="projectconfigurationstatecontroller-getconfigurationstate" />
