# Sleep Tracker

<table><thead><tr><th>Field Name</th><th width="249">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>created_at</code></td><td>DateTime</td><td>Timestamp of when the event was registered. (ISO 8601 with timezone)</td></tr><tr><td><code>date</code></td><td>Date</td><td>Date of the sleep entry YYYY-MM-DD.</td></tr><tr><td><code>event</code></td><td>Event</td><td><p>enum Event {</p><p>sleep_time_tracker.created<br>sleep_time_tracker.updated<br>sleep_time_tracker.deleted</p><p>}</p></td></tr><tr><td><code>id</code></td><td>Id</td><td>Event id.</td></tr><tr><td><code>profile_id</code></td><td>Id</td><td>User profile ID.</td></tr><tr><td><code>source</code></td><td>SourceType</td><td>enum SourceType {<br>SUGGESTIC<br>FITBIT<br>GARMIN<br>POLAR<br>MISFIT<br>WITHINGS<br>STRAVA<br>GOOGLEFIT_REST<br>GOOGLEFIT_NATIVE<br>SUUNTO<br>OURA<br>IHEALTH<br>APPLE<br>SAMSUNG<br>OMRONCONNECT<br>OMRONWELLNESS<br>HUAWEIHEALTH<br>HEALTHCONNECT<br>}</td></tr><tr><td><code>value</code></td><td>Int</td><td>Time expressed in minutes.</td></tr></tbody></table>

### Example

```graphql
{
  "body": {
    "created_at": "2025-11-26T23:22:10.323752+00:00",
    "date": "2025-11-26",
    "event": "sleep_time_tracker.created",
    "id": 3080374,
    "profile_id": "142afbac-535a-47ec-8a00-e4a7c24edf98",
    "source": "Suggestic",
    "value": 420
  }
}
```
