---
title: "Misfit Sleep \"total_sleep\" Value"
canonical: "https://help.validic.com/space/VCS/1635418261/Misfit%20Sleep%20%22total_sleep%22%20Value"
format: markdown
---
###### **This article pertains to:** [Legacy API (V1)] 

---

***Why does your API show several Misfit sleep records and seem to multiply the total value for sleep time found in the standard field attribute "total_sleep"?***

Misfit App allows multiple sleep records for a day and each of these records are retrieved by Validic API. This limitation lies in the Misfit API’s as Validic only reflects the data provided by the Misfit API source.

The "total_sleep" value in the Validic API is the total time the user slept for the day, not just for the entry recorded. This is mapped directly to the "duration" value from the Misfit expanded sleep data. The total sleep time is standardized and normalized to seconds of sleep per day.

Adding the "total_sleep" values of all the records per day to represent the time a user slept for that day will create a significant error. When analyzing Misfit sleep records, take note that the value for “duration” is also already the total sleep duration for the whole day while the timestamp will indicate the time when the sleep records were logged for each Misfit sleep entry. For further illustration, please see sample Misfit records below.

**Sample Data**

```
"sleep":[
    {
        "_id":"558c0f03e998dab077018b6d",
        "timestamp":"2015-05-18T02:02:00+00:00", <==== (time when the sleep entry was logged by the user)
        "utc_offset":"-03:00",
        "awake":null,
        "deep":null,
        "light":null,
        "rem":null,
        "times_woken":null,
        "total_sleep":68400.0, <==== (total sleep duration in seconds for the whole day)
        "source":"misfit",
        "source_name":"Misfit Wearables",
        "last_updated":"2015-06-25T14:24:03+00:00",
        "activity_id":"555b7abb47b56b95cf0349ce",
        "auto_detected":false,
        "start_time":"2015-05-17T23:02:00-03:00",
        "duration":68400.0,
        "sleep_details":[
            
        ]
    },
    {
        "_id":"558c0f03e998dab077018b6f",
        "timestamp":"2015-05-18T01:00:00+00:00", <==== (time when the sleep entry was logged by the user)
        "utc_offset":"-03:00",
        "awake":null,
        "deep":null,
        "light":null,
        "rem":null,
        "times_woken":null,
        "total_sleep":68400.0, <==== (total sleep duration in seconds for the whole day)
        "source":"misfit",
        "source_name":"Misfit Wearables",
        "last_updated":"2015-06-25T14:24:03+00:00",
        "activity_id":"555b7cc3e8436c0ef502fa23",
        "auto_detected":false,
        "start_time":"2015-05-17T22:00:00-03:00",
        "duration":68400.0,
        "sleep_details":[
            
        ]
    }
]
```