# July 3, 2025 - Introducing previous measurements values

**URL:** <https://community.cumulocity.com/t/july-3-2025-introducing-previous-measurements-values/12485>\
**Category:** Platform services\
**Tags:** Announcement, rest-api, platform-services\
**Created:** [July 9, 2025, 7:05am UTC](https://community.cumulocity.com/t/july-3-2025-introducing-previous-measurements-values/12485 "2025-07-09T07:05:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cumulocity](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/cumulocity/32/31990_2.png) [@cumulocity](https://community.cumulocity.com/u/cumulocity)\
**Post date:** [July 9, 2025, 7:05am UTC](https://community.cumulocity.com/t/july-3-2025-introducing-previous-measurements-values/12485/1 "2025-07-09T07:05:06Z")

</div>

## Context

* * *

**Change Type:** Announcement  
**Product area:** Platform services  
**Component:** REST API  
**Deployed at:** [eu.latest.cumulocity.com](http://eu.latest.cumulocity.com), [apj.cumulocity.com](http://apj.cumulocity.com), [jp.cumulocity.com](http://jp.cumulocity.com), [cumulocity.com](http://cumulocity.com), [us.cumulocity.com](http://us.cumulocity.com)

> **Technical details**
>
> **Build artifact:** cumulocity (2025.218.0)

## Description

* * *

Automated persistence for measurement values under the `c8y_PreviousMeasurements` fragment has been introduced. This allows for storing and querying the second most recent measurement values based on arrival time.

For details on how to enable the feature and how it works, refer to [Managing data](https://cumulocity.com/docs/standard-tenant/managing-data/#latest-value).

**Breaking change: The Inventory API `c8y_PreviousMeasurements` fragment was added to the restricted properties list.**

The `c8y_Previous Measurements` fragment is reserved for internal system use only and may not be used by external users.

Any request containing restricted properties will have those properties ignored by the platform — they will not be applied or saved.

Example:

If a user sends a request like the following::

```auto
{
    "name": "testDevice",
    "owner": "device_654321",
    "c8y_IsDevice": {},
    "c8y_PreviousMeasurements": {
        "c8y_Temperature": {
            "value": 25.4,
            "unit": "C"
        }
    }
}

```

With this release, the `c8y_PreviousMeasurements` fragment in the request will be ignored and will not be saved.
