---
title: "Single Sleep Time Document"
method: GET
path: "/v2/usercollection/sleep_time/{document_id}"
tags: ["Sleep Time Routes"]
---

# Single Sleep Time Document

`GET /v2/usercollection/sleep_time/{document_id}`

## Path parameters

- `document_id` string, required

## Response `200`

Successful Response

- PublicSleepTime — Suggested bedtime for the user.
  - `id` string, required — Unique identifier of the object.
  - `day` string, required
  - `optimal_bedtime` PublicSleepTimeWindow — Object defining sleep time window
    - `day_tz` integer, required — Timezone offset in second from GMT of the day
    - `end_offset` integer, required — End offset from midnight in second
    - `start_offset` integer, required — Start offset from midnight in second
  - `recommendation` 'improve_efficiency' | 'earlier_bedtime' | 'later_bedtime' | 'earlier_wake_up_time' | 'later_wake_up_time' | 'follow_optimal_bedtime' — Possible public SleepTime recommendation.
  - `status` 'not_enough_nights' | 'not_enough_recent_nights' | 'bad_sleep_quality' | 'only_recommended_found' | 'optimal_found' — Possible public SleepTime status.

## Other responses

- `400` — Client Exception
- `401` — Unauthorized access exception. Usually means the access token is expired, malformed or revoked.
- `403` — Access forbidden. Usually means the user's subscription to Oura has expired and their data is not available via the API.
- `404` — Not Found
- `422` — Validation Error
- `429` — Request Rate Limit Exceeded.

---

[API](https://skmtc.dev/ouraring/apis/oura-api-documentation.md) · [All operations](https://skmtc.dev/ouraring/apis/oura-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ouraring/oura-api-documentation/revisions/8b8ae3b61eda/schema)
