{
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}
{
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}
{
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}
{
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}
{
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}
Get Sleep
This endpoint returns sleep data including different sleep stages that represent the various phases of sleep a person goes through during a sleep cycle. Each stage is characterized by distinct physiological and neurological patterns.
The different sleep stages are:
awake: The state of being fully conscious and alert.
sleeping: A general term for being in a state of sleep.
out_of_bed: The state when a person is not in bed, possibly indicating a brief interruption in sleep.
light: A stage of sleep where the body begins to relax, and the heart rate slows down. It is easier to wake up from this stage.
deep: A restorative stage of sleep where the body repairs and regrows tissues, builds bone and muscle, and strengthens the immune system.
rem: Rapid Eye Movement sleep, a stage where dreaming occurs, and the brain is very active. It plays a role in memory consolidation and mood regulation.
awake_in_bed: The state of being awake while still in bed, often occurring before falling asleep or after waking up.
nap: A short sleep, typically taken during the day, that can help improve alertness and performance.
unknown: A stage that cannot be classified into any of the known categories, possibly due to insufficient data or anomalies in the sleep pattern.
Sleep Attribution Date
The sleep date attribution follows two simple rules to determine which date a sleep record should be associated with:
Provider Payload Date: The primary source of truth is the date provided in the payload from the sleep tracking provider. This date is used if available.
End Date Rule: If the provider payload date is not available, the sleep date is attributed to the day on which the sleep session ended.
This straightforward approach ensures consistent date attribution for sleep records, regardless of when the sleep session started or ended.
Main Sleep and Nap
There are two types of sleep: main sleep and nap. There can be only one main sleep per day, which is the longest sleep period. A nap is a shorter sleep taken during the day and will have a sleep_duration_nap value.
Sleep Durations
Total sleep duration is the sum of the durations of light, deep, and REM sleep stages, while total time in bed also includes time spent awake.
total sleep = light + deep + remtime in bed = total sleep + awake
Note that nap time is not included in the total sleep time for a day.
Sleep latency refers to the estimated time from when rest begins until the first occurrence of light or deep sleep. The accuracy of sleep stages and latency depends entirely on the provider’s sensors and calculations.
Sleep duration values are reported in milliseconds.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Spike API","colors":{"primary":"#0E2240","light":"#457CB1","dark":"#0E2240"},"logo":{"light":"https://mintcdn.com/trial-7e3c8695/C_wqhbtsn7F05yl4/images/logo.svg?fit=max\u0026auto=format\u0026n=C_wqhbtsn7F05yl4\u0026q=85\u0026s=435095cb4c721a082a83f3ad17fa156c","dark":"https://mintcdn.com/trial-7e3c8695/tLxMhymXagiR2q29/images/logo_dark.png?fit=max\u0026auto=format\u0026n=tLxMhymXagiR2q29\u0026q=85\u0026s=aefb879e0ea5a44c1272ae62eb37a3b9"},"favicon":"https://mintcdn.com/trial-7e3c8695/tLxMhymXagiR2q29/favicon.png?fit=max\u0026auto=format\u0026n=tLxMhymXagiR2q29\u0026q=85\u0026s=77e2f8f8b45fa7d39cf9304e409c6a1c","api":{"playground":{"display":"none"}},"navbar":{"links":[{"icon":"headset","href":"mailto:support@spikeapi.com","label":"Support"}],"primary":{"type":"button","label":"Admin Console","href":"https://admin.spikeapi.com/"}},"footer":{"socials":{"x":"https://x.com/spikeapi","linkedin":"https://www.linkedin.com/company/spike-api","website":"https://www.spikeapi.com/"}},"styling":{"eyebrows":"breadcrumbs","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"trial-7e3c8695","hasAudioNarration":false,"actualSubdomain":"trial-7e3c8695","customDomains":["docs.spikeapi.com"],"gitSource":{"type":"github","owner":"spike-api","repo":"core-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6a998e5e9b75209f69d7aef8","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"SDK Documentation","count":34},{"language":"default","tag":"API Documentation","count":31},{"language":"default","tag":"API Reference: Querying Data","count":9},{"language":"default","tag":"Android","count":9},{"language":"default","tag":"React Native","count":9},{"language":"default","tag":"API Reference: Nutrition AI","count":8},{"language":"default","tag":"Android SDK Documentation","count":8},{"language":"default","tag":"Flutter","count":8},{"language":"default","tag":"iOS","count":8},{"language":"default","tag":"React Native SDK Documentation","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--spike-primary: #A4C8FD;--spike-background: #F5F9FE;--spike-secondary: #0E2240;--spike-primary-hover: #457CB1;--spike-success: #025555;--spike-surface: #fff;--spike-text: #0E2240;--spike-text-muted: #457CB1;--spike-warning: #f59e0b;--spike-error: #ef4444}.nav-logo{height:2.5rem!important}html:not(.dark){body {\n font-family: Inter, sans-serif !important;\n }\n \n h1, h2, h3, h4, h5, h6, .heading {\n font-family: Poppins, Arial, sans-serif !important;\n color: var(--spike-text) !important;\n font-weight: 500 !important;\n -webkit-font-smoothing: antialiased !important;\n }\n \n .page-title {\n color: var(--spike-text) !important;\n }\n\n /* Global Background */\n body, html {\n background: var(--spike-background) !important;\n }\n\n /* Pagination styling - slightly grey background */\n #pagination a {\n background: var(--spike-background) !important; /* Light grey background */\n border-color: #e9ecef !important; /* Slightly darker grey border */\n }\n\n #pagination a:hover {\n background: #e9ecef !important; /* Darker grey on hover */\n border-color: #dee2e6 !important;\n }\n\n /* Content areas use spike-surface (white) - Official Mintlify selectors */\n #content-area, #content-container, #content-side-layout,\n #footer, #panel,\n .mdx-content, .almond-layout,\n .card, .card-group, .code-block, .code-group,\n .callout, .expandable, .frame, .panel,\n .accordion, .accordion-group, .steps, .step,\n .tabs, .tab, .field,\n /* Legacy and common selectors */\n .main-wrapper, .content-wrapper, .page-wrapper, .docs-wrapper,\n .main-content, .docs-content, .page-content, .article-content,\n .mintlify-content, .prose, .markdown-body,\n [class*=\"content\"], [class*=\"main\"], [class*=\"wrapper\"],\n /* Override common white/grey backgrounds */\n .bg-white, .bg-gray-50, .bg-slate-50, .bg-neutral-50, .bg-background {\n background: var(--spike-surface) !important;\n }\n\n /* Better space utilization for content container on large screens */\n @media (min-width: 1280px) {\n #content-container {\n max-width: 90% !important;\n }\n \n #content-container .max-w-5xl {\n max-width: none !important;\n }\n }\n\n @media (min-width: 1536px) {\n #content-container {\n max-width: 85% !important;\n }\n \n #content-container .max-w-5xl {\n max-width: none !important;\n }\n }\n\n @media (min-width: 1920px) {\n #content-container {\n max-width: 80% !important;\n }\n \n #content-container .max-w-5xl {\n max-width: none !important;\n }\n }\n\n /* Navbar Colors */\n #navbar {\n background: var(--spike-background) !important;\n box-shadow: rgba(14, 34, 64, 0.2) 0px 1px 7px 0px !important;\n }\n\n /* Override Mintlify navbar background layers */\n #navbar .bg-gray-950\\/\\[0\\.03\\],\n #navbar [class*=\"bg-gray\"] {\n background: transparent !important;\n }\n\n #navbar .bg-background-light,\n #navbar .dark\\:bg-background-dark,\n #navbar [class*=\"bg-background\"] {\n background: var(--spike-background) !important;\n }\n\n /* Remove any borders that might create grey lines */\n #navbar .border-gray-200,\n #navbar .dark\\:border-gray-800 {\n border-color: transparent !important;\n }\n\n .navbar-link {\n color: var(--spike-text) !important;\n }\n\n .navbar-link:hover {\n color: var(--spike-primary) !important;\n }\n\n /* Sidebar Colors */\n #sidebar {\n background: var(--spike-surface) !important;\n }\n\n .sidebar-title {\n color: var(--spike-secondary) !important;\n }\n\n .nav-anchor {\n color: var(--spike-text-muted) !important;\n }\n\n .nav-anchor:hover {\n color: var(--spike-primary) !important;\n background: var(--spike-primary-light) !important;\n }\n\n .nav-anchor.active {\n color: var(--spike-primary) !important;\n background: var(--spike-primary-light) !important;\n }\n /* Button Colors */\n .tryit-button, .topbar-cta-button {\n background: var(--spike-primary) !important;\n color: white !important;\n }\n\n .tryit-button:hover, .topbar-cta-button:hover {\n background: var(--spike-primary-hover) !important;\n }\n\n /* Method Pill Colors */\n .method-pill[data-method=\"get\"] {\n background: var(--spike-success) !important;\n color: white !important;\n }\n\n .method-pill[data-method=\"post\"] {\n background: var(--spike-primary) !important;\n color: white !important;\n }\n\n .method-pill[data-method=\"put\"] {\n background: var(--spike-warning) !important;\n color: white !important;\n }\n\n .method-pill[data-method=\"delete\"] {\n background: var(--spike-error) !important;\n color: white !important;\n }\n\n /* Code Block Colors */\n .code-block {\n background: var(--spike-surface) !important;\n }\n\n /* Card Colors */\n .card {\n background: var(--spike-surface) !important;\n }\n\n /* Table of Contents Colors */\n #table-of-contents {\n background: var(--spike-surface) !important;\n }\n\n .toc-item {\n color: var(--spike-text) !important;\n }\n\n .toc-item:hover {\n color: var(--spike-primary) !important;\n }\n\n /* Search Colors */\n #search-input, #search-bar-entry {\n background: var(--spike-surface) !important;\n }\n\n #search-input:focus, #search-bar-entry:focus {\n border-color: var(--spike-primary) !important;\n }\n\n /* Override search button background classes */\n #search-bar-entry.bg-background-light {\n background: var(--spike-surface) !important;\n }\n\n /* Pagination Colors */\n .pagination-next, .pagination-prev {\n color: var(--spike-text) !important;\n }\n\n .pagination-next:hover, .pagination-prev:hover {\n color: var(--spike-primary) !important;\n }}.mermaid svg .actor-bottom{display:none!important}html:not(.dark) .mermaid svg .actor rect{fill:var(--spike-background)!important;stroke:var(--spike-primary)!important}html:not(.dark) .mermaid rect.actor{fill:var(--spike-background)!important;stroke:var(--spike-primary)!important}html:not(.dark) .mermaid .actor{fill:var(--spike-background)!important;stroke:var(--spike-primary)!important}html:not(.dark) .mermaid svg .actor text{fill:var(--spike-secondary)!important}html:not(.dark) .mermaid svg text.actor{fill:var(--spike-secondary)!important}html:not(.dark) .mermaid svg text.actor-box{fill:var(--spike-secondary)!important}html:not(.dark) .mermaid svg .actor-line{stroke:var(--spike-primary-hover)!important}html:not(.dark) .mermaid svg .note{fill:var(--spike-surface)!important;stroke:var(--spike-primary)!important}html:not(.dark) .mermaid svg .labelBox{fill:var(--spike-surface)!important;stroke:var(--spike-primary-hover)!important}"}],"page":{"pagePath":"api-reference/query-sleep-by-id","slug":"/api-reference/query-sleep-by-id","pageMetadata":{"openapi":"get /queries/sleeps/{sleep_id}","title":"Get Sleep","description":"This endpoint returns sleep data including different sleep stages that represent the various phases of sleep a person goes through during a sleep cycle. Each stage is characterized by distinct physiological and neurological patterns.\n\nThe different sleep stages are:\n\n- **awake**: The state of being fully conscious and alert.\n- **sleeping**: A general term for being in a state of sleep.\n- **out_of_bed**: The state when a person is not in bed, possibly indicating a brief interruption in sleep.\n- **light**: A stage of sleep where the body begins to relax, and the heart rate slows down. It is easier to wake up from this stage.\n- **deep**: A restorative stage of sleep where the body repairs and regrows tissues, builds bone and muscle, and strengthens the immune system.\n- **rem**: Rapid Eye Movement sleep, a stage where dreaming occurs, and the brain is very active. It plays a role in memory consolidation and mood regulation.\n- **awake_in_bed**: The state of being awake while still in bed, often occurring before falling asleep or after waking up.\n- **nap**: A short sleep, typically taken during the day, that can help improve alertness and performance.\n- **unknown**: A stage that cannot be classified into any of the known categories, possibly due to insufficient data or anomalies in the sleep pattern.\n\n\n### Sleep Attribution Date\n\nThe sleep date attribution follows two simple rules to determine which date a sleep record should be associated with:\n\n1. **Provider Payload Date**: The primary source of truth is the date provided in the payload from the sleep tracking provider. This date is used if available.\n\n2. **End Date Rule**: If the provider payload date is not available, the sleep date is attributed to the day on which the sleep session ended.\n\nThis straightforward approach ensures consistent date attribution for sleep records, regardless of when the sleep session started or ended.\n\n\n### Main Sleep and Nap\n\nThere are two types of sleep: main sleep and nap. There can be only one main sleep per day, which is the longest sleep period. A nap is a shorter sleep taken during the day and will have a `sleep_duration_nap` value.\n\n\n### Sleep Durations\n\nTotal sleep duration is the sum of the durations of light, deep, and REM sleep stages, while total time in bed also includes time spent awake.\n```\ntotal sleep = light + deep + rem\ntime in bed = total sleep + awake\n```\nNote that nap time is not included in the total sleep time for a day.\nSleep latency refers to the estimated time from when rest begins until the first occurrence of light or deep sleep. The accuracy of sleep stages and latency depends entirely on the provider’s sensors and calculations.\nSleep duration values are reported in milliseconds.","href":"/api-reference/query-sleep-by-id"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n h3: \"h3\",\n li: \"li\",\n ol: \"ol\",\n p: \"p\",\n pre: \"pre\",\n span: \"span\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n }, {CodeBlock} = _components;\n if (!CodeBlock) _missingMdxReference(\"CodeBlock\", true);\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"This endpoint returns sleep data including different sleep stages that represent the various phases of sleep a person goes through during a sleep cycle. Each stage is characterized by distinct physiological and neurological patterns.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"The different sleep stages are:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"awake\"\n }), \": The state of being fully conscious and alert.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"sleeping\"\n }), \": A general term for being in a state of sleep.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"out_of_bed\"\n }), \": The state when a person is not in bed, possibly indicating a brief interruption in sleep.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"light\"\n }), \": A stage of sleep where the body begins to relax, and the heart rate slows down. It is easier to wake up from this stage.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"deep\"\n }), \": A restorative stage of sleep where the body repairs and regrows tissues, builds bone and muscle, and strengthens the immune system.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"rem\"\n }), \": Rapid Eye Movement sleep, a stage where dreaming occurs, and the brain is very active. It plays a role in memory consolidation and mood regulation.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"awake_in_bed\"\n }), \": The state of being awake while still in bed, often occurring before falling asleep or after waking up.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"nap\"\n }), \": A short sleep, typically taken during the day, that can help improve alertness and performance.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"unknown\"\n }), \": A stage that cannot be classified into any of the known categories, possibly due to insufficient data or anomalies in the sleep pattern.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.h3, {\n children: \"Sleep Attribution Date\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"The sleep date attribution follows two simple rules to determine which date a sleep record should be associated with:\"\n }), \"\\n\", _jsxs(_components.ol, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Provider Payload Date\"\n }), \": The primary source of truth is the date provided in the payload from the sleep tracking provider. This date is used if available.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"End Date Rule\"\n }), \": If the provider payload date is not available, the sleep date is attributed to the day on which the sleep session ended.\"]\n }), \"\\n\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"This straightforward approach ensures consistent date attribution for sleep records, regardless of when the sleep session started or ended.\"\n }), \"\\n\", _jsx(_components.h3, {\n children: \"Main Sleep and Nap\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"There are two types of sleep: main sleep and nap. There can be only one main sleep per day, which is the longest sleep period. A nap is a shorter sleep taken during the day and will have a \", _jsx(_components.code, {\n children: \"sleep_duration_nap\"\n }), \" value.\"]\n }), \"\\n\", _jsx(_components.h3, {\n children: \"Sleep Durations\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Total sleep duration is the sum of the durations of light, deep, and REM sleep stages, while total time in bed also includes time spent awake.\"\n }), \"\\n\", _jsx(CodeBlock, {\n numberOfLines: \"3\",\n language: \"text\",\n children: _jsx(_components.pre, {\n className: \"shiki shiki-themes github-light-default dark-plus\",\n style: {\n backgroundColor: \"#ffffff\",\n \"--shiki-dark-bg\": \"#0B0C0E\",\n color: \"#1f2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n language: \"text\",\n children: _jsxs(_components.code, {\n language: \"text\",\n numberOfLines: \"3\",\n children: [_jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n children: \"total sleep = light + deep + rem\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n children: \"time in bed = total sleep + awake\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {})\n })]\n })\n })\n }), \"\\n\", _jsx(_components.p, {\n children: \"Note that nap time is not included in the total sleep time for a day.\\nSleep latency refers to the estimated time from when rest begins until the first occurrence of light or deep sleep. The accuracy of sleep stages and latency depends entirely on the provider’s sensors and calculations.\\nSleep duration values are reported in milliseconds.\"\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\n}\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"get /queries/sleeps/{sleep_id}","title":"Get Sleep","description":"This endpoint returns sleep data including different sleep stages that represent the various phases of sleep a person goes through during a sleep cycle. Each stage is characterized by distinct physiological and neurological patterns.\n\nThe different sleep stages are:\n\n- **awake**: The state of being fully conscious and alert.\n- **sleeping**: A general term for being in a state of sleep.\n- **out_of_bed**: The state when a person is not in bed, possibly indicating a brief interruption in sleep.\n- **light**: A stage of sleep where the body begins to relax, and the heart rate slows down. It is easier to wake up from this stage.\n- **deep**: A restorative stage of sleep where the body repairs and regrows tissues, builds bone and muscle, and strengthens the immune system.\n- **rem**: Rapid Eye Movement sleep, a stage where dreaming occurs, and the brain is very active. It plays a role in memory consolidation and mood regulation.\n- **awake_in_bed**: The state of being awake while still in bed, often occurring before falling asleep or after waking up.\n- **nap**: A short sleep, typically taken during the day, that can help improve alertness and performance.\n- **unknown**: A stage that cannot be classified into any of the known categories, possibly due to insufficient data or anomalies in the sleep pattern.\n\n\n### Sleep Attribution Date\n\nThe sleep date attribution follows two simple rules to determine which date a sleep record should be associated with:\n\n1. **Provider Payload Date**: The primary source of truth is the date provided in the payload from the sleep tracking provider. This date is used if available.\n\n2. **End Date Rule**: If the provider payload date is not available, the sleep date is attributed to the day on which the sleep session ended.\n\nThis straightforward approach ensures consistent date attribution for sleep records, regardless of when the sleep session started or ended.\n\n\n### Main Sleep and Nap\n\nThere are two types of sleep: main sleep and nap. There can be only one main sleep per day, which is the longest sleep period. A nap is a shorter sleep taken during the day and will have a `sleep_duration_nap` value.\n\n\n### Sleep Durations\n\nTotal sleep duration is the sum of the durations of light, deep, and REM sleep stages, while total time in bed also includes time spent awake.\n```\ntotal sleep = light + deep + rem\ntime in bed = total sleep + awake\n```\nNote that nap time is not included in the total sleep time for a day.\nSleep latency refers to the estimated time from when rest begins until the first occurrence of light or deep sleep. The accuracy of sleep stages and latency depends entirely on the provider’s sensors and calculations.\nSleep duration values are reported in milliseconds.","href":"/api-reference/query-sleep-by-id"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"This endpoint returns sleep data including different sleep stages that represent the various phases of sleep a person goes through during a sleep cycle. Each stage is characterized by distinct physiological and neurological patterns.\n\nThe different sleep stages are:\n\n- **awake**: The state of being fully conscious and alert.\n- **sleeping**: A general term for being in a state of sleep.\n- **out_of_bed**: The state when a person is not in bed, possibly indicating a brief interruption in sleep.\n- **light**: A stage of sleep where the body begins to relax, and the heart rate slows down. It is easier to wake up from this stage.\n- **deep**: A restorative stage of sleep where the body repairs and regrows tissues, builds bone and muscle, and strengthens the immune system.\n- **rem**: Rapid Eye Movement sleep, a stage where dreaming occurs, and the brain is very active. It plays a role in memory consolidation and mood regulation.\n- **awake_in_bed**: The state of being awake while still in bed, often occurring before falling asleep or after waking up.\n- **nap**: A short sleep, typically taken during the day, that can help improve alertness and performance.\n- **unknown**: A stage that cannot be classified into any of the known categories, possibly due to insufficient data or anomalies in the sleep pattern.\n\n\n### Sleep Attribution Date\n\nThe sleep date attribution follows two simple rules to determine which date a sleep record should be associated with:\n\n1. **Provider Payload Date**: The primary source of truth is the date provided in the payload from the sleep tracking provider. This date is used if available.\n\n2. **End Date Rule**: If the provider payload date is not available, the sleep date is attributed to the day on which the sleep session ended.\n\nThis straightforward approach ensures consistent date attribution for sleep records, regardless of when the sleep session started or ended.\n\n\n### Main Sleep and Nap\n\nThere are two types of sleep: main sleep and nap. There can be only one main sleep per day, which is the longest sleep period. A nap is a shorter sleep taken during the day and will have a `sleep_duration_nap` value.\n\n\n### Sleep Durations\n\nTotal sleep duration is the sum of the durations of light, deep, and REM sleep stages, while total time in bed also includes time spent awake.\n```\ntotal sleep = light + deep + rem\ntime in bed = total sleep + awake\n```\nNote that nap time is not included in the total sleep time for a day.\nSleep latency refers to the estimated time from when rest begins until the first occurrence of light or deep sleep. The accuracy of sleep stages and latency depends entirely on the provider’s sensors and calculations.\nSleep duration values are reported in milliseconds.","operationId":"getQueriesSleepsBySleepId","parameters":["5b779981-6641-45b4-8bda-62c216832699","a22b79f1-7b91-49be-ab4d-406644383ef0","ffce26d7-eda2-4da7-9d39-3cb825c03e98"],"responses":{"200":"73868056-272e-4207-bba9-79b6274f1d04","400":"b99df935-2a7e-451f-961b-f5aa528b7892","401":"628a7b68-c5d8-4cee-ab35-c67a096ee54b","404":"d3ec042a-cef8-4323-bd52-6ade7a7c11e1","422":"a9572962-00c1-43e1-a123-3e4ea758817e","500":"b04c9e36-8073-4c6c-85d4-5d5136314d65"},"security":["15af2209-5188-4239-a646-4a8ed4adcd74"],"summary":"Get Sleep","tags":["Queries / Sleep"],"method":"get","type":"path","servers":["ef9b78f7-3265-4121-bc10-018f5c64886c"],"path":"/queries/sleeps/{sleep_id}","baseUrlOptions":["https://app-api.spikeapi.com/v3"],"title":"Get Sleep","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"5b779981-6641-45b4-8bda-62c216832699":{"description":"Sleep ID","in":"path","name":"sleep_id","required":true,"schema":{"description":"Sleep ID","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"a22b79f1-7b91-49be-ab4d-406644383ef0":{"description":"Include stages","explode":false,"in":"query","name":"include_stages","schema":{"description":"Include stages","type":"boolean","uniqueKey":"","typeLabel":"boolean"}},"ffce26d7-eda2-4da7-9d39-3cb825c03e98":{"description":"Include samples","explode":false,"in":"query","name":"include_samples","schema":{"description":"Include samples","type":"boolean","uniqueKey":"","typeLabel":"boolean"}}},"responses":{"73868056-272e-4207-bba9-79b6274f1d04":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"modified_at":{"description":"Modified at","format":"date-time","type":"string","isRequired":true,"uniqueKey":"modified_at","typeLabel":"string\u003cdate-time>"},"start_at_timestamp":{"description":"Record start time","format":"date-time","type":"string","isRequired":true,"uniqueKey":"start_at_timestamp","typeLabel":"string\u003cdate-time>"},"duration":{"description":"Record duration","format":"int64","type":"integer","uniqueKey":"duration","typeLabel":"integer\u003cint64>"},"end_at_timestamp":{"description":"Record end time","format":"date-time","type":"string","uniqueKey":"end_at_timestamp","typeLabel":"string\u003cdate-time>"},"input_method":{"description":"Data input method","enum":["unknown","manual","device"],"type":"string","uniqueKey":"input_method","typeLabel":"enum\u003cstring>"},"metrics":{"description":"Metrics output","properties":{"air_temperature":{"description":"air_temperature in celsius","examples":[22.73],"type":"number","uniqueKey":"metrics.air_temperature","typeLabel":"number"},"air_temperature_max":{"description":"air_temperature_max in celsius","examples":[28.55],"type":"number","uniqueKey":"metrics.air_temperature_max","typeLabel":"number"},"air_temperature_min":{"description":"air_temperature_min in celsius","examples":[15.27],"type":"number","uniqueKey":"metrics.air_temperature_min","typeLabel":"number"},"ascent":{"description":"ascent in meters","examples":[320.29],"type":"number","uniqueKey":"metrics.ascent","typeLabel":"number"},"basal_body_temperature":{"description":"basal_body_temperature in celsius","examples":[36.53],"type":"number","uniqueKey":"metrics.basal_body_temperature","typeLabel":"number"},"basal_body_temperature_max":{"description":"basal_body_temperature_max in celsius","examples":[37.03],"type":"number","uniqueKey":"metrics.basal_body_temperature_max","typeLabel":"number"},"basal_body_temperature_min":{"description":"basal_body_temperature_min in celsius","examples":[36.01],"type":"number","uniqueKey":"metrics.basal_body_temperature_min","typeLabel":"number"},"bedtime_duration":{"description":"bedtime_duration in ms","examples":[28800000],"type":"number","uniqueKey":"metrics.bedtime_duration","typeLabel":"number"},"blood_pressure_diastolic":{"description":"blood_pressure_diastolic in mmHg","examples":[80.03],"type":"number","uniqueKey":"metrics.blood_pressure_diastolic","typeLabel":"number"},"blood_pressure_diastolic_max":{"description":"blood_pressure_diastolic_max in mmHg","examples":[90.07],"type":"number","uniqueKey":"metrics.blood_pressure_diastolic_max","typeLabel":"number"},"blood_pressure_diastolic_min":{"description":"blood_pressure_diastolic_min in mmHg","examples":[60.01],"type":"number","uniqueKey":"metrics.blood_pressure_diastolic_min","typeLabel":"number"},"blood_pressure_systolic":{"description":"blood_pressure_systolic in mmHg","examples":[120.03],"type":"number","uniqueKey":"metrics.blood_pressure_systolic","typeLabel":"number"},"blood_pressure_systolic_max":{"description":"blood_pressure_systolic_max in mmHg","examples":[140.07],"type":"number","uniqueKey":"metrics.blood_pressure_systolic_max","typeLabel":"number"},"blood_pressure_systolic_min":{"description":"blood_pressure_systolic_min in mmHg","examples":[100.01],"type":"number","uniqueKey":"metrics.blood_pressure_systolic_min","typeLabel":"number"},"body_bone_mass":{"description":"body_bone_mass in g","examples":[3200],"type":"number","uniqueKey":"metrics.body_bone_mass","typeLabel":"number"},"body_fat":{"description":"body_fat in percentage","examples":[18.53],"type":"number","uniqueKey":"metrics.body_fat","typeLabel":"number"},"body_fat_max":{"description":"body_fat_max in percentage","examples":[25.03],"type":"number","uniqueKey":"metrics.body_fat_max","typeLabel":"number"},"body_fat_min":{"description":"body_fat_min in percentage","examples":[12.01],"type":"number","uniqueKey":"metrics.body_fat_min","typeLabel":"number"},"body_mass_index":{"description":"body_mass_index in count","examples":[22.5016],"type":"number","uniqueKey":"metrics.body_mass_index","typeLabel":"number"},"body_temperature":{"description":"body_temperature in celsius","examples":[36.73],"type":"number","uniqueKey":"metrics.body_temperature","typeLabel":"number"},"body_temperature_max":{"description":"body_temperature_max in celsius","examples":[37.55],"type":"number","uniqueKey":"metrics.body_temperature_max","typeLabel":"number"},"body_temperature_min":{"description":"body_temperature_min in celsius","examples":[36.13],"type":"number","uniqueKey":"metrics.body_temperature_min","typeLabel":"number"},"breathing_rate":{"description":"breathing_rate in breaths/min","examples":[16.5016],"type":"number","uniqueKey":"metrics.breathing_rate","typeLabel":"number"},"breathing_rate_max":{"description":"breathing_rate_max in breaths/min","examples":[24.7549],"type":"number","uniqueKey":"metrics.breathing_rate_max","typeLabel":"number"},"breathing_rate_min":{"description":"breathing_rate_min in breaths/min","examples":[12.2534],"type":"number","uniqueKey":"metrics.breathing_rate_min","typeLabel":"number"},"cadence":{"description":"cadence in rpm","examples":[85.5016],"type":"number","uniqueKey":"metrics.cadence","typeLabel":"number"},"cadence_max":{"description":"cadence_max in rpm","examples":[110.0049],"type":"number","uniqueKey":"metrics.cadence_max","typeLabel":"number"},"cadence_min":{"description":"cadence_min in rpm","examples":[60.0034],"type":"number","uniqueKey":"metrics.cadence_min","typeLabel":"number"},"calories_burned":{"description":"calories_burned in kcal","examples":[1650.7549],"type":"number","uniqueKey":"metrics.calories_burned","typeLabel":"number"},"calories_burned_active":{"description":"calories_burned_active in kcal","examples":[450.2516],"type":"number","uniqueKey":"metrics.calories_burned_active","typeLabel":"number"},"calories_burned_basal":{"description":"calories_burned_basal in kcal","examples":[1200.5034],"type":"number","uniqueKey":"metrics.calories_burned_basal","typeLabel":"number"},"calories_intake":{"description":"calories_intake in kcal","examples":[2100.5016],"type":"number","uniqueKey":"metrics.calories_intake","typeLabel":"number"},"descent":{"description":"descent in meters","examples":[280.91],"type":"number","uniqueKey":"metrics.descent","typeLabel":"number"},"distance":{"description":"distance in meters","examples":[6500.2516],"type":"number","uniqueKey":"metrics.distance","typeLabel":"number"},"distance_cycling":{"description":"distance_cycling in meters","examples":[15000.7549],"type":"number","uniqueKey":"metrics.distance_cycling","typeLabel":"number"},"distance_running":{"description":"distance_running in meters","examples":[5000.5016],"type":"number","uniqueKey":"metrics.distance_running","typeLabel":"number"},"distance_swimming":{"description":"distance_swimming in meters","examples":[1000.7549],"type":"number","uniqueKey":"metrics.distance_swimming","typeLabel":"number"},"distance_walking":{"description":"distance_walking in meters","examples":[3200.5034],"type":"number","uniqueKey":"metrics.distance_walking","typeLabel":"number"},"distance_wheelchair":{"description":"distance_wheelchair in meters","examples":[2800.5034],"type":"number","uniqueKey":"metrics.distance_wheelchair","typeLabel":"number"},"duration_active":{"description":"duration_active in ms","examples":[5400000],"type":"number","uniqueKey":"metrics.duration_active","typeLabel":"number"},"duration_high_intensity":{"description":"duration_high_intensity in ms","examples":[1200000],"type":"number","uniqueKey":"metrics.duration_high_intensity","typeLabel":"number"},"duration_low_intensity":{"description":"duration_low_intensity in ms","examples":[9000000],"type":"number","uniqueKey":"metrics.duration_low_intensity","typeLabel":"number"},"duration_moderate_intensity":{"description":"duration_moderate_intensity in ms","examples":[2400000],"type":"number","uniqueKey":"metrics.duration_moderate_intensity","typeLabel":"number"},"ecg_rri":{"description":"ecg_rri in ms","examples":[850],"type":"number","uniqueKey":"metrics.ecg_rri","typeLabel":"number"},"ecg_voltage":{"description":"ecg_voltage in uV","examples":[1200.53],"type":"number","uniqueKey":"metrics.ecg_voltage","typeLabel":"number"},"elevation":{"description":"elevation in meters","examples":[1050.73],"type":"number","uniqueKey":"metrics.elevation","typeLabel":"number"},"elevation_gain":{"description":"elevation_gain in meters","examples":[450.83],"type":"number","uniqueKey":"metrics.elevation_gain","typeLabel":"number"},"elevation_loss":{"description":"elevation_loss in meters","examples":[380.47],"type":"number","uniqueKey":"metrics.elevation_loss","typeLabel":"number"},"elevation_max":{"description":"elevation_max in meters","examples":[1250.55],"type":"number","uniqueKey":"metrics.elevation_max","typeLabel":"number"},"elevation_min":{"description":"elevation_min in meters","examples":[850.37],"type":"number","uniqueKey":"metrics.elevation_min","typeLabel":"number"},"floors_climbed":{"description":"floors_climbed in count","examples":[12],"type":"number","uniqueKey":"metrics.floors_climbed","typeLabel":"number"},"glucose":{"description":"glucose in mg/dL","examples":[95.654321],"type":"number","uniqueKey":"metrics.glucose","typeLabel":"number"},"heartrate":{"description":"heartrate in bpm","examples":[90],"type":"number","uniqueKey":"metrics.heartrate","typeLabel":"number"},"heartrate_max":{"description":"heartrate_max in bpm","examples":[180],"type":"number","uniqueKey":"metrics.heartrate_max","typeLabel":"number"},"heartrate_min":{"description":"heartrate_min in bpm","examples":[60],"type":"number","uniqueKey":"metrics.heartrate_min","typeLabel":"number"},"heartrate_resting":{"description":"heartrate_resting in bpm","examples":[70],"type":"number","uniqueKey":"metrics.heartrate_resting","typeLabel":"number"},"heartrate_resting_max":{"description":"heartrate_resting_max in bpm","examples":[85],"type":"number","uniqueKey":"metrics.heartrate_resting_max","typeLabel":"number"},"heartrate_resting_min":{"description":"heartrate_resting_min in bpm","examples":[60],"type":"number","uniqueKey":"metrics.heartrate_resting_min","typeLabel":"number"},"heartrate_zone0_duration":{"description":"heartrate_zone0_duration in ms","examples":[5000],"type":"number","uniqueKey":"metrics.heartrate_zone0_duration","typeLabel":"number"},"heartrate_zone1_duration":{"description":"heartrate_zone1_duration in ms","examples":[7152],"type":"number","uniqueKey":"metrics.heartrate_zone1_duration","typeLabel":"number"},"heartrate_zone2_duration":{"description":"heartrate_zone2_duration in ms","examples":[25000],"type":"number","uniqueKey":"metrics.heartrate_zone2_duration","typeLabel":"number"},"heartrate_zone3_duration":{"description":"heartrate_zone3_duration in ms","examples":[18170],"type":"number","uniqueKey":"metrics.heartrate_zone3_duration","typeLabel":"number"},"heartrate_zone4_duration":{"description":"heartrate_zone4_duration in ms","examples":[6372],"type":"number","uniqueKey":"metrics.heartrate_zone4_duration","typeLabel":"number"},"heartrate_zone5_duration":{"description":"heartrate_zone5_duration in ms","examples":[2000],"type":"number","uniqueKey":"metrics.heartrate_zone5_duration","typeLabel":"number"},"height":{"description":"height in meters","examples":[1.7549],"type":"number","uniqueKey":"metrics.height","typeLabel":"number"},"hrv_rmssd":{"description":"hrv_rmssd in ms","examples":[45],"type":"number","uniqueKey":"metrics.hrv_rmssd","typeLabel":"number"},"hrv_sdnn":{"description":"hrv_sdnn in ms","examples":[52],"type":"number","uniqueKey":"metrics.hrv_sdnn","typeLabel":"number"},"latitude":{"description":"latitude in degrees","examples":[37.77492948],"type":"number","uniqueKey":"metrics.latitude","typeLabel":"number"},"longitude":{"description":"longitude in degrees","examples":[-122.41941637],"type":"number","uniqueKey":"metrics.longitude","typeLabel":"number"},"pace":{"description":"pace in sec/m","examples":[3.53],"type":"number","uniqueKey":"metrics.pace","typeLabel":"number"},"power":{"description":"power in w","examples":[125],"type":"number","uniqueKey":"metrics.power","typeLabel":"number"},"power_max":{"description":"power_max in w","examples":[125],"type":"number","uniqueKey":"metrics.power_max","typeLabel":"number"},"skin_temperature":{"description":"skin_temperature in celsius","examples":[33.53],"type":"number","uniqueKey":"metrics.skin_temperature","typeLabel":"number"},"skin_temperature_max":{"description":"skin_temperature_max in celsius","examples":[34.27],"type":"number","uniqueKey":"metrics.skin_temperature_max","typeLabel":"number"},"skin_temperature_min":{"description":"skin_temperature_min in celsius","examples":[32.89],"type":"number","uniqueKey":"metrics.skin_temperature_min","typeLabel":"number"},"sleep_breathing_rate":{"description":"sleep_breathing_rate in breaths/min","examples":[14.27],"type":"number","uniqueKey":"metrics.sleep_breathing_rate","typeLabel":"number"},"sleep_breathing_rate_max":{"description":"sleep_breathing_rate_max in breaths/min","examples":[18.59],"type":"number","uniqueKey":"metrics.sleep_breathing_rate_max","typeLabel":"number"},"sleep_breathing_rate_min":{"description":"sleep_breathing_rate_min in breaths/min","examples":[10.03],"type":"number","uniqueKey":"metrics.sleep_breathing_rate_min","typeLabel":"number"},"sleep_duration":{"description":"sleep_duration in ms","examples":[25200000],"type":"number","uniqueKey":"metrics.sleep_duration","typeLabel":"number"},"sleep_duration_awake":{"description":"sleep_duration_awake in ms","examples":[1800000],"type":"number","uniqueKey":"metrics.sleep_duration_awake","typeLabel":"number"},"sleep_duration_deep":{"description":"sleep_duration_deep in ms","examples":[5400000],"type":"number","uniqueKey":"metrics.sleep_duration_deep","typeLabel":"number"},"sleep_duration_light":{"description":"sleep_duration_light in ms","examples":[12600000],"type":"number","uniqueKey":"metrics.sleep_duration_light","typeLabel":"number"},"sleep_duration_nap":{"description":"sleep_duration_nap in ms","examples":[3600000],"type":"number","uniqueKey":"metrics.sleep_duration_nap","typeLabel":"number"},"sleep_duration_rem":{"description":"sleep_duration_rem in ms","examples":[3600000],"type":"number","uniqueKey":"metrics.sleep_duration_rem","typeLabel":"number"},"sleep_efficiency":{"description":"sleep_efficiency in percentage","examples":[92],"type":"number","uniqueKey":"metrics.sleep_efficiency","typeLabel":"number"},"sleep_interruptions":{"description":"sleep_interruptions in count","examples":[2],"type":"number","uniqueKey":"metrics.sleep_interruptions","typeLabel":"number"},"sleep_latency":{"description":"sleep_latency in ms","examples":[900000],"type":"number","uniqueKey":"metrics.sleep_latency","typeLabel":"number"},"sleep_score":{"description":"sleep_score in percentage","examples":[85],"type":"number","uniqueKey":"metrics.sleep_score","typeLabel":"number"},"sleep_skin_temperature_deviation":{"description":"sleep_skin_temperature_deviation in celsius","examples":[-0.13],"type":"number","uniqueKey":"metrics.sleep_skin_temperature_deviation","typeLabel":"number"},"speed":{"description":"speed in m/sec","examples":[3.2516],"type":"number","uniqueKey":"metrics.speed","typeLabel":"number"},"speed_max":{"description":"speed_max in m/sec","examples":[8.5034],"type":"number","uniqueKey":"metrics.speed_max","typeLabel":"number"},"speed_min":{"description":"speed_min in m/sec","examples":[0.5016],"type":"number","uniqueKey":"metrics.speed_min","typeLabel":"number"},"spo2":{"description":"spo2 in percentage","examples":[98.5016],"type":"number","uniqueKey":"metrics.spo2","typeLabel":"number"},"spo2_max":{"description":"spo2_max in percentage","examples":[99.5034],"type":"number","uniqueKey":"metrics.spo2_max","typeLabel":"number"},"spo2_min":{"description":"spo2_min in percentage","examples":[95.2516],"type":"number","uniqueKey":"metrics.spo2_min","typeLabel":"number"},"steps":{"description":"steps in count","examples":[8500],"type":"number","uniqueKey":"metrics.steps","typeLabel":"number"},"swimming_distance_per_stroke":{"description":"swimming_distance_per_stroke in meters","examples":[2.27],"type":"number","uniqueKey":"metrics.swimming_distance_per_stroke","typeLabel":"number"},"swimming_lengths":{"description":"swimming_lengths in count","examples":[40],"type":"number","uniqueKey":"metrics.swimming_lengths","typeLabel":"number"},"vo2max":{"description":"vo2max in mL/kg/min","examples":[45.23],"type":"number","uniqueKey":"metrics.vo2max","typeLabel":"number"},"wakeup_latency":{"description":"wakeup_latency in ms","examples":[600000],"type":"number","uniqueKey":"metrics.wakeup_latency","typeLabel":"number"},"weight":{"description":"weight in g","examples":[70000.5034],"type":"number","uniqueKey":"metrics.weight","typeLabel":"number"}},"type":"object","uniqueKey":"metrics","typeLabel":"object"},"provider_slug":{"description":"Provider slugs","examples":["strava","omron_eu","omron_us","health_connect","fitbit","garmin","huawei","dexcom","whoop","withings","suunto","google_health","apple","freestyle_libre","oura","polar","coros","ultrahuman","samsung_health_data","luna"],"type":"string","uniqueKey":"provider_slug","typeLabel":"string"},"record_ids":{"oneOf":[{"items":{"description":"Unique identifier for a record.","examples":["12345678-1234-abcd-4321-abcdef123456"],"format":"uuid","type":"string","uniqueKey":"record_ids.oneOf.0.items.[INDEX]","typeLabel":"string\u003cuuid>"},"type":"array","uniqueKey":"record_ids.oneOf.0","typeLabel":"string\u003cuuid>[]"},{"items":{"description":"Unique identifier for a record.","examples":["12345678-1234-abcd-4321-abcdef123456"],"format":"uuid","type":"string"},"type":"null","uniqueKey":"record_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"record_ids","typeLabel":"string\u003cuuid>[] | null"},"samples":{"additionalProperties":false,"properties":{"durations":{"oneOf":[{"items":{"format":"int64","type":"integer","uniqueKey":"samples.durations.oneOf.0.items.[INDEX]","typeLabel":"integer\u003cint64>"},"type":"array","uniqueKey":"samples.durations.oneOf.0","typeLabel":"integer\u003cint64>[]"},{"items":{"format":"int64","type":"integer"},"type":"null","uniqueKey":"samples.durations.oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.durations","typeLabel":"integer\u003cint64>[] | null"},"offsets":{"oneOf":[{"items":{"format":"int64","type":"integer","uniqueKey":"samples.offsets.oneOf.0.items.[INDEX]","typeLabel":"integer\u003cint64>"},"type":"array","uniqueKey":"samples.offsets.oneOf.0","typeLabel":"integer\u003cint64>[]"},{"items":{"format":"int64","type":"integer"},"type":"null","uniqueKey":"samples.offsets.oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.offsets","typeLabel":"integer\u003cint64>[] | null"},"values":{"properties":{"air_temperature":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.air_temperature.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.air_temperature.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.air_temperature.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.air_temperature","typeLabel":"(number | null)[]"},"air_temperature_max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.air_temperature_max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.air_temperature_max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.air_temperature_max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.air_temperature_max","typeLabel":"(number | null)[]"},"air_temperature_min":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.air_temperature_min.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.air_temperature_min.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.air_temperature_min.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.air_temperature_min","typeLabel":"(number | null)[]"},"ascent":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.ascent.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.ascent.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.ascent.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.ascent","typeLabel":"(number | null)[]"},"basal_body_temperature":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.basal_body_temperature.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.basal_body_temperature.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.basal_body_temperature.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.basal_body_temperature","typeLabel":"(number | null)[]"},"basal_body_temperature_max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.basal_body_temperature_max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.basal_body_temperature_max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.basal_body_temperature_max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.basal_body_temperature_max","typeLabel":"(number | null)[]"},"basal_body_temperature_min":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.basal_body_temperature_min.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.basal_body_temperature_min.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.basal_body_temperature_min.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.basal_body_temperature_min","typeLabel":"(number | null)[]"},"bedtime_duration":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.bedtime_duration.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.bedtime_duration.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.bedtime_duration.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.bedtime_duration","typeLabel":"(number | null)[]"},"blood_pressure_diastolic":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.blood_pressure_diastolic.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.blood_pressure_diastolic.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.blood_pressure_diastolic.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.blood_pressure_diastolic","typeLabel":"(number | null)[]"},"blood_pressure_diastolic_max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.blood_pressure_diastolic_max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.blood_pressure_diastolic_max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.blood_pressure_diastolic_max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.blood_pressure_diastolic_max","typeLabel":"(number | null)[]"},"blood_pressure_diastolic_min":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.blood_pressure_diastolic_min.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.blood_pressure_diastolic_min.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.blood_pressure_diastolic_min.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.blood_pressure_diastolic_min","typeLabel":"(number | null)[]"},"blood_pressure_systolic":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.blood_pressure_systolic.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.blood_pressure_systolic.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.blood_pressure_systolic.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.blood_pressure_systolic","typeLabel":"(number | null)[]"},"blood_pressure_systolic_max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.blood_pressure_systolic_max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.blood_pressure_systolic_max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.blood_pressure_systolic_max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.blood_pressure_systolic_max","typeLabel":"(number | null)[]"},"blood_pressure_systolic_min":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.blood_pressure_systolic_min.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.blood_pressure_systolic_min.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.blood_pressure_systolic_min.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.blood_pressure_systolic_min","typeLabel":"(number | null)[]"},"body_bone_mass":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.body_bone_mass.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.body_bone_mass.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.body_bone_mass.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.body_bone_mass","typeLabel":"(number | null)[]"},"body_fat":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.body_fat.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.body_fat.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.body_fat.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.body_fat","typeLabel":"(number | null)[]"},"body_fat_max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.body_fat_max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.body_fat_max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.body_fat_max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.body_fat_max","typeLabel":"(number | null)[]"},"body_fat_min":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.body_fat_min.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.body_fat_min.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.body_fat_min.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.body_fat_min","typeLabel":"(number | null)[]"},"body_mass_index":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.body_mass_index.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.body_mass_index.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.body_mass_index.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.body_mass_index","typeLabel":"(number | null)[]"},"body_temperature":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.body_temperature.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.body_temperature.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.body_temperature.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.body_temperature","typeLabel":"(number | null)[]"},"body_temperature_max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.body_temperature_max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.body_temperature_max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.body_temperature_max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.body_temperature_max","typeLabel":"(number | null)[]"},"body_temperature_min":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.body_temperature_min.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.body_temperature_min.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.body_temperature_min.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.body_temperature_min","typeLabel":"(number | null)[]"},"breathing_rate":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.breathing_rate.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.breathing_rate.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.breathing_rate.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.breathing_rate","typeLabel":"(number | null)[]"},"breathing_rate_max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.breathing_rate_max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.breathing_rate_max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.breathing_rate_max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.breathing_rate_max","typeLabel":"(number | null)[]"},"breathing_rate_min":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.breathing_rate_min.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.breathing_rate_min.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.breathing_rate_min.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.breathing_rate_min","typeLabel":"(number | null)[]"},"cadence":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.cadence.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.cadence.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.cadence.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.cadence","typeLabel":"(number | null)[]"},"cadence_max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.cadence_max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.cadence_max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.cadence_max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.cadence_max","typeLabel":"(number | null)[]"},"cadence_min":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.cadence_min.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.cadence_min.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.cadence_min.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.cadence_min","typeLabel":"(number | null)[]"},"calories_burned":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.calories_burned.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.calories_burned.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.calories_burned.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.calories_burned","typeLabel":"(number | null)[]"},"calories_burned_active":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.calories_burned_active.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.calories_burned_active.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.calories_burned_active.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.calories_burned_active","typeLabel":"(number | null)[]"},"calories_burned_basal":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.calories_burned_basal.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.calories_burned_basal.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.calories_burned_basal.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.calories_burned_basal","typeLabel":"(number | null)[]"},"calories_intake":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.calories_intake.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.calories_intake.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.calories_intake.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.calories_intake","typeLabel":"(number | null)[]"},"descent":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.descent.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.descent.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.descent.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.descent","typeLabel":"(number | null)[]"},"distance":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.distance.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.distance.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.distance.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.distance","typeLabel":"(number | null)[]"},"distance_cycling":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.distance_cycling.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.distance_cycling.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.distance_cycling.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.distance_cycling","typeLabel":"(number | null)[]"},"distance_running":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.distance_running.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.distance_running.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.distance_running.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.distance_running","typeLabel":"(number | null)[]"},"distance_swimming":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.distance_swimming.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.distance_swimming.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.distance_swimming.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.distance_swimming","typeLabel":"(number | null)[]"},"distance_walking":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.distance_walking.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.distance_walking.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.distance_walking.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.distance_walking","typeLabel":"(number | null)[]"},"distance_wheelchair":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.distance_wheelchair.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.distance_wheelchair.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.distance_wheelchair.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.distance_wheelchair","typeLabel":"(number | null)[]"},"duration_active":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.duration_active.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.duration_active.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.duration_active.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.duration_active","typeLabel":"(number | null)[]"},"duration_high_intensity":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.duration_high_intensity.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.duration_high_intensity.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.duration_high_intensity.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.duration_high_intensity","typeLabel":"(number | null)[]"},"duration_low_intensity":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.duration_low_intensity.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.duration_low_intensity.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.duration_low_intensity.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.duration_low_intensity","typeLabel":"(number | null)[]"},"duration_moderate_intensity":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.duration_moderate_intensity.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.duration_moderate_intensity.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.duration_moderate_intensity.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.duration_moderate_intensity","typeLabel":"(number | null)[]"},"ecg_rri":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.ecg_rri.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.ecg_rri.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.ecg_rri.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.ecg_rri","typeLabel":"(number | null)[]"},"ecg_voltage":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.ecg_voltage.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.ecg_voltage.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.ecg_voltage.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.ecg_voltage","typeLabel":"(number | null)[]"},"elevation":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.elevation.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.elevation.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.elevation.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.elevation","typeLabel":"(number | null)[]"},"elevation_gain":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.elevation_gain.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.elevation_gain.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.elevation_gain.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.elevation_gain","typeLabel":"(number | null)[]"},"elevation_loss":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.elevation_loss.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.elevation_loss.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.elevation_loss.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.elevation_loss","typeLabel":"(number | null)[]"},"elevation_max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.elevation_max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.elevation_max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.elevation_max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.elevation_max","typeLabel":"(number | null)[]"},"elevation_min":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.elevation_min.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.elevation_min.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.elevation_min.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.elevation_min","typeLabel":"(number | null)[]"},"floors_climbed":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.floors_climbed.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.floors_climbed.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.floors_climbed.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.floors_climbed","typeLabel":"(number | null)[]"},"glucose":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.glucose.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.glucose.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.glucose.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.glucose","typeLabel":"(number | null)[]"},"heartrate":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.heartrate.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.heartrate.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.heartrate.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.heartrate","typeLabel":"(number | null)[]"},"heartrate_max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.heartrate_max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.heartrate_max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.heartrate_max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.heartrate_max","typeLabel":"(number | null)[]"},"heartrate_min":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.heartrate_min.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.heartrate_min.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.heartrate_min.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.heartrate_min","typeLabel":"(number | null)[]"},"heartrate_resting":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.heartrate_resting.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.heartrate_resting.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.heartrate_resting.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.heartrate_resting","typeLabel":"(number | null)[]"},"heartrate_resting_max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.heartrate_resting_max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.heartrate_resting_max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.heartrate_resting_max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.heartrate_resting_max","typeLabel":"(number | null)[]"},"heartrate_resting_min":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.heartrate_resting_min.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.heartrate_resting_min.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.heartrate_resting_min.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.heartrate_resting_min","typeLabel":"(number | null)[]"},"heartrate_zone0_duration":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.heartrate_zone0_duration.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.heartrate_zone0_duration.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.heartrate_zone0_duration.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.heartrate_zone0_duration","typeLabel":"(number | null)[]"},"heartrate_zone1_duration":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.heartrate_zone1_duration.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.heartrate_zone1_duration.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.heartrate_zone1_duration.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.heartrate_zone1_duration","typeLabel":"(number | null)[]"},"heartrate_zone2_duration":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.heartrate_zone2_duration.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.heartrate_zone2_duration.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.heartrate_zone2_duration.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.heartrate_zone2_duration","typeLabel":"(number | null)[]"},"heartrate_zone3_duration":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.heartrate_zone3_duration.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.heartrate_zone3_duration.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.heartrate_zone3_duration.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.heartrate_zone3_duration","typeLabel":"(number | null)[]"},"heartrate_zone4_duration":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.heartrate_zone4_duration.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.heartrate_zone4_duration.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.heartrate_zone4_duration.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.heartrate_zone4_duration","typeLabel":"(number | null)[]"},"heartrate_zone5_duration":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.heartrate_zone5_duration.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.heartrate_zone5_duration.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.heartrate_zone5_duration.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.heartrate_zone5_duration","typeLabel":"(number | null)[]"},"height":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.height.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.height.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.height.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.height","typeLabel":"(number | null)[]"},"hrv_rmssd":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.hrv_rmssd.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.hrv_rmssd.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.hrv_rmssd.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.hrv_rmssd","typeLabel":"(number | null)[]"},"hrv_sdnn":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.hrv_sdnn.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.hrv_sdnn.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.hrv_sdnn.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.hrv_sdnn","typeLabel":"(number | null)[]"},"latitude":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.latitude.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.latitude.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.latitude.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.latitude","typeLabel":"(number | null)[]"},"longitude":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.longitude.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.longitude.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.longitude.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.longitude","typeLabel":"(number | null)[]"},"pace":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.pace.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.pace.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.pace.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.pace","typeLabel":"(number | null)[]"},"power":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.power.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.power.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.power.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.power","typeLabel":"(number | null)[]"},"power_max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.power_max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.power_max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.power_max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.power_max","typeLabel":"(number | null)[]"},"skin_temperature":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.skin_temperature.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.skin_temperature.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.skin_temperature.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.skin_temperature","typeLabel":"(number | null)[]"},"skin_temperature_max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.skin_temperature_max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.skin_temperature_max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.skin_temperature_max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.skin_temperature_max","typeLabel":"(number | null)[]"},"skin_temperature_min":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.skin_temperature_min.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.skin_temperature_min.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.skin_temperature_min.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.skin_temperature_min","typeLabel":"(number | null)[]"},"sleep_breathing_rate":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.sleep_breathing_rate.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.sleep_breathing_rate.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.sleep_breathing_rate.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.sleep_breathing_rate","typeLabel":"(number | null)[]"},"sleep_breathing_rate_max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.sleep_breathing_rate_max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.sleep_breathing_rate_max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.sleep_breathing_rate_max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.sleep_breathing_rate_max","typeLabel":"(number | null)[]"},"sleep_breathing_rate_min":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.sleep_breathing_rate_min.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.sleep_breathing_rate_min.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.sleep_breathing_rate_min.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.sleep_breathing_rate_min","typeLabel":"(number | null)[]"},"sleep_duration":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.sleep_duration.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.sleep_duration.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.sleep_duration.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.sleep_duration","typeLabel":"(number | null)[]"},"sleep_duration_awake":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.sleep_duration_awake.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.sleep_duration_awake.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.sleep_duration_awake.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.sleep_duration_awake","typeLabel":"(number | null)[]"},"sleep_duration_deep":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.sleep_duration_deep.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.sleep_duration_deep.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.sleep_duration_deep.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.sleep_duration_deep","typeLabel":"(number | null)[]"},"sleep_duration_light":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.sleep_duration_light.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.sleep_duration_light.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.sleep_duration_light.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.sleep_duration_light","typeLabel":"(number | null)[]"},"sleep_duration_nap":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.sleep_duration_nap.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.sleep_duration_nap.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.sleep_duration_nap.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.sleep_duration_nap","typeLabel":"(number | null)[]"},"sleep_duration_rem":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.sleep_duration_rem.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.sleep_duration_rem.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.sleep_duration_rem.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.sleep_duration_rem","typeLabel":"(number | null)[]"},"sleep_efficiency":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.sleep_efficiency.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.sleep_efficiency.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.sleep_efficiency.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.sleep_efficiency","typeLabel":"(number | null)[]"},"sleep_interruptions":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.sleep_interruptions.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.sleep_interruptions.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.sleep_interruptions.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.sleep_interruptions","typeLabel":"(number | null)[]"},"sleep_latency":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.sleep_latency.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.sleep_latency.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.sleep_latency.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.sleep_latency","typeLabel":"(number | null)[]"},"sleep_score":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.sleep_score.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.sleep_score.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.sleep_score.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.sleep_score","typeLabel":"(number | null)[]"},"sleep_skin_temperature_deviation":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.sleep_skin_temperature_deviation.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.sleep_skin_temperature_deviation.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.sleep_skin_temperature_deviation.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.sleep_skin_temperature_deviation","typeLabel":"(number | null)[]"},"speed":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.speed.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.speed.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.speed.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.speed","typeLabel":"(number | null)[]"},"speed_max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.speed_max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.speed_max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.speed_max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.speed_max","typeLabel":"(number | null)[]"},"speed_min":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.speed_min.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.speed_min.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.speed_min.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.speed_min","typeLabel":"(number | null)[]"},"spo2":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.spo2.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.spo2.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.spo2.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.spo2","typeLabel":"(number | null)[]"},"spo2_max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.spo2_max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.spo2_max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.spo2_max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.spo2_max","typeLabel":"(number | null)[]"},"spo2_min":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.spo2_min.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.spo2_min.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.spo2_min.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.spo2_min","typeLabel":"(number | null)[]"},"steps":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.steps.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.steps.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.steps.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.steps","typeLabel":"(number | null)[]"},"swimming_distance_per_stroke":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.swimming_distance_per_stroke.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.swimming_distance_per_stroke.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.swimming_distance_per_stroke.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.swimming_distance_per_stroke","typeLabel":"(number | null)[]"},"swimming_lengths":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.swimming_lengths.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.swimming_lengths.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.swimming_lengths.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.swimming_lengths","typeLabel":"(number | null)[]"},"vo2max":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.vo2max.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.vo2max.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.vo2max.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.vo2max","typeLabel":"(number | null)[]"},"wakeup_latency":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.wakeup_latency.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.wakeup_latency.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.wakeup_latency.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.wakeup_latency","typeLabel":"(number | null)[]"},"weight":{"items":{"oneOf":[{"type":"number","uniqueKey":"samples.values.weight.items.[INDEX].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"samples.values.weight.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"samples.values.weight.items.[INDEX]","typeLabel":"number | null"},"type":"array","uniqueKey":"samples.values.weight","typeLabel":"(number | null)[]"}},"type":"object","uniqueKey":"samples.values","typeLabel":"object"}},"type":"object","uniqueKey":"samples","typeLabel":"object"},"score":{"format":"int64","type":"integer","uniqueKey":"score","typeLabel":"integer\u003cint64>"},"sleep_date":{"description":"Calendar date for which the sleep is attributed","examples":["2006-01-02"],"format":"date","type":"string","uniqueKey":"sleep_date","typeLabel":"string\u003cdate>"},"sleep_id":{"contentEncoding":"base64","type":"string","uniqueKey":"sleep_id","typeLabel":"string"},"source":{"additionalProperties":false,"properties":{"device_manufacturer":{"type":"string","uniqueKey":"source.device_manufacturer","typeLabel":"string"},"device_model":{"type":"string","uniqueKey":"source.device_model","typeLabel":"string"},"device_product":{"type":"string","uniqueKey":"source.device_product","typeLabel":"string"},"device_version":{"type":"string","uniqueKey":"source.device_version","typeLabel":"string"},"source_bundle_identifier":{"type":"string","uniqueKey":"source.source_bundle_identifier","typeLabel":"string"},"source_os_version":{"type":"string","uniqueKey":"source.source_os_version","typeLabel":"string"},"source_product":{"type":"string","uniqueKey":"source.source_product","typeLabel":"string"},"source_version":{"type":"string","uniqueKey":"source.source_version","typeLabel":"string"}},"type":"object","uniqueKey":"source","typeLabel":"object"},"stages":{"oneOf":[{"items":{"additionalProperties":false,"properties":{"duration":{"format":"int64","type":"integer","uniqueKey":"stages.oneOf.0.items.[INDEX].duration","typeLabel":"integer\u003cint64>"},"end_at":{"format":"date-time","type":"string","uniqueKey":"stages.oneOf.0.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"},"metrics":{"description":"Metrics output","properties":{"air_temperature":{"description":"air_temperature in celsius","examples":[22.73],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.air_temperature","typeLabel":"number"},"air_temperature_max":{"description":"air_temperature_max in celsius","examples":[28.55],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.air_temperature_max","typeLabel":"number"},"air_temperature_min":{"description":"air_temperature_min in celsius","examples":[15.27],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.air_temperature_min","typeLabel":"number"},"ascent":{"description":"ascent in meters","examples":[320.29],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.ascent","typeLabel":"number"},"basal_body_temperature":{"description":"basal_body_temperature in celsius","examples":[36.53],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.basal_body_temperature","typeLabel":"number"},"basal_body_temperature_max":{"description":"basal_body_temperature_max in celsius","examples":[37.03],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.basal_body_temperature_max","typeLabel":"number"},"basal_body_temperature_min":{"description":"basal_body_temperature_min in celsius","examples":[36.01],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.basal_body_temperature_min","typeLabel":"number"},"bedtime_duration":{"description":"bedtime_duration in ms","examples":[28800000],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.bedtime_duration","typeLabel":"number"},"blood_pressure_diastolic":{"description":"blood_pressure_diastolic in mmHg","examples":[80.03],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.blood_pressure_diastolic","typeLabel":"number"},"blood_pressure_diastolic_max":{"description":"blood_pressure_diastolic_max in mmHg","examples":[90.07],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.blood_pressure_diastolic_max","typeLabel":"number"},"blood_pressure_diastolic_min":{"description":"blood_pressure_diastolic_min in mmHg","examples":[60.01],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.blood_pressure_diastolic_min","typeLabel":"number"},"blood_pressure_systolic":{"description":"blood_pressure_systolic in mmHg","examples":[120.03],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.blood_pressure_systolic","typeLabel":"number"},"blood_pressure_systolic_max":{"description":"blood_pressure_systolic_max in mmHg","examples":[140.07],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.blood_pressure_systolic_max","typeLabel":"number"},"blood_pressure_systolic_min":{"description":"blood_pressure_systolic_min in mmHg","examples":[100.01],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.blood_pressure_systolic_min","typeLabel":"number"},"body_bone_mass":{"description":"body_bone_mass in g","examples":[3200],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.body_bone_mass","typeLabel":"number"},"body_fat":{"description":"body_fat in percentage","examples":[18.53],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.body_fat","typeLabel":"number"},"body_fat_max":{"description":"body_fat_max in percentage","examples":[25.03],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.body_fat_max","typeLabel":"number"},"body_fat_min":{"description":"body_fat_min in percentage","examples":[12.01],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.body_fat_min","typeLabel":"number"},"body_mass_index":{"description":"body_mass_index in count","examples":[22.5016],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.body_mass_index","typeLabel":"number"},"body_temperature":{"description":"body_temperature in celsius","examples":[36.73],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.body_temperature","typeLabel":"number"},"body_temperature_max":{"description":"body_temperature_max in celsius","examples":[37.55],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.body_temperature_max","typeLabel":"number"},"body_temperature_min":{"description":"body_temperature_min in celsius","examples":[36.13],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.body_temperature_min","typeLabel":"number"},"breathing_rate":{"description":"breathing_rate in breaths/min","examples":[16.5016],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.breathing_rate","typeLabel":"number"},"breathing_rate_max":{"description":"breathing_rate_max in breaths/min","examples":[24.7549],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.breathing_rate_max","typeLabel":"number"},"breathing_rate_min":{"description":"breathing_rate_min in breaths/min","examples":[12.2534],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.breathing_rate_min","typeLabel":"number"},"cadence":{"description":"cadence in rpm","examples":[85.5016],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.cadence","typeLabel":"number"},"cadence_max":{"description":"cadence_max in rpm","examples":[110.0049],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.cadence_max","typeLabel":"number"},"cadence_min":{"description":"cadence_min in rpm","examples":[60.0034],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.cadence_min","typeLabel":"number"},"calories_burned":{"description":"calories_burned in kcal","examples":[1650.7549],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.calories_burned","typeLabel":"number"},"calories_burned_active":{"description":"calories_burned_active in kcal","examples":[450.2516],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.calories_burned_active","typeLabel":"number"},"calories_burned_basal":{"description":"calories_burned_basal in kcal","examples":[1200.5034],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.calories_burned_basal","typeLabel":"number"},"calories_intake":{"description":"calories_intake in kcal","examples":[2100.5016],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.calories_intake","typeLabel":"number"},"descent":{"description":"descent in meters","examples":[280.91],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.descent","typeLabel":"number"},"distance":{"description":"distance in meters","examples":[6500.2516],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.distance","typeLabel":"number"},"distance_cycling":{"description":"distance_cycling in meters","examples":[15000.7549],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.distance_cycling","typeLabel":"number"},"distance_running":{"description":"distance_running in meters","examples":[5000.5016],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.distance_running","typeLabel":"number"},"distance_swimming":{"description":"distance_swimming in meters","examples":[1000.7549],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.distance_swimming","typeLabel":"number"},"distance_walking":{"description":"distance_walking in meters","examples":[3200.5034],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.distance_walking","typeLabel":"number"},"distance_wheelchair":{"description":"distance_wheelchair in meters","examples":[2800.5034],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.distance_wheelchair","typeLabel":"number"},"duration_active":{"description":"duration_active in ms","examples":[5400000],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.duration_active","typeLabel":"number"},"duration_high_intensity":{"description":"duration_high_intensity in ms","examples":[1200000],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.duration_high_intensity","typeLabel":"number"},"duration_low_intensity":{"description":"duration_low_intensity in ms","examples":[9000000],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.duration_low_intensity","typeLabel":"number"},"duration_moderate_intensity":{"description":"duration_moderate_intensity in ms","examples":[2400000],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.duration_moderate_intensity","typeLabel":"number"},"ecg_rri":{"description":"ecg_rri in ms","examples":[850],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.ecg_rri","typeLabel":"number"},"ecg_voltage":{"description":"ecg_voltage in uV","examples":[1200.53],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.ecg_voltage","typeLabel":"number"},"elevation":{"description":"elevation in meters","examples":[1050.73],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.elevation","typeLabel":"number"},"elevation_gain":{"description":"elevation_gain in meters","examples":[450.83],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.elevation_gain","typeLabel":"number"},"elevation_loss":{"description":"elevation_loss in meters","examples":[380.47],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.elevation_loss","typeLabel":"number"},"elevation_max":{"description":"elevation_max in meters","examples":[1250.55],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.elevation_max","typeLabel":"number"},"elevation_min":{"description":"elevation_min in meters","examples":[850.37],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.elevation_min","typeLabel":"number"},"floors_climbed":{"description":"floors_climbed in count","examples":[12],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.floors_climbed","typeLabel":"number"},"glucose":{"description":"glucose in mg/dL","examples":[95.654321],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.glucose","typeLabel":"number"},"heartrate":{"description":"heartrate in bpm","examples":[90],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.heartrate","typeLabel":"number"},"heartrate_max":{"description":"heartrate_max in bpm","examples":[180],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.heartrate_max","typeLabel":"number"},"heartrate_min":{"description":"heartrate_min in bpm","examples":[60],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.heartrate_min","typeLabel":"number"},"heartrate_resting":{"description":"heartrate_resting in bpm","examples":[70],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.heartrate_resting","typeLabel":"number"},"heartrate_resting_max":{"description":"heartrate_resting_max in bpm","examples":[85],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.heartrate_resting_max","typeLabel":"number"},"heartrate_resting_min":{"description":"heartrate_resting_min in bpm","examples":[60],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.heartrate_resting_min","typeLabel":"number"},"heartrate_zone0_duration":{"description":"heartrate_zone0_duration in ms","examples":[5000],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.heartrate_zone0_duration","typeLabel":"number"},"heartrate_zone1_duration":{"description":"heartrate_zone1_duration in ms","examples":[7152],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.heartrate_zone1_duration","typeLabel":"number"},"heartrate_zone2_duration":{"description":"heartrate_zone2_duration in ms","examples":[25000],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.heartrate_zone2_duration","typeLabel":"number"},"heartrate_zone3_duration":{"description":"heartrate_zone3_duration in ms","examples":[18170],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.heartrate_zone3_duration","typeLabel":"number"},"heartrate_zone4_duration":{"description":"heartrate_zone4_duration in ms","examples":[6372],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.heartrate_zone4_duration","typeLabel":"number"},"heartrate_zone5_duration":{"description":"heartrate_zone5_duration in ms","examples":[2000],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.heartrate_zone5_duration","typeLabel":"number"},"height":{"description":"height in meters","examples":[1.7549],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.height","typeLabel":"number"},"hrv_rmssd":{"description":"hrv_rmssd in ms","examples":[45],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.hrv_rmssd","typeLabel":"number"},"hrv_sdnn":{"description":"hrv_sdnn in ms","examples":[52],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.hrv_sdnn","typeLabel":"number"},"latitude":{"description":"latitude in degrees","examples":[37.77492948],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.latitude","typeLabel":"number"},"longitude":{"description":"longitude in degrees","examples":[-122.41941637],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.longitude","typeLabel":"number"},"pace":{"description":"pace in sec/m","examples":[3.53],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.pace","typeLabel":"number"},"power":{"description":"power in w","examples":[125],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.power","typeLabel":"number"},"power_max":{"description":"power_max in w","examples":[125],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.power_max","typeLabel":"number"},"skin_temperature":{"description":"skin_temperature in celsius","examples":[33.53],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.skin_temperature","typeLabel":"number"},"skin_temperature_max":{"description":"skin_temperature_max in celsius","examples":[34.27],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.skin_temperature_max","typeLabel":"number"},"skin_temperature_min":{"description":"skin_temperature_min in celsius","examples":[32.89],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.skin_temperature_min","typeLabel":"number"},"sleep_breathing_rate":{"description":"sleep_breathing_rate in breaths/min","examples":[14.27],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.sleep_breathing_rate","typeLabel":"number"},"sleep_breathing_rate_max":{"description":"sleep_breathing_rate_max in breaths/min","examples":[18.59],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.sleep_breathing_rate_max","typeLabel":"number"},"sleep_breathing_rate_min":{"description":"sleep_breathing_rate_min in breaths/min","examples":[10.03],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.sleep_breathing_rate_min","typeLabel":"number"},"sleep_duration":{"description":"sleep_duration in ms","examples":[25200000],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.sleep_duration","typeLabel":"number"},"sleep_duration_awake":{"description":"sleep_duration_awake in ms","examples":[1800000],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.sleep_duration_awake","typeLabel":"number"},"sleep_duration_deep":{"description":"sleep_duration_deep in ms","examples":[5400000],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.sleep_duration_deep","typeLabel":"number"},"sleep_duration_light":{"description":"sleep_duration_light in ms","examples":[12600000],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.sleep_duration_light","typeLabel":"number"},"sleep_duration_nap":{"description":"sleep_duration_nap in ms","examples":[3600000],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.sleep_duration_nap","typeLabel":"number"},"sleep_duration_rem":{"description":"sleep_duration_rem in ms","examples":[3600000],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.sleep_duration_rem","typeLabel":"number"},"sleep_efficiency":{"description":"sleep_efficiency in percentage","examples":[92],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.sleep_efficiency","typeLabel":"number"},"sleep_interruptions":{"description":"sleep_interruptions in count","examples":[2],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.sleep_interruptions","typeLabel":"number"},"sleep_latency":{"description":"sleep_latency in ms","examples":[900000],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.sleep_latency","typeLabel":"number"},"sleep_score":{"description":"sleep_score in percentage","examples":[85],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.sleep_score","typeLabel":"number"},"sleep_skin_temperature_deviation":{"description":"sleep_skin_temperature_deviation in celsius","examples":[-0.13],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.sleep_skin_temperature_deviation","typeLabel":"number"},"speed":{"description":"speed in m/sec","examples":[3.2516],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.speed","typeLabel":"number"},"speed_max":{"description":"speed_max in m/sec","examples":[8.5034],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.speed_max","typeLabel":"number"},"speed_min":{"description":"speed_min in m/sec","examples":[0.5016],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.speed_min","typeLabel":"number"},"spo2":{"description":"spo2 in percentage","examples":[98.5016],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.spo2","typeLabel":"number"},"spo2_max":{"description":"spo2_max in percentage","examples":[99.5034],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.spo2_max","typeLabel":"number"},"spo2_min":{"description":"spo2_min in percentage","examples":[95.2516],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.spo2_min","typeLabel":"number"},"steps":{"description":"steps in count","examples":[8500],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.steps","typeLabel":"number"},"swimming_distance_per_stroke":{"description":"swimming_distance_per_stroke in meters","examples":[2.27],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.swimming_distance_per_stroke","typeLabel":"number"},"swimming_lengths":{"description":"swimming_lengths in count","examples":[40],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.swimming_lengths","typeLabel":"number"},"vo2max":{"description":"vo2max in mL/kg/min","examples":[45.23],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.vo2max","typeLabel":"number"},"wakeup_latency":{"description":"wakeup_latency in ms","examples":[600000],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.wakeup_latency","typeLabel":"number"},"weight":{"description":"weight in g","examples":[70000.5034],"type":"number","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics.weight","typeLabel":"number"}},"type":"object","uniqueKey":"stages.oneOf.0.items.[INDEX].metrics","typeLabel":"object"},"stage":{"description":"Sleep stages","enum":["awake","sleeping","out_of_bed","light","deep","rem","awake_in_bed","nap","in_bed","unknown"],"type":"string","uniqueKey":"stages.oneOf.0.items.[INDEX].stage","typeLabel":"enum\u003cstring>"},"start_at":{"format":"date-time","type":"string","uniqueKey":"stages.oneOf.0.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"}},"type":"object","uniqueKey":"stages.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"stages.oneOf.0","typeLabel":"object[]"},{"items":{"additionalProperties":false,"properties":{"duration":{"format":"int64","type":"integer"},"end_at":{"format":"date-time","type":"string"},"metrics":{"description":"Metrics output","properties":{"air_temperature":{"description":"air_temperature in celsius","examples":[22.73],"type":"number"},"air_temperature_max":{"description":"air_temperature_max in celsius","examples":[28.55],"type":"number"},"air_temperature_min":{"description":"air_temperature_min in celsius","examples":[15.27],"type":"number"},"ascent":{"description":"ascent in meters","examples":[320.29],"type":"number"},"basal_body_temperature":{"description":"basal_body_temperature in celsius","examples":[36.53],"type":"number"},"basal_body_temperature_max":{"description":"basal_body_temperature_max in celsius","examples":[37.03],"type":"number"},"basal_body_temperature_min":{"description":"basal_body_temperature_min in celsius","examples":[36.01],"type":"number"},"bedtime_duration":{"description":"bedtime_duration in ms","examples":[28800000],"type":"number"},"blood_pressure_diastolic":{"description":"blood_pressure_diastolic in mmHg","examples":[80.03],"type":"number"},"blood_pressure_diastolic_max":{"description":"blood_pressure_diastolic_max in mmHg","examples":[90.07],"type":"number"},"blood_pressure_diastolic_min":{"description":"blood_pressure_diastolic_min in mmHg","examples":[60.01],"type":"number"},"blood_pressure_systolic":{"description":"blood_pressure_systolic in mmHg","examples":[120.03],"type":"number"},"blood_pressure_systolic_max":{"description":"blood_pressure_systolic_max in mmHg","examples":[140.07],"type":"number"},"blood_pressure_systolic_min":{"description":"blood_pressure_systolic_min in mmHg","examples":[100.01],"type":"number"},"body_bone_mass":{"description":"body_bone_mass in g","examples":[3200],"type":"number"},"body_fat":{"description":"body_fat in percentage","examples":[18.53],"type":"number"},"body_fat_max":{"description":"body_fat_max in percentage","examples":[25.03],"type":"number"},"body_fat_min":{"description":"body_fat_min in percentage","examples":[12.01],"type":"number"},"body_mass_index":{"description":"body_mass_index in count","examples":[22.5016],"type":"number"},"body_temperature":{"description":"body_temperature in celsius","examples":[36.73],"type":"number"},"body_temperature_max":{"description":"body_temperature_max in celsius","examples":[37.55],"type":"number"},"body_temperature_min":{"description":"body_temperature_min in celsius","examples":[36.13],"type":"number"},"breathing_rate":{"description":"breathing_rate in breaths/min","examples":[16.5016],"type":"number"},"breathing_rate_max":{"description":"breathing_rate_max in breaths/min","examples":[24.7549],"type":"number"},"breathing_rate_min":{"description":"breathing_rate_min in breaths/min","examples":[12.2534],"type":"number"},"cadence":{"description":"cadence in rpm","examples":[85.5016],"type":"number"},"cadence_max":{"description":"cadence_max in rpm","examples":[110.0049],"type":"number"},"cadence_min":{"description":"cadence_min in rpm","examples":[60.0034],"type":"number"},"calories_burned":{"description":"calories_burned in kcal","examples":[1650.7549],"type":"number"},"calories_burned_active":{"description":"calories_burned_active in kcal","examples":[450.2516],"type":"number"},"calories_burned_basal":{"description":"calories_burned_basal in kcal","examples":[1200.5034],"type":"number"},"calories_intake":{"description":"calories_intake in kcal","examples":[2100.5016],"type":"number"},"descent":{"description":"descent in meters","examples":[280.91],"type":"number"},"distance":{"description":"distance in meters","examples":[6500.2516],"type":"number"},"distance_cycling":{"description":"distance_cycling in meters","examples":[15000.7549],"type":"number"},"distance_running":{"description":"distance_running in meters","examples":[5000.5016],"type":"number"},"distance_swimming":{"description":"distance_swimming in meters","examples":[1000.7549],"type":"number"},"distance_walking":{"description":"distance_walking in meters","examples":[3200.5034],"type":"number"},"distance_wheelchair":{"description":"distance_wheelchair in meters","examples":[2800.5034],"type":"number"},"duration_active":{"description":"duration_active in ms","examples":[5400000],"type":"number"},"duration_high_intensity":{"description":"duration_high_intensity in ms","examples":[1200000],"type":"number"},"duration_low_intensity":{"description":"duration_low_intensity in ms","examples":[9000000],"type":"number"},"duration_moderate_intensity":{"description":"duration_moderate_intensity in ms","examples":[2400000],"type":"number"},"ecg_rri":{"description":"ecg_rri in ms","examples":[850],"type":"number"},"ecg_voltage":{"description":"ecg_voltage in uV","examples":[1200.53],"type":"number"},"elevation":{"description":"elevation in meters","examples":[1050.73],"type":"number"},"elevation_gain":{"description":"elevation_gain in meters","examples":[450.83],"type":"number"},"elevation_loss":{"description":"elevation_loss in meters","examples":[380.47],"type":"number"},"elevation_max":{"description":"elevation_max in meters","examples":[1250.55],"type":"number"},"elevation_min":{"description":"elevation_min in meters","examples":[850.37],"type":"number"},"floors_climbed":{"description":"floors_climbed in count","examples":[12],"type":"number"},"glucose":{"description":"glucose in mg/dL","examples":[95.654321],"type":"number"},"heartrate":{"description":"heartrate in bpm","examples":[90],"type":"number"},"heartrate_max":{"description":"heartrate_max in bpm","examples":[180],"type":"number"},"heartrate_min":{"description":"heartrate_min in bpm","examples":[60],"type":"number"},"heartrate_resting":{"description":"heartrate_resting in bpm","examples":[70],"type":"number"},"heartrate_resting_max":{"description":"heartrate_resting_max in bpm","examples":[85],"type":"number"},"heartrate_resting_min":{"description":"heartrate_resting_min in bpm","examples":[60],"type":"number"},"heartrate_zone0_duration":{"description":"heartrate_zone0_duration in ms","examples":[5000],"type":"number"},"heartrate_zone1_duration":{"description":"heartrate_zone1_duration in ms","examples":[7152],"type":"number"},"heartrate_zone2_duration":{"description":"heartrate_zone2_duration in ms","examples":[25000],"type":"number"},"heartrate_zone3_duration":{"description":"heartrate_zone3_duration in ms","examples":[18170],"type":"number"},"heartrate_zone4_duration":{"description":"heartrate_zone4_duration in ms","examples":[6372],"type":"number"},"heartrate_zone5_duration":{"description":"heartrate_zone5_duration in ms","examples":[2000],"type":"number"},"height":{"description":"height in meters","examples":[1.7549],"type":"number"},"hrv_rmssd":{"description":"hrv_rmssd in ms","examples":[45],"type":"number"},"hrv_sdnn":{"description":"hrv_sdnn in ms","examples":[52],"type":"number"},"latitude":{"description":"latitude in degrees","examples":[37.77492948],"type":"number"},"longitude":{"description":"longitude in degrees","examples":[-122.41941637],"type":"number"},"pace":{"description":"pace in sec/m","examples":[3.53],"type":"number"},"power":{"description":"power in w","examples":[125],"type":"number"},"power_max":{"description":"power_max in w","examples":[125],"type":"number"},"skin_temperature":{"description":"skin_temperature in celsius","examples":[33.53],"type":"number"},"skin_temperature_max":{"description":"skin_temperature_max in celsius","examples":[34.27],"type":"number"},"skin_temperature_min":{"description":"skin_temperature_min in celsius","examples":[32.89],"type":"number"},"sleep_breathing_rate":{"description":"sleep_breathing_rate in breaths/min","examples":[14.27],"type":"number"},"sleep_breathing_rate_max":{"description":"sleep_breathing_rate_max in breaths/min","examples":[18.59],"type":"number"},"sleep_breathing_rate_min":{"description":"sleep_breathing_rate_min in breaths/min","examples":[10.03],"type":"number"},"sleep_duration":{"description":"sleep_duration in ms","examples":[25200000],"type":"number"},"sleep_duration_awake":{"description":"sleep_duration_awake in ms","examples":[1800000],"type":"number"},"sleep_duration_deep":{"description":"sleep_duration_deep in ms","examples":[5400000],"type":"number"},"sleep_duration_light":{"description":"sleep_duration_light in ms","examples":[12600000],"type":"number"},"sleep_duration_nap":{"description":"sleep_duration_nap in ms","examples":[3600000],"type":"number"},"sleep_duration_rem":{"description":"sleep_duration_rem in ms","examples":[3600000],"type":"number"},"sleep_efficiency":{"description":"sleep_efficiency in percentage","examples":[92],"type":"number"},"sleep_interruptions":{"description":"sleep_interruptions in count","examples":[2],"type":"number"},"sleep_latency":{"description":"sleep_latency in ms","examples":[900000],"type":"number"},"sleep_score":{"description":"sleep_score in percentage","examples":[85],"type":"number"},"sleep_skin_temperature_deviation":{"description":"sleep_skin_temperature_deviation in celsius","examples":[-0.13],"type":"number"},"speed":{"description":"speed in m/sec","examples":[3.2516],"type":"number"},"speed_max":{"description":"speed_max in m/sec","examples":[8.5034],"type":"number"},"speed_min":{"description":"speed_min in m/sec","examples":[0.5016],"type":"number"},"spo2":{"description":"spo2 in percentage","examples":[98.5016],"type":"number"},"spo2_max":{"description":"spo2_max in percentage","examples":[99.5034],"type":"number"},"spo2_min":{"description":"spo2_min in percentage","examples":[95.2516],"type":"number"},"steps":{"description":"steps in count","examples":[8500],"type":"number"},"swimming_distance_per_stroke":{"description":"swimming_distance_per_stroke in meters","examples":[2.27],"type":"number"},"swimming_lengths":{"description":"swimming_lengths in count","examples":[40],"type":"number"},"vo2max":{"description":"vo2max in mL/kg/min","examples":[45.23],"type":"number"},"wakeup_latency":{"description":"wakeup_latency in ms","examples":[600000],"type":"number"},"weight":{"description":"weight in g","examples":[70000.5034],"type":"number"}},"type":"object"},"stage":{"description":"Sleep stages","enum":["awake","sleeping","out_of_bed","light","deep","rem","awake_in_bed","nap","in_bed","unknown"],"type":"string"},"start_at":{"format":"date-time","type":"string"}},"type":"object"},"type":"null","uniqueKey":"stages.oneOf.1","typeLabel":"null"}],"uniqueKey":"stages","typeLabel":"object[] | null"},"user_time_offset_minutes":{"description":"User time offset in minutes","format":"int32","type":"integer","uniqueKey":"user_time_offset_minutes","typeLabel":"integer\u003cint32>"}},"required":["start_at_timestamp","modified_at"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"modified_at":"2023-11-07T05:31:56Z","start_at_timestamp":"2023-11-07T05:31:56Z","duration":123,"end_at_timestamp":"2023-11-07T05:31:56Z","input_method":"unknown","metrics":{"air_temperature":22.73,"air_temperature_max":28.55,"air_temperature_min":15.27,"ascent":320.29,"basal_body_temperature":36.53,"basal_body_temperature_max":37.03,"basal_body_temperature_min":36.01,"bedtime_duration":28800000,"blood_pressure_diastolic":80.03,"blood_pressure_diastolic_max":90.07,"blood_pressure_diastolic_min":60.01,"blood_pressure_systolic":120.03,"blood_pressure_systolic_max":140.07,"blood_pressure_systolic_min":100.01,"body_bone_mass":3200,"body_fat":18.53,"body_fat_max":25.03,"body_fat_min":12.01,"body_mass_index":22.5016,"body_temperature":36.73,"body_temperature_max":37.55,"body_temperature_min":36.13,"breathing_rate":16.5016,"breathing_rate_max":24.7549,"breathing_rate_min":12.2534,"cadence":85.5016,"cadence_max":110.0049,"cadence_min":60.0034,"calories_burned":1650.7549,"calories_burned_active":450.2516,"calories_burned_basal":1200.5034,"calories_intake":2100.5016,"descent":280.91,"distance":6500.2516,"distance_cycling":15000.7549,"distance_running":5000.5016,"distance_swimming":1000.7549,"distance_walking":3200.5034,"distance_wheelchair":2800.5034,"duration_active":5400000,"duration_high_intensity":1200000,"duration_low_intensity":9000000,"duration_moderate_intensity":2400000,"ecg_rri":850,"ecg_voltage":1200.53,"elevation":1050.73,"elevation_gain":450.83,"elevation_loss":380.47,"elevation_max":1250.55,"elevation_min":850.37,"floors_climbed":12,"glucose":95.654321,"heartrate":90,"heartrate_max":180,"heartrate_min":60,"heartrate_resting":70,"heartrate_resting_max":85,"heartrate_resting_min":60,"heartrate_zone0_duration":5000,"heartrate_zone1_duration":7152,"heartrate_zone2_duration":25000,"heartrate_zone3_duration":18170,"heartrate_zone4_duration":6372,"heartrate_zone5_duration":2000,"height":1.7549,"hrv_rmssd":45,"hrv_sdnn":52,"latitude":37.77492948,"longitude":-122.41941637,"pace":3.53,"power":125,"power_max":125,"skin_temperature":33.53,"skin_temperature_max":34.27,"skin_temperature_min":32.89,"sleep_breathing_rate":14.27,"sleep_breathing_rate_max":18.59,"sleep_breathing_rate_min":10.03,"sleep_duration":25200000,"sleep_duration_awake":1800000,"sleep_duration_deep":5400000,"sleep_duration_light":12600000,"sleep_duration_nap":3600000,"sleep_duration_rem":3600000,"sleep_efficiency":92,"sleep_interruptions":2,"sleep_latency":900000,"sleep_score":85,"sleep_skin_temperature_deviation":-0.13,"speed":3.2516,"speed_max":8.5034,"speed_min":0.5016,"spo2":98.5016,"spo2_max":99.5034,"spo2_min":95.2516,"steps":8500,"swimming_distance_per_stroke":2.27,"swimming_lengths":40,"vo2max":45.23,"wakeup_latency":600000,"weight":70000.5034},"provider_slug":"strava","record_ids":["12345678-1234-abcd-4321-abcdef123456"],"samples":{"durations":[123],"offsets":[123],"values":{"air_temperature":[123],"air_temperature_max":[123],"air_temperature_min":[123],"ascent":[123],"basal_body_temperature":[123],"basal_body_temperature_max":[123],"basal_body_temperature_min":[123],"bedtime_duration":[123],"blood_pressure_diastolic":[123],"blood_pressure_diastolic_max":[123],"blood_pressure_diastolic_min":[123],"blood_pressure_systolic":[123],"blood_pressure_systolic_max":[123],"blood_pressure_systolic_min":[123],"body_bone_mass":[123],"body_fat":[123],"body_fat_max":[123],"body_fat_min":[123],"body_mass_index":[123],"body_temperature":[123],"body_temperature_max":[123],"body_temperature_min":[123],"breathing_rate":[123],"breathing_rate_max":[123],"breathing_rate_min":[123],"cadence":[123],"cadence_max":[123],"cadence_min":[123],"calories_burned":[123],"calories_burned_active":[123],"calories_burned_basal":[123],"calories_intake":[123],"descent":[123],"distance":[123],"distance_cycling":[123],"distance_running":[123],"distance_swimming":[123],"distance_walking":[123],"distance_wheelchair":[123],"duration_active":[123],"duration_high_intensity":[123],"duration_low_intensity":[123],"duration_moderate_intensity":[123],"ecg_rri":[123],"ecg_voltage":[123],"elevation":[123],"elevation_gain":[123],"elevation_loss":[123],"elevation_max":[123],"elevation_min":[123],"floors_climbed":[123],"glucose":[123],"heartrate":[123],"heartrate_max":[123],"heartrate_min":[123],"heartrate_resting":[123],"heartrate_resting_max":[123],"heartrate_resting_min":[123],"heartrate_zone0_duration":[123],"heartrate_zone1_duration":[123],"heartrate_zone2_duration":[123],"heartrate_zone3_duration":[123],"heartrate_zone4_duration":[123],"heartrate_zone5_duration":[123],"height":[123],"hrv_rmssd":[123],"hrv_sdnn":[123],"latitude":[123],"longitude":[123],"pace":[123],"power":[123],"power_max":[123],"skin_temperature":[123],"skin_temperature_max":[123],"skin_temperature_min":[123],"sleep_breathing_rate":[123],"sleep_breathing_rate_max":[123],"sleep_breathing_rate_min":[123],"sleep_duration":[123],"sleep_duration_awake":[123],"sleep_duration_deep":[123],"sleep_duration_light":[123],"sleep_duration_nap":[123],"sleep_duration_rem":[123],"sleep_efficiency":[123],"sleep_interruptions":[123],"sleep_latency":[123],"sleep_score":[123],"sleep_skin_temperature_deviation":[123],"speed":[123],"speed_max":[123],"speed_min":[123],"spo2":[123],"spo2_max":[123],"spo2_min":[123],"steps":[123],"swimming_distance_per_stroke":[123],"swimming_lengths":[123],"vo2max":[123],"wakeup_latency":[123],"weight":[123]}},"score":123,"sleep_date":"2006-01-02","sleep_id":"\u003cstring>","source":{"device_manufacturer":"\u003cstring>","device_model":"\u003cstring>","device_product":"\u003cstring>","device_version":"\u003cstring>","source_bundle_identifier":"\u003cstring>","source_os_version":"\u003cstring>","source_product":"\u003cstring>","source_version":"\u003cstring>"},"stages":[{"duration":123,"end_at":"2023-11-07T05:31:56Z","metrics":{"air_temperature":22.73,"air_temperature_max":28.55,"air_temperature_min":15.27,"ascent":320.29,"basal_body_temperature":36.53,"basal_body_temperature_max":37.03,"basal_body_temperature_min":36.01,"bedtime_duration":28800000,"blood_pressure_diastolic":80.03,"blood_pressure_diastolic_max":90.07,"blood_pressure_diastolic_min":60.01,"blood_pressure_systolic":120.03,"blood_pressure_systolic_max":140.07,"blood_pressure_systolic_min":100.01,"body_bone_mass":3200,"body_fat":18.53,"body_fat_max":25.03,"body_fat_min":12.01,"body_mass_index":22.5016,"body_temperature":36.73,"body_temperature_max":37.55,"body_temperature_min":36.13,"breathing_rate":16.5016,"breathing_rate_max":24.7549,"breathing_rate_min":12.2534,"cadence":85.5016,"cadence_max":110.0049,"cadence_min":60.0034,"calories_burned":1650.7549,"calories_burned_active":450.2516,"calories_burned_basal":1200.5034,"calories_intake":2100.5016,"descent":280.91,"distance":6500.2516,"distance_cycling":15000.7549,"distance_running":5000.5016,"distance_swimming":1000.7549,"distance_walking":3200.5034,"distance_wheelchair":2800.5034,"duration_active":5400000,"duration_high_intensity":1200000,"duration_low_intensity":9000000,"duration_moderate_intensity":2400000,"ecg_rri":850,"ecg_voltage":1200.53,"elevation":1050.73,"elevation_gain":450.83,"elevation_loss":380.47,"elevation_max":1250.55,"elevation_min":850.37,"floors_climbed":12,"glucose":95.654321,"heartrate":90,"heartrate_max":180,"heartrate_min":60,"heartrate_resting":70,"heartrate_resting_max":85,"heartrate_resting_min":60,"heartrate_zone0_duration":5000,"heartrate_zone1_duration":7152,"heartrate_zone2_duration":25000,"heartrate_zone3_duration":18170,"heartrate_zone4_duration":6372,"heartrate_zone5_duration":2000,"height":1.7549,"hrv_rmssd":45,"hrv_sdnn":52,"latitude":37.77492948,"longitude":-122.41941637,"pace":3.53,"power":125,"power_max":125,"skin_temperature":33.53,"skin_temperature_max":34.27,"skin_temperature_min":32.89,"sleep_breathing_rate":14.27,"sleep_breathing_rate_max":18.59,"sleep_breathing_rate_min":10.03,"sleep_duration":25200000,"sleep_duration_awake":1800000,"sleep_duration_deep":5400000,"sleep_duration_light":12600000,"sleep_duration_nap":3600000,"sleep_duration_rem":3600000,"sleep_efficiency":92,"sleep_interruptions":2,"sleep_latency":900000,"sleep_score":85,"sleep_skin_temperature_deviation":-0.13,"speed":3.2516,"speed_max":8.5034,"speed_min":0.5016,"spo2":98.5016,"spo2_max":99.5034,"spo2_min":95.2516,"steps":8500,"swimming_distance_per_stroke":2.27,"swimming_lengths":40,"vo2max":45.23,"wakeup_latency":600000,"weight":70000.5034},"stage":"awake","start_at":"2023-11-07T05:31:56Z"}],"user_time_offset_minutes":123}}},"exampleType":"generated"}},"description":"OK","exampleType":"generated"},"b99df935-2a7e-451f-961b-f5aa528b7892":{"content":{"application/problem+json":{"schema":{"additionalProperties":false,"properties":{"detail":{"description":"A human-readable explanation specific to this occurrence of the problem.","examples":["Property foo is required but is missing."],"type":"string","uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"description":"Optional list of individual error details","items":{"additionalProperties":false,"properties":{"location":{"description":"Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'","type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].location","typeLabel":"string"},"message":{"description":"Error message text","type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].message","typeLabel":"string"},"value":{"description":"The value at the given location","uniqueKey":"errors.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"type":"object","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"description":"Optional list of individual error details","items":{"additionalProperties":false,"properties":{"location":{"description":"Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'","type":"string"},"message":{"description":"Error message text","type":"string"},"value":{"description":"The value at the given location"}},"type":"object"},"type":"null","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"object[] | null"},"instance":{"description":"A URI reference that identifies the specific occurrence of the problem.","examples":["https://example.com/error-log/abc123"],"format":"uri","type":"string","uniqueKey":"instance","typeLabel":"string\u003curi>"},"status":{"description":"HTTP status code","examples":[400],"format":"int64","type":"integer","uniqueKey":"status","typeLabel":"integer\u003cint64>"},"title":{"description":"A short, human-readable summary of the problem type. This value should not change between occurrences of the error.","examples":["Bad Request"],"type":"string","uniqueKey":"title","typeLabel":"string"},"type":{"default":"about:blank","description":"A URI reference to human-readable documentation for the error.","examples":["https://example.com/errors/example"],"format":"uri","type":"string","uniqueKey":"type","typeLabel":"string\u003curi>"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"Property foo is required but is missing.","errors":[{"location":"\u003cstring>","message":"\u003cstring>","value":"\u003cunknown>"}],"instance":"https://example.com/error-log/abc123","status":400,"title":"Bad Request","type":"https://example.com/errors/example"}}},"exampleType":"generated"}},"description":"Bad Request","exampleType":"generated"},"628a7b68-c5d8-4cee-ab35-c67a096ee54b":{"content":{"application/problem+json":{"schema":{"additionalProperties":false,"properties":{"detail":{"description":"A human-readable explanation specific to this occurrence of the problem.","examples":["Property foo is required but is missing."],"type":"string","uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"description":"Optional list of individual error details","items":{"additionalProperties":false,"properties":{"location":{"description":"Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'","type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].location","typeLabel":"string"},"message":{"description":"Error message text","type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].message","typeLabel":"string"},"value":{"description":"The value at the given location","uniqueKey":"errors.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"type":"object","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"description":"Optional list of individual error details","items":{"additionalProperties":false,"properties":{"location":{"description":"Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'","type":"string"},"message":{"description":"Error message text","type":"string"},"value":{"description":"The value at the given location"}},"type":"object"},"type":"null","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"object[] | null"},"instance":{"description":"A URI reference that identifies the specific occurrence of the problem.","examples":["https://example.com/error-log/abc123"],"format":"uri","type":"string","uniqueKey":"instance","typeLabel":"string\u003curi>"},"status":{"description":"HTTP status code","examples":[400],"format":"int64","type":"integer","uniqueKey":"status","typeLabel":"integer\u003cint64>"},"title":{"description":"A short, human-readable summary of the problem type. This value should not change between occurrences of the error.","examples":["Bad Request"],"type":"string","uniqueKey":"title","typeLabel":"string"},"type":{"default":"about:blank","description":"A URI reference to human-readable documentation for the error.","examples":["https://example.com/errors/example"],"format":"uri","type":"string","uniqueKey":"type","typeLabel":"string\u003curi>"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"Property foo is required but is missing.","errors":[{"location":"\u003cstring>","message":"\u003cstring>","value":"\u003cunknown>"}],"instance":"https://example.com/error-log/abc123","status":400,"title":"Bad Request","type":"https://example.com/errors/example"}}},"exampleType":"generated"}},"description":"Unauthorized","exampleType":"generated"},"d3ec042a-cef8-4323-bd52-6ade7a7c11e1":{"content":{"application/problem+json":{"schema":{"additionalProperties":false,"properties":{"detail":{"description":"A human-readable explanation specific to this occurrence of the problem.","examples":["Property foo is required but is missing."],"type":"string","uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"description":"Optional list of individual error details","items":{"additionalProperties":false,"properties":{"location":{"description":"Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'","type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].location","typeLabel":"string"},"message":{"description":"Error message text","type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].message","typeLabel":"string"},"value":{"description":"The value at the given location","uniqueKey":"errors.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"type":"object","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"description":"Optional list of individual error details","items":{"additionalProperties":false,"properties":{"location":{"description":"Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'","type":"string"},"message":{"description":"Error message text","type":"string"},"value":{"description":"The value at the given location"}},"type":"object"},"type":"null","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"object[] | null"},"instance":{"description":"A URI reference that identifies the specific occurrence of the problem.","examples":["https://example.com/error-log/abc123"],"format":"uri","type":"string","uniqueKey":"instance","typeLabel":"string\u003curi>"},"status":{"description":"HTTP status code","examples":[400],"format":"int64","type":"integer","uniqueKey":"status","typeLabel":"integer\u003cint64>"},"title":{"description":"A short, human-readable summary of the problem type. This value should not change between occurrences of the error.","examples":["Bad Request"],"type":"string","uniqueKey":"title","typeLabel":"string"},"type":{"default":"about:blank","description":"A URI reference to human-readable documentation for the error.","examples":["https://example.com/errors/example"],"format":"uri","type":"string","uniqueKey":"type","typeLabel":"string\u003curi>"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"Property foo is required but is missing.","errors":[{"location":"\u003cstring>","message":"\u003cstring>","value":"\u003cunknown>"}],"instance":"https://example.com/error-log/abc123","status":400,"title":"Bad Request","type":"https://example.com/errors/example"}}},"exampleType":"generated"}},"description":"Not Found","exampleType":"generated"},"a9572962-00c1-43e1-a123-3e4ea758817e":{"content":{"application/problem+json":{"schema":{"additionalProperties":false,"properties":{"detail":{"description":"A human-readable explanation specific to this occurrence of the problem.","examples":["Property foo is required but is missing."],"type":"string","uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"description":"Optional list of individual error details","items":{"additionalProperties":false,"properties":{"location":{"description":"Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'","type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].location","typeLabel":"string"},"message":{"description":"Error message text","type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].message","typeLabel":"string"},"value":{"description":"The value at the given location","uniqueKey":"errors.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"type":"object","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"description":"Optional list of individual error details","items":{"additionalProperties":false,"properties":{"location":{"description":"Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'","type":"string"},"message":{"description":"Error message text","type":"string"},"value":{"description":"The value at the given location"}},"type":"object"},"type":"null","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"object[] | null"},"instance":{"description":"A URI reference that identifies the specific occurrence of the problem.","examples":["https://example.com/error-log/abc123"],"format":"uri","type":"string","uniqueKey":"instance","typeLabel":"string\u003curi>"},"status":{"description":"HTTP status code","examples":[400],"format":"int64","type":"integer","uniqueKey":"status","typeLabel":"integer\u003cint64>"},"title":{"description":"A short, human-readable summary of the problem type. This value should not change between occurrences of the error.","examples":["Bad Request"],"type":"string","uniqueKey":"title","typeLabel":"string"},"type":{"default":"about:blank","description":"A URI reference to human-readable documentation for the error.","examples":["https://example.com/errors/example"],"format":"uri","type":"string","uniqueKey":"type","typeLabel":"string\u003curi>"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"Property foo is required but is missing.","errors":[{"location":"\u003cstring>","message":"\u003cstring>","value":"\u003cunknown>"}],"instance":"https://example.com/error-log/abc123","status":400,"title":"Bad Request","type":"https://example.com/errors/example"}}},"exampleType":"generated"}},"description":"Unprocessable Entity","exampleType":"generated"},"b04c9e36-8073-4c6c-85d4-5d5136314d65":{"content":{"application/problem+json":{"schema":{"additionalProperties":false,"properties":{"detail":{"description":"A human-readable explanation specific to this occurrence of the problem.","examples":["Property foo is required but is missing."],"type":"string","uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"description":"Optional list of individual error details","items":{"additionalProperties":false,"properties":{"location":{"description":"Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'","type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].location","typeLabel":"string"},"message":{"description":"Error message text","type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].message","typeLabel":"string"},"value":{"description":"The value at the given location","uniqueKey":"errors.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"type":"object","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"description":"Optional list of individual error details","items":{"additionalProperties":false,"properties":{"location":{"description":"Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'","type":"string"},"message":{"description":"Error message text","type":"string"},"value":{"description":"The value at the given location"}},"type":"object"},"type":"null","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"object[] | null"},"instance":{"description":"A URI reference that identifies the specific occurrence of the problem.","examples":["https://example.com/error-log/abc123"],"format":"uri","type":"string","uniqueKey":"instance","typeLabel":"string\u003curi>"},"status":{"description":"HTTP status code","examples":[400],"format":"int64","type":"integer","uniqueKey":"status","typeLabel":"integer\u003cint64>"},"title":{"description":"A short, human-readable summary of the problem type. This value should not change between occurrences of the error.","examples":["Bad Request"],"type":"string","uniqueKey":"title","typeLabel":"string"},"type":{"default":"about:blank","description":"A URI reference to human-readable documentation for the error.","examples":["https://example.com/errors/example"],"format":"uri","type":"string","uniqueKey":"type","typeLabel":"string\u003curi>"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"Property foo is required but is missing.","errors":[{"location":"\u003cstring>","message":"\u003cstring>","value":"\u003cunknown>"}],"instance":"https://example.com/error-log/abc123","status":400,"title":"Bad Request","type":"https://example.com/errors/example"}}},"exampleType":"generated"}},"description":"Internal Server Error","exampleType":"generated"}},"security":{"15af2209-5188-4239-a646-4a8ed4adcd74":{"bearer":{"bearerFormat":"JWT","scheme":"bearer","type":"http","scopes":[]}}},"servers":{"ef9b78f7-3265-4121-bc10-018f5c64886c":{"url":"https://app-api.spikeapi.com/v3"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"bearerFormat":"JWT","scheme":"bearer","type":"http","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"trial-7e3c8695","siteName":"Spike API","title":"Get Sleep - Spike API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-27T08:49:54.575Z","originalFileLocation":"api-reference/query-sleep-by-id.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"This endpoint returns sleep data including different sleep stages that represent the various phases of sleep a person goes through during a sleep cycle. Each stage is characterized by distinct physiological and neurological patterns. The different sleep stages are: - awake: The state of being fully conscious and alert. - sleeping: A general term for being in a state of sleep. - out_of_bed: The state when a person is not in bed, possibly indicating a brief interruption in sleep. - light: A stage of sleep where the body begins to relax, and the heart rate slows down. It is easier to wake up from this stage. - deep: A restorative stage of sleep where the body repairs and regrows tissues, builds bone and muscle, and strengthens the immune system. - rem: Rapid Eye Movement sleep, a stage where dreaming occurs, and the brain is very active. It plays a role in memory consolidation and mood regulation. - awake_in_bed: The state of being awake while still in bed, often occurring before falling asleep or after waking up. - nap: A short sleep, typically taken during the day, that can help improve alertness and performance. - unknown: A stage that cannot be classified into any of the known categories, possibly due to insufficient data or anomalies in the sleep pattern. ### Sleep Attribution Date The sleep date attribution follows two simple rules to determine which date a sleep record should be associated with: 1. Provider Payload Date: The primary source of truth is the date provided in the payload from the sleep tracking provider. This date is used if available. 2. End Date Rule: If the provider payload date is not available, the sleep date is attributed to the day on which the sleep session ended. This straightforward approach ensures consistent date attribution for sleep records, regardless of when the sleep session started or ended. ### Main Sleep and Nap There are two types of sleep: main sleep and nap. There can be only one main sleep per day, which is the longest sleep period. A nap is a shorter sleep taken during the day and will have a sleep_duration_nap value. ### Sleep Durations Total sleep duration is the sum of the durations of light, deep, and REM sleep stages, while total time in bed also includes time spent awake. total sleep = light + deep + rem time in bed = total sleep + awake Note that nap time is not included in the total sleep time for a day. Sleep latency refers to the estimated time from when rest begins until the first occurrence of light or deep sleep. The accuracy of sleep stages and latency depends entirely on the provider’s sensors and calculations. Sleep duration values are reported in milliseconds.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Spike API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trial-7e3c8695/Vf-2TqFNQYSDp2gp/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/trial-7e3c8695/Vf-2TqFNQYSDp2gp/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trial-7e3c8695/Vf-2TqFNQYSDp2gp/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trial-7e3c8695/Vf-2TqFNQYSDp2gp/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trial-7e3c8695/Vf-2TqFNQYSDp2gp/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trial-7e3c8695/Vf-2TqFNQYSDp2gp/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trial-7e3c8695/Vf-2TqFNQYSDp2gp/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trial-7e3c8695/Vf-2TqFNQYSDp2gp/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trial-7e3c8695/Vf-2TqFNQYSDp2gp/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Sleep - Spike API\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint returns sleep data including different sleep stages that represent the various phases of sleep a person goes through during a sleep cycle. Each stage is characterized by distinct physiological and neurological patterns. The different sleep stages are: - awake: The state of being fully conscious and alert. - sleeping: A general term for being in a state of sleep. - out_of_bed: The state when a person is not in bed, possibly indicating a brief interruption in sleep. - light: A stage of sleep where the body begins to relax, and the heart rate slows down. It is easier to wake up from this stage. - deep: A restorative stage of sleep where the body repairs and regrows tissues, builds bone and muscle, and strengthens the immune system. - rem: Rapid Eye Movement sleep, a stage where dreaming occurs, and the brain is very active. It plays a role in memory consolidation and mood regulation. - awake_in_bed: The state of being awake while still in bed, often occurring before falling asleep or after waking up. - nap: A short sleep, typically taken during the day, that can help improve alertness and performance. - unknown: A stage that cannot be classified into any of the known categories, possibly due to insufficient data or anomalies in the sleep pattern. ### Sleep Attribution Date The sleep date attribution follows two simple rules to determine which date a sleep record should be associated with: 1. Provider Payload Date: The primary source of truth is the date provided in the payload from the sleep tracking provider. This date is used if available. 2. End Date Rule: If the provider payload date is not available, the sleep date is attributed to the day on which the sleep session ended. This straightforward approach ensures consistent date attribution for sleep records, regardless of when the sleep session started or ended. ### Main Sleep and Nap There are two types of sleep: main sleep and nap. There can be only one main sleep per day, which is the longest sleep period. A nap is a shorter sleep taken during the day and will have a sleep_duration_nap value. ### Sleep Durations Total sleep duration is the sum of the durations of light, deep, and REM sleep stages, while total time in bed also includes time spent awake. total sleep = light + deep + rem time in bed = total sleep + awake Note that nap time is not included in the total sleep time for a day. Sleep latency refers to the estimated time from when rest begins until the first occurrence of light or deep sleep. The accuracy of sleep stages and latency depends entirely on the provider’s sensors and calculations. Sleep duration values are reported in milliseconds.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Spike API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.spikeapi.com/api-reference/query-sleep-by-id\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://trial-7e3c8695.mintlify.site/_mintlify/api/og/v2?division=API+Reference%3A+Querying+Data\u0026amp;title=Get+Sleep\u0026amp;description=This+endpoint+returns+sleep+data+including+different+sleep+stages+that+represent+the+various+phases+of+sleep+a+person+goes+through+during+a+sleep+cycle.+Each+st\u0026amp;theme=9dd1d8fbdb88ddbc752003e2\u0026amp;signature=5c2f7e06785b03a72817425de1634da0ee198fcd95031c9e9564f166615c74ed\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Sleep - Spike API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint returns sleep data including different sleep stages that represent the various phases of sleep a person goes through during a sleep cycle. Each stage is characterized by distinct physiological and neurological patterns. The different sleep stages are: - awake: The state of being fully conscious and alert. - sleeping: A general term for being in a state of sleep. - out_of_bed: The state when a person is not in bed, possibly indicating a brief interruption in sleep. - light: A stage of sleep where the body begins to relax, and the heart rate slows down. It is easier to wake up from this stage. - deep: A restorative stage of sleep where the body repairs and regrows tissues, builds bone and muscle, and strengthens the immune system. - rem: Rapid Eye Movement sleep, a stage where dreaming occurs, and the brain is very active. It plays a role in memory consolidation and mood regulation. - awake_in_bed: The state of being awake while still in bed, often occurring before falling asleep or after waking up. - nap: A short sleep, typically taken during the day, that can help improve alertness and performance. - unknown: A stage that cannot be classified into any of the known categories, possibly due to insufficient data or anomalies in the sleep pattern. ### Sleep Attribution Date The sleep date attribution follows two simple rules to determine which date a sleep record should be associated with: 1. Provider Payload Date: The primary source of truth is the date provided in the payload from the sleep tracking provider. This date is used if available. 2. End Date Rule: If the provider payload date is not available, the sleep date is attributed to the day on which the sleep session ended. This straightforward approach ensures consistent date attribution for sleep records, regardless of when the sleep session started or ended. ### Main Sleep and Nap There are two types of sleep: main sleep and nap. There can be only one main sleep per day, which is the longest sleep period. A nap is a shorter sleep taken during the day and will have a sleep_duration_nap value. ### Sleep Durations Total sleep duration is the sum of the durations of light, deep, and REM sleep stages, while total time in bed also includes time spent awake. total sleep = light + deep + rem time in bed = total sleep + awake Note that nap time is not included in the total sleep time for a day. Sleep latency refers to the estimated time from when rest begins until the first occurrence of light or deep sleep. The accuracy of sleep stages and latency depends entirely on the provider’s sensors and calculations. Sleep duration values are reported in milliseconds.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trial-7e3c8695.mintlify.site/_mintlify/api/og/v2?division=API+Reference%3A+Querying+Data\u0026amp;title=Get+Sleep\u0026amp;description=This+endpoint+returns+sleep+data+including+different+sleep+stages+that+represent+the+various+phases+of+sleep+a+person+goes+through+during+a+sleep+cycle.+Each+st\u0026amp;theme=9dd1d8fbdb88ddbc752003e2\u0026amp;signature=5c2f7e06785b03a72817425de1634da0ee198fcd95031c9e9564f166615c74ed\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/trial-7e3c8695/Vf-2TqFNQYSDp2gp/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Spike API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0E2240\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.spikeapi.com/api-reference/query-sleep-by-id\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/query-sleep-by-id.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.spikeapi.com/#organization\",\"name\":\"Spike API\",\"url\":\"https://docs.spikeapi.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/trial-7e3c8695/C_wqhbtsn7F05yl4/images/logo.svg?fit=max\u0026auto=format\u0026n=C_wqhbtsn7F05yl4\u0026q=85\u0026s=435095cb4c721a082a83f3ad17fa156c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.spikeapi.com#website\",\"name\":\"Spike API\",\"url\":\"https://docs.spikeapi.com\",\"publisher\":{\"@id\":\"https://docs.spikeapi.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.spikeapi.com/api-reference/query-sleep-by-id#webpage\",\"url\":\"https://docs.spikeapi.com/api-reference/query-sleep-by-id\",\"name\":\"Get Sleep\",\"description\":\"This endpoint returns sleep data including different sleep stages that represent the various phases of sleep a person goes through during a sleep cycle. Each stage is characterized by distinct physiological and neurological patterns. The different sleep stages are: - awake: The state of being fully conscious and alert. - sleeping: A general term for being in a state of sleep. - out_of_bed: The state when a person is not in bed, possibly indicating a brief interruption in sleep. - light: A stage of sleep where the body begins to relax, and the heart rate slows down. It is easier to wake up from this stage. - deep: A restorative stage of sleep where the body repairs and regrows tissues, builds bone and muscle, and strengthens the immune system. - rem: Rapid Eye Movement sleep, a stage where dreaming occurs, and the brain is very active. It plays a role in memory consolidation and mood regulation. - awake_in_bed: The state of being awake while still in bed, often occurring before falling asleep or after waking up. - nap: A short sleep, typically taken during the day, that can help improve alertness and performance. - unknown: A stage that cannot be classified into any of the known categories, possibly due to insufficient data or anomalies in the sleep pattern. ### Sleep Attribution Date The sleep date attribution follows two simple rules to determine which date a sleep record should be associated with: 1. Provider Payload Date: The primary source of truth is the date provided in the payload from the sleep tracking provider. This date is used if available. 2. End Date Rule: If the provider payload date is not available, the sleep date is attributed to the day on which the sleep session ended. This straightforward approach ensures consistent date attribution for sleep records, regardless of when the sleep session started or ended. ### Main Sleep and Nap There are two types of sleep: main sleep and nap. There can be only one main sleep per day, which is the longest sleep period. A nap is a shorter sleep taken during the day and will have a sleep_duration_nap value. ### Sleep Durations Total sleep duration is the sum of the durations of light, deep, and REM sleep stages, while total time in bed also includes time spent awake. total sleep = light + deep + rem time in bed = total sleep + awake Note that nap time is not included in the total sleep time for a day. Sleep latency refers to the estimated time from when rest begins until the first occurrence of light or deep sleep. The accuracy of sleep stages and latency depends entirely on the provider’s sensors and calculations. Sleep duration values are reported in milliseconds.\",\"dateModified\":\"2026-01-27T08:49:54.575Z\",\"isPartOf\":{\"@id\":\"https://docs.spikeapi.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.spikeapi.com/api-reference/query-sleep-by-id#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.spikeapi.com/api-reference/query-sleep-by-id#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference: Querying Data\",\"item\":\"https://docs.spikeapi.com/api-reference/query-provider-records-list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Sleep\",\"item\":\"https://docs.spikeapi.com/api-reference/query-sleep-by-id\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.spikeapi.com/api-reference/query-sleep-by-id#apireference\",\"headline\":\"Get Sleep\",\"name\":\"Get Sleep\",\"description\":\"This endpoint returns sleep data including different sleep stages that represent the various phases of sleep a person goes through during a sleep cycle. Each stage is characterized by distinct physiological and neurological patterns. The different sleep stages are: - awake: The state of being fully conscious and alert. - sleeping: A general term for being in a state of sleep. - out_of_bed: The state when a person is not in bed, possibly indicating a brief interruption in sleep. - light: A stage of sleep where the body begins to relax, and the heart rate slows down. It is easier to wake up from this stage. - deep: A restorative stage of sleep where the body repairs and regrows tissues, builds bone and muscle, and strengthens the immune system. - rem: Rapid Eye Movement sleep, a stage where dreaming occurs, and the brain is very active. It plays a role in memory consolidation and mood regulation. - awake_in_bed: The state of being awake while still in bed, often occurring before falling asleep or after waking up. - nap: A short sleep, typically taken during the day, that can help improve alertness and performance. - unknown: A stage that cannot be classified into any of the known categories, possibly due to insufficient data or anomalies in the sleep pattern. ### Sleep Attribution Date The sleep date attribution follows two simple rules to determine which date a sleep record should be associated with: 1. Provider Payload Date: The primary source of truth is the date provided in the payload from the sleep tracking provider. This date is used if available. 2. End Date Rule: If the provider payload date is not available, the sleep date is attributed to the day on which the sleep session ended. This straightforward approach ensures consistent date attribution for sleep records, regardless of when the sleep session started or ended. ### Main Sleep and Nap There are two types of sleep: main sleep and nap. There can be only one main sleep per day, which is the longest sleep period. A nap is a shorter sleep taken during the day and will have a sleep_duration_nap value. ### Sleep Durations Total sleep duration is the sum of the durations of light, deep, and REM sleep stages, while total time in bed also includes time spent awake. total sleep = light + deep + rem time in bed = total sleep + awake Note that nap time is not included in the total sleep time for a day. Sleep latency refers to the estimated time from when rest begins until the first occurrence of light or deep sleep. The accuracy of sleep stages and latency depends entirely on the provider’s sensors and calculations. Sleep duration values are reported in milliseconds.\",\"url\":\"https://docs.spikeapi.com/api-reference/query-sleep-by-id\",\"mainEntityOfPage\":{\"@id\":\"https://docs.spikeapi.com/api-reference/query-sleep-by-id#webpage\"},\"dateModified\":\"2026-01-27T08:49:54.575Z\",\"publisher\":{\"@id\":\"https://docs.spikeapi.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.spikeapi.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Spike API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Spike API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/query-sleep-by-id.md","siteName":"Spike API","nav":{"global":null,"tabs":[{"tab":"Welcome","pages":[{"title":"Welcome","href":"/overview"}]},{"tab":"API Documentation","groups":[{"group":"Integrating with Spike API","pages":[{"title":"API Overview","icon":"circle-info","href":"/api-docs/overview"},{"title":"Configuration","icon":"gear","href":"/api-docs/configuration"},{"title":"Authentication","icon":"lock-keyhole","href":"/api-docs/authentication"},{"title":"Provider Integration","icon":"link","href":"/api-docs/provider_integration"},{"title":"Webhooks","icon":"bell","href":"/api-docs/webhooks"},{"title":"Querying Data","icon":"database","href":"/api-docs/query_options_comparison"},{"title":"Errors","icon":"triangle-exclamation","href":"/api-docs/errors"}]},{"group":"API Reference: User Management","pages":[{"openapi":"delete /providers/{provider_slug}/integration","title":"Delete Integration","href":"/api-reference/delete-integration"},{"openapi":"get /userinfo","title":"User Information","href":"/api-reference/user-info"},{"openapi":"get /userproperties","title":"User Properties","href":"/api-reference/user-properties"}]},{"group":"API Reference: Querying Data","pages":[{"openapi":"get /queries/provider_records","title":"List Provider Records","href":"/api-reference/query-provider-records-list"},{"openapi":"get /queries/provider_records/{record_id}","title":"Get Provider Record","href":"/api-reference/query-provider-record-by-id"},{"openapi":"get /queries/sleeps","title":"List Sleeps","description":"This endpoint returns sleep data including different sleep stages that represent the various phases of sleep a person goes through during a sleep cycle. Each stage is characterized by distinct physiological and neurological patterns.\n\nThe different sleep stages are:\n\n- **awake**: The state of being fully conscious and alert.\n- **sleeping**: A general term for being in a state of sleep.\n- **out_of_bed**: The state when a person is not in bed, possibly indicating a brief interruption in sleep.\n- **light**: A stage of sleep where the body begins to relax, and the heart rate slows down. It is easier to wake up from this stage.\n- **deep**: A restorative stage of sleep where the body repairs and regrows tissues, builds bone and muscle, and strengthens the immune system.\n- **rem**: Rapid Eye Movement sleep, a stage where dreaming occurs, and the brain is very active. It plays a role in memory consolidation and mood regulation.\n- **awake_in_bed**: The state of being awake while still in bed, often occurring before falling asleep or after waking up.\n- **nap**: A short sleep, typically taken during the day, that can help improve alertness and performance.\n- **unknown**: A stage that cannot be classified into any of the known categories, possibly due to insufficient data or anomalies in the sleep pattern.\n\n\n### Sleep Attribution Date\n\nThe sleep date attribution follows two simple rules to determine which date a sleep record should be associated with:\n\n1. **Provider Payload Date**: The primary source of truth is the date provided in the payload from the sleep tracking provider. This date is used if available.\n\n2. **End Date Rule**: If the provider payload date is not available, the sleep date is attributed to the day on which the sleep session ended.\n\nThis straightforward approach ensures consistent date attribution for sleep records, regardless of when the sleep session started or ended.\n\n\n### Main Sleep and Nap\n\nThere are two types of sleep: main sleep and nap. There can be only one main sleep per day, which is the longest sleep period. A nap is a shorter sleep taken during the day and will have a `sleep_duration_nap` value.\n\n\n### Sleep Durations\n\nTotal sleep duration is the sum of the durations of light, deep, and REM sleep stages, while total time in bed also includes time spent awake.\n```\ntotal sleep = light + deep + rem\ntime in bed = total sleep + awake\n```\nNote that nap time is not included in the total sleep time for a day.\nSleep latency refers to the estimated time from when rest begins until the first occurrence of light or deep sleep. The accuracy of sleep stages and latency depends entirely on the provider’s sensors and calculations.\nSleep duration values are reported in milliseconds.","href":"/api-reference/query-sleep-list"},{"openapi":"get /queries/sleeps/{sleep_id}","title":"Get Sleep","href":"/api-reference/query-sleep-by-id"},{"openapi":"get /queries/workouts","title":"List Workouts","description":"This endpoint returns a list of workouts for a user, including various types of physical activities and exercises. Workouts represent structured physical activities that can be tracked and analyzed for fitness and health purposes.\n\n### Workout Types\n\nWorkouts encompass a wide variety of physical activities. For a complete list of available workout types, see the [Activity Types](/api-docs/activity_matrix) documentation.\n\n### Workout Structure\n\nEach workout contains:\n- **Base Information**: Start time, end time, duration, and provider details\n- **Activity Details**: Workout type, name, tags, and unique identifier\n- **Metrics**: Distance, calories, heart rate, pace, and other relevant measurements\n- **Optional Components**: Sessions, laps, samples, route points, splits, and segments\n\n### Data Inclusion Options\n\nThe endpoint supports various inclusion parameters to customize the response:\n- **Sessions**: Include workout session breakdowns\n- **Laps**: Include lap-by-lap data for structured activities\n- **Samples**: Include detailed time-series data points\n- **Route Points**: Include GPS coordinates and route information\n- **Splits**: Include split times for timed activities\n- **Segments**: Include segment breakdowns for complex workouts\n\n### Activity Tags\n\nWorkouts are categorized using activity tags that help classify the type of activity. For a complete list of available activity tags, see the [Activity Types](/api-docs/activity_matrix) documentation.\n\nAll timestamps in both request and response are in the UTC timezone.\n","href":"/api-reference/query-workouts-list"},{"openapi":"get /queries/workouts/{workout_id}","title":"Get Workout","href":"/api-reference/query-workout-by-id"},{"openapi":"get /queries/statistics/interval","title":"Interval Statistics","href":"/api-reference/query-statistics-interval"},{"openapi":"get /queries/statistics/daily","title":"Daily Statistics","href":"/api-reference/query-statistics-daily"},{"openapi":"get /queries/timeseries","title":"Time Series","href":"/api-reference/query-timeseries"}]},{"group":"API Reference: Nutrition AI","pages":[{"openapi":"post /nutrition_records/image","title":"Analyze Nutrition Image","href":"/api-reference/analyze-nutrition-image"},{"openapi":"post /nutrition_records/ingredients/label","sidebarTitle":"Analyze Nutrition Label","title":"Analyze Nutrition Facts Label","href":"/api-reference/analyze-nutrition-label"},{"openapi":"post /nutrition_records/manual","title":"Upload Nutrition Record","href":"/api-reference/upload-nutrition-record"},{"openapi":"patch /nutrition_records/{nutrition_record_id}","title":"Modify Nutrition Record","href":"/api-reference/modify-nutrition-record"},{"openapi":"put /nutrition_records/{nutrition_record_id}","title":"Replace Nutrition Record","href":"/api-reference/replace-nutrition-record"},{"openapi":"get /nutrition_records","title":"List Nutrition Records","href":"/api-reference/list-nutrition-records"},{"openapi":"get /nutrition_records/{nutrition_record_id}","title":"Get Nutrition Record","href":"/api-reference/get-nutrition-record"},{"openapi":"delete /nutrition_records/{nutrition_record_id}","title":"Delete Nutrition Record","href":"/api-reference/delete-nutrition-record"}]},{"group":"API Reference: Lab Reports","pages":[{"openapi":"post /lab_reports","title":"Upload Lab Report","href":"/api-reference/upload-lab-report"},{"openapi":"get /lab_reports","title":"List Lab Reports","href":"/api-reference/list-lab-reports"},{"openapi":"get /lab_reports/{lab_report_id}","title":"Get Lab Report","href":"/api-reference/get-lab-report"}]},{"group":"Release Notes","pages":[{"title":"Release Notes","icon":"rocket","href":"/api-docs/releases"}]}]},{"tab":"SDK Documentation","menu":[{"item":"iOS","icon":"apple","pages":[{"title":"iOS","href":"/sdk-docs/ios/overview"}]},{"item":"Android","icon":"android","pages":[{"title":"Android","href":"/sdk-docs/android/overview"}]},{"item":"React Native","icon":"react","pages":[{"title":"React Native","href":"/sdk-docs/react-native/overview"}]},{"item":"Flutter","icon":"flutter","pages":[{"title":"Flutter","href":"/sdk-docs/flutter/overview"}]}],"pages":[{"title":"SDK Documentation","href":"/sdk-docs/ios/overview"}]},{"tab":"Nutrition AI","pages":[{"title":"Nutrition AI","href":"/nutrition-ai/overview"}]},{"tab":"Lab Reports","hidden":false,"pages":[{"title":"Lab Reports","href":"/lab-reports/overview"}]},{"tab":"Spike Care Benefits Checks","hidden":true,"pages":[{"title":"Spike Care Benefits Checks","href":"/api-spike-care/overview"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp-docs/overview"}]},{"tab":"Technical References","pages":[{"title":"Technical References","href":"/technical-references/application_configuration"}]}]},"basePath":"","title":"Get Sleep - Spike API","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CDiBsYGW.js","utils-KF9rPlmF.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C26urKTX.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BdjmJAC1.js","snippetPresets-3IpDBjt3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-D4x_2vvo.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BIWdc5Pa.js","shallow-LQqfiMNd.js","getApiPlaygroundDisplay-DryzlOZG.js","CodeSnippet-tcJujU4r.js","CodeSnippets-BHp0nVLL.js","Page-1CZdsdAn.js","getPastedJson-DU-1ayUv.js","icon-CZK2hPr4.js","MethodPill-DOaqmTFC.js","DuplicateIcon-B5-nUxxl.js","createIcon-CDP_U77G.js","DynamicMarkdown-GHvayGOn.js","SectionHeading-BYvpkmUD.js","axios-vUo_bRtp.js","Markdown-uxhlayGT.js","clsx-B35qUV0p.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BvrGG8gU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CAf0yVYe.js"]}