{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Junction","colors":{"primary":"#3D1836","light":"#D8DFE6","dark":"#3D1836"},"logo":{"light":"https://mintcdn.com/vital/eMrsGYbovvX8f4E9/logo/light.svg?fit=max\u0026auto=format\u0026n=eMrsGYbovvX8f4E9\u0026q=85\u0026s=ee117f69d6fb95bfe3444b1599cbf4ab","dark":"https://mintcdn.com/vital/eMrsGYbovvX8f4E9/logo/dark.svg?fit=max\u0026auto=format\u0026n=eMrsGYbovvX8f4E9\u0026q=85\u0026s=ebc0213ee8884949409e32422590de09"},"favicon":"https://mintcdn.com/vital/deJB3IUUpJEYmyW_/favicon.png?fit=max\u0026auto=format\u0026n=deJB3IUUpJEYmyW_\u0026q=85\u0026s=5a29581b030d504a93dc8ec7af55eab2","api":{"openapi":["swagger.json","org-management-api.json"],"mdx":{"auth":{"method":"key","name":"x-vital-api-key"},"server":["https://api.us.junction.com","https://api.sandbox.junction.com","https://api.eu.junction.com","https://api.sandbox.eu.junction.com"]}},"navbar":{"links":[{"href":"https://github.com/tryVital","label":"GitHub","type":"github"}],"primary":{"type":"button","label":"Get API Keys","href":"https://app.junction.com/"}},"footer":{"socials":{"website":"https://www.junction.com/","twitter":"https://twitter.com/tryVital","linkedin":"https://www.linkedin.com/company/tryvital"}},"integrations":{"posthog":{"apiKey":"phc_pjvYzFeBB6z4l6JByNiic3SoHt74M9Lqw1SVrR95OCd"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vital","hasAudioNarration":false,"actualSubdomain":"vital","customDomains":["docs.junction.com"],"gitSource":{"type":"github","owner":"tryvital","repo":"docs","deployBranch":"main","contentDirectory":"docs","mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae1f37d372d045ef83eda17","collectionId":"c20524a4-79f7-4f9d-b309-d1d370f3b99c","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae1f37d372d045ef83eda17"},"feedback":{"thumbs":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae1fc152f36e5e917dcdf0f","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"Devices","count":300},{"language":"default","tag":"API Reference","count":224},{"language":"default","tag":"Event Catalog","count":185},{"language":"default","tag":"Product Guides","count":134},{"language":"default","tag":"Lab Testing","count":132},{"language":"default","tag":"Vitals Timeseries","count":60},{"language":"default","tag":"Management API","count":45},{"language":"default","tag":"Activity Timeseries","count":43},{"language":"default","tag":"Junction Sense","count":34},{"language":"default","tag":"Body Timeseries","count":32}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":true,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@junction.com"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"editor-v7-file-tree","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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"6903bdd6f72d20ee0d510a59","deploymentId":"62e9e13d5c3fe5998f7f58cd","questionText":"How do I connect wearable devices?","status":"active","generatedBy":"manual","createdAt":"2025-10-30T19:34:46.230Z","updatedAt":"2025-10-30T19:34:46.230Z","__v":0},{"_id":"6903bdb5f72d20ee0d510516","deploymentId":"62e9e13d5c3fe5998f7f58cd","questionText":"Do each test kit get an individual result or we get a batch of results for multiple test kit orders?","status":"active","generatedBy":"manual","createdAt":"2025-10-30T19:34:13.487Z","updatedAt":"2025-10-30T19:34:13.487Z","__v":0},{"_id":"6903bd91f72d20ee0d50fd48","deploymentId":"62e9e13d5c3fe5998f7f58cd","questionText":"Does a Sandbox Order provide real or mock results?","status":"active","generatedBy":"manual","createdAt":"2025-10-30T19:33:37.419Z","updatedAt":"2025-10-30T19:33:37.419Z","__v":0}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/data/sleep/get-summary","slug":"/api-reference/data/sleep/get-summary","pageMetadata":{"title":"Summary","description":"Retrieve processed sleep summary data for a specific user, including duration, efficiency, and quality scores.","openapi":"GET /v2/summary/sleep/{user_id}","href":"/api-reference/data/sleep/get-summary"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve processed sleep summary data for a specific user, including duration, efficiency, and quality scores.\"\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};\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":{"title":"Summary","description":"Retrieve processed sleep summary data for a specific user, including duration, efficiency, and quality scores.","openapi":"GET /v2/summary/sleep/{user_id}","href":"/api-reference/data/sleep/get-summary"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,RequestExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);return _jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {{BASE_URL}}/v2/summary/sleep/{user_id}?start_date={{START_DATE}}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`end_date`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{{END_DATE}} \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Accept: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-vital-api-key: \u003cAPI_KEY>'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`13`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` junction `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Junction`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` junction.environment `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` JunctionEnvironment`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Junction(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` environment`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`JunctionEnvironment.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`SANDBOX`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.sleep.get(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\u003cuser_id>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` start_date`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2021-01-01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` end_date`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2021-01-02\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`TypeScript`,numberOfLines:`12`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`JunctionClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`JunctionEnvironment`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@junction-api/sdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` JunctionClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` environment:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` JunctionEnvironment`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Sandbox`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`sleep`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` userId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\u003cuser_id>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` startDate:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"2021-01-01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` endDate:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"2021-01-02\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Java`,numberOfLines:`16`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` com.junction.api.Junction;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` com.junction.api.core.Environment;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` com.junction.api.resources.sleep.requests.GetSleepRequest;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`Junction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Junction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`builder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`apiKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`environment`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Environment`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`SANDBOX`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`build`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`sleep`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\u003cuser_id>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` GetSleepRequest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`builder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`startDate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2021-01-01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`endDate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2021-01-02\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`build`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Go`,numberOfLines:`23`,language:`go`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`go`,children:_jsxs(_components.code,{language:`go`,numberOfLines:`23`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#CE9178`},children:`context`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` junction`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#CE9178`},children:`github.com/junction-api/junction-go`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#CE9178`},children:`github.com/junction-api/junction-go/client`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#CE9178`},children:`github.com/junction-api/junction-go/option`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`NewClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` option`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`WithApiKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` option`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`WithBaseURL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`junction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Environments`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Sandbox`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`endDate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"2021-01-02\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`err`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Sleep`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`context`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`TODO`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(), `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`junction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`GetSleepRequest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` UserId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cuser_id>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` StartDate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2021-01-01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` EndDate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`endDate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` err`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` !=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` nil`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` err`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`fmt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Printf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Received data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#9CDCFE`},children:`%s`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Summary","description":"Retrieve processed sleep summary data for a specific user, including duration, efficiency, and quality scores.","openapi":"GET /v2/summary/sleep/{user_id}","href":"/api-reference/data/sleep/get-summary"}}}},"mdxExtracts":{"tableOfContents":[],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> GET\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {{BASE_URL}}/v2/summary/sleep/{user_id}?start_date={{START_DATE}}\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">\u0026#x26;\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">end_date\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{{END_DATE}} \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Accept: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'x-vital-api-key: \u0026#x3C;API_KEY>'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"13\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">from\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> junction \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> Junction\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">from\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> junction.environment \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> JunctionEnvironment\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">client \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> Junction(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> api_key\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"YOUR_API_KEY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> environment\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">JunctionEnvironment.\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\">SANDBOX\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">data \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> client.sleep.get(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"\u0026#x3C;user_id>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> start_date\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2021-01-01\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> end_date\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2021-01-02\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"TypeScript","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"typescript\">\u003ccode language=\"typescript\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">JunctionClient\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">JunctionEnvironment\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> } \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">from\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"@junction-api/sdk\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> client\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> JunctionClient\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> apiKey:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"YOUR_API_KEY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> environment:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> JunctionEnvironment\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Sandbox\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> data\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> client\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">sleep\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">get\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> userId:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"\u0026#x3C;user_id>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> startDate:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"2021-01-01\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> endDate:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"2021-01-02\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Java","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"java\">\u003ccode language=\"java\" numberOfLines=\"16\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> com.junction.api.Junction;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> com.junction.api.core.Environment;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> com.junction.api.resources.sleep.requests.GetSleepRequest;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#4EC9B0\">Junction\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> client\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> Junction\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">builder\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">apiKey\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"YOUR_API_KEY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">environment\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Environment\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">SANDBOX\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">build\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">var\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> data\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> client\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">sleep\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">().\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">get\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"\u0026#x3C;user_id>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> GetSleepRequest\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">builder\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">startDate\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2021-01-01\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">endDate\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2021-01-02\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">build\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Go","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"go\">\u003ccode language=\"go\" numberOfLines=\"23\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> (\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#CE9178\">context\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> junction\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#CE9178\">github.com/junction-api/junction-go\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#CE9178\">github.com/junction-api/junction-go/client\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#CE9178\">github.com/junction-api/junction-go/option\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">c\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> :=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> client\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">NewClient\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> option\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">WithApiKey\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"YOUR_API_KEY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">),\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> option\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">WithBaseURL\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">junction\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Environments\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Sandbox\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">),\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">endDate\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> :=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"2021-01-02\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">err\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> :=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> c\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Sleep\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">Get\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">context\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">TODO\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(), \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">\u0026#x26;\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">junction\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">GetSleepRequest\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> UserId\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u0026#x3C;user_id>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> StartDate\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2021-01-01\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> EndDate\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">\u0026#x26;\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">endDate\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">})\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">if\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> err\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> !=\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> nil\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> return\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> err\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">fmt\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">Printf\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Received data \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#9CDCFE\">%s\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\n\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["summary"],"summary":"Get User Sleep","description":"Retrieve processed sleep summary data for a specific user, including duration, efficiency, and quality scores.","operationId":"get_user_sleep_v2_summary_sleep__user_id__get","parameters":["bd574183-67cb-4e48-80f9-c9a41a36704e","09fb97be-8b34-4975-b05d-241db0cf17f3","19d96853-d0ef-4065-8074-0ef50d3c46ee","94da4ac5-660d-4e8c-943b-eee047442e47"],"responses":{"200":"16969803-db4b-4189-bd69-7b06d71231fe","422":"22dc30eb-5dd9-43b8-a3b0-10bcedfcaafb"},"x-fern-sdk-group-name":"sleep","x-fern-sdk-method-name":"get","method":"get","type":"path","servers":["458133f0-78f2-4de8-8de0-dd3fe1f661b2","4361a4fa-b23f-40b1-8803-ec7c6abedf0e","9b9ec478-e8a7-46ae-9fab-ba34094de0fc","c5d90b26-fdd8-41e4-9792-4a2b3fd78b0e"],"security":["af87d5c6-ad3d-4e24-b361-6f6e31b6ace7"],"path":"/v2/summary/sleep/{user_id}","baseUrlOptions":["https://api.us.junction.com","https://api.eu.junction.com","https://api.sandbox.us.junction.com","https://api.sandbox.eu.junction.com"],"title":"Get User Sleep","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"4","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#DCDCAA"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" --request"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" GET"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" --url"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" {{BASE_URL}}/v2/summary/sleep/{user_id}?start_date={{START_DATE}}"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"\u0026"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"end_date"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{{END_DATE}} \\"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#DCDCAA"},"children":" --header"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'Accept: application/json'"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" --header"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'x-vital-api-key: \u003cAPI_KEY>'"}}]}},"\n"]}}}},"filename":"cURL"},{"dropdown":false,"language":"python","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"python","children":{"type":"code","key":null,"ref":null,"props":{"language":"python","numberOfLines":"13","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":"from"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" junction "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":"import"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" Junction"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":"from"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" junction.environment "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":"import"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" JunctionEnvironment"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"client "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" Junction("}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#9CDCFE"},"children":" api_key"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"YOUR_API_KEY\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#9CDCFE"},"children":" environment"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"JunctionEnvironment."}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#D4D4D4"},"children":"SANDBOX"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":")"}}}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"data "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" client.sleep.get("}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"\u003cuser_id>\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#9CDCFE"},"children":" start_date"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2021-01-01\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#9CDCFE"},"children":" end_date"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2021-01-02\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":")"}}}},"\n"]}}}},"filename":"Python"},{"dropdown":false,"language":"typescript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"typescript","children":{"type":"code","key":null,"ref":null,"props":{"language":"typescript","numberOfLines":"12","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" { "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"JunctionClient"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":", "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"JunctionEnvironment"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" } "}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":"from"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"@junction-api/sdk\""}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":";"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#4FC1FF"},"children":" client"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":" new"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":" JunctionClient"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"({"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" apiKey:"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"YOUR_API_KEY\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" environment:"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" JunctionEnvironment"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"Sandbox"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"});"}}}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#4FC1FF"},"children":" data"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":" await"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" client"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"sleep"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"get"}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"({"}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" userId:"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"\u003cuser_id>\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" startDate:"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"2021-01-01\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" endDate:"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"2021-01-02\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"});"}}}},"\n"]}}}},"filename":"TypeScript"},{"dropdown":false,"language":"java","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"java","children":{"type":"code","key":null,"ref":null,"props":{"language":"java","numberOfLines":"16","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" com.junction.api.Junction;"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" com.junction.api.core.Environment;"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" com.junction.api.resources.sleep.requests.GetSleepRequest;"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#4EC9B0"},"children":"Junction"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" client"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" Junction"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"builder"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"()"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" ."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"apiKey"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"("}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"YOUR_API_KEY\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":")"}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" ."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"environment"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"("}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"Environment"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"SANDBOX"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":")"}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" ."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"build"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"();"}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"var"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" data"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" client"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"sleep"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"()."}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"get"}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"("}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"\u003cuser_id>\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" GetSleepRequest"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"builder"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"()"}}]}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" ."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"startDate"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"("}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2021-01-01\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":")"}}]}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" ."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"endDate"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"("}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2021-01-02\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":")"}}]}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" ."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"build"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"()"}}]}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":");"}}}},"\n"]}}}},"filename":"Java"},{"dropdown":false,"language":"go","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"go","children":{"type":"code","key":null,"ref":null,"props":{"language":"go","numberOfLines":"23","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" ("}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#CE9178"},"children":"context"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\""}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" junction"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#CE9178"},"children":"github.com/junction-api/junction-go"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\""}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#CE9178"},"children":"github.com/junction-api/junction-go/client"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\""}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#CE9178"},"children":"github.com/junction-api/junction-go/option"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\""}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":")"}}}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"c"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":" :="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" client"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"NewClient"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"("}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" option"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"WithApiKey"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"("}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"YOUR_API_KEY\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"),"}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" option"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"WithBaseURL"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"("}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"junction"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"Environments"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"Sandbox"}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"),"}}]}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":")"}}}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"endDate"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":" :="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"2021-01-02\""}}]}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"response"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":", "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"err"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":" :="}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" c"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"Sleep"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"Get"}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"("}},{"type":"span","key":"10","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"context"}},{"type":"span","key":"11","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"12","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"TODO"}},{"type":"span","key":"13","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"(), "}},{"type":"span","key":"14","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"\u0026"}},{"type":"span","key":"15","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#4EC9B0"},"children":"junction"}},{"type":"span","key":"16","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"17","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#4EC9B0"},"children":"GetSleepRequest"}},{"type":"span","key":"18","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}]}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" UserId"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"\u003cuser_id>\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" StartDate"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2021-01-01\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"34","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" EndDate"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"\u0026"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"endDate"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"36","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"})"}}}},"\n",{"type":"span","key":"38","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":"if"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" err"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":" !="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" nil"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}]}},"\n",{"type":"span","key":"40","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":" return"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" err"}}]}},"\n",{"type":"span","key":"42","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n",{"type":"span","key":"44","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"fmt"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"Printf"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"("}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Received data "}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#9CDCFE"},"children":"%s"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":"\\n"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\""}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":", "}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"response"}},{"type":"span","key":"10","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":")"}}]}},"\n"]}}}},"filename":"Go"}],"requestExampleType":"mdx","responseExampleType":"generated"},"dependencies":{"parameters":{"bd574183-67cb-4e48-80f9-c9a41a36704e":{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User id returned by vital create user id request. This id should be stored in your database against the user and used for all interactions with the vital api.","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}},"09fb97be-8b34-4975-b05d-241db0cf17f3":{"name":"provider","in":"query","required":false,"schema":{"type":"string","description":"Provider oura/strava etc","default":"","title":"Provider","isRequired":false,"uniqueKey":"","typeLabel":"string"},"description":"Provider oura/strava etc"},"19d96853-d0ef-4065-8074-0ef50d3c46ee":{"name":"start_date","in":"query","required":true,"schema":{"type":"string","description":"Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00","title":"Start Date","isRequired":true,"uniqueKey":"","typeLabel":"string"},"description":"Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00"},"94da4ac5-660d-4e8c-943b-eee047442e47":{"name":"end_date","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"End Date","description":"Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"End Date","description":"Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59"}},"responses":{"16969803-db4b-4189-bd69-7b06d71231fe":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"sleep":{"items":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"sleep.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"user_id":{"type":"string","format":"uuid","title":"User Id","description":"User id returned by vital create user request. This id should be stored in your database against the user and used for all interactions with the vital api.","isRequired":true,"uniqueKey":"sleep.items.[INDEX].user_id","typeLabel":"string\u003cuuid>"},"date":{"type":"string","format":"date-time","title":"Date","description":"Date of the specified record, formatted as ISO8601 datetime string in UTC 00:00. Deprecated in favour of calendar_date.","deprecated":true,"isRequired":true,"uniqueKey":"sleep.items.[INDEX].date","typeLabel":"string\u003cdate-time>"},"calendar_date":{"type":"string","format":"date","title":"Calendar Date","description":"Date of the sleep summary in the YYYY-mm-dd format. This generally matches the sleep end date.","isRequired":true,"uniqueKey":"sleep.items.[INDEX].calendar_date","typeLabel":"string\u003cdate>"},"bedtime_start":{"type":"string","format":"date-time","title":"Bedtime Start","description":"UTC Time when the sleep period started","isRequired":true,"uniqueKey":"sleep.items.[INDEX].bedtime_start","typeLabel":"string\u003cdate-time>"},"bedtime_stop":{"type":"string","format":"date-time","title":"Bedtime Stop","description":"UTC Time when the sleep period ended","isRequired":true,"uniqueKey":"sleep.items.[INDEX].bedtime_stop","typeLabel":"string\u003cdate-time>"},"type":{"type":"string","enum":["long_sleep","short_sleep","acknowledged_nap","unknown"],"title":"SleepType","description":"\n`long_sleep`: >=3 hours of sleep;\n`short_sleep`: \u003c3 hours of sleep;\n`acknowledged_nap`: User-acknowledged naps, typically under 3 hours of sleep;\n`unknown`: The sleep session recording is ongoing.\n ℹ️ This enum is non-exhaustive.","isRequired":true,"uniqueKey":"sleep.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"duration":{"type":"integer","title":"Duration","description":"Total duration of the sleep period (sleep.duration = sleep.bedtime_end - sleep.bedtime_start)::seconds","isRequired":true,"uniqueKey":"sleep.items.[INDEX].duration","typeLabel":"integer"},"total":{"type":"integer","title":"Total","description":"Total amount of sleep registered during the sleep period (sleep.total = sleep.rem + sleep.light + sleep.deep)::seconds","deprecated":true,"isRequired":true,"uniqueKey":"sleep.items.[INDEX].total","typeLabel":"integer"},"awake":{"type":"integer","title":"Awake","description":"Total amount of awake time registered during the sleep period::seconds","deprecated":true,"isRequired":true,"uniqueKey":"sleep.items.[INDEX].awake","typeLabel":"integer"},"light":{"type":"integer","title":"Light","description":"Total amount of light sleep registered during the sleep period::seconds","deprecated":true,"isRequired":true,"uniqueKey":"sleep.items.[INDEX].light","typeLabel":"integer"},"rem":{"type":"integer","title":"Rem","description":"Total amount of REM sleep registered during the sleep period, minutes::seconds","deprecated":true,"isRequired":true,"uniqueKey":"sleep.items.[INDEX].rem","typeLabel":"integer"},"deep":{"type":"integer","title":"Deep","description":"Total amount of deep (N3) sleep registered during the sleep period::seconds","deprecated":true,"isRequired":true,"uniqueKey":"sleep.items.[INDEX].deep","typeLabel":"integer"},"source":{"properties":{"provider":{"type":"string","title":"Provider","description":"Provider slug. e.g., `oura`, `fitbit`, `garmin`.","isRequired":true,"uniqueKey":"sleep.items.[INDEX].source.provider","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"The type of the data source (app or device) by which the summary or the timeseries data were recorded. This defaults to `unknown` when Vital cannot extract or infer that information","default":"unknown","uniqueKey":"sleep.items.[INDEX].source.type","typeLabel":"string"},"app_id":{"oneOf":[{"type":"string","title":"App Id","description":"The identifier of the app which recorded this summary. This is only applicable to multi-source providers like Apple Health and Android Health Connect.","uniqueKey":"sleep.items.[INDEX].source.app_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"App Id","description":"The identifier of the app which recorded this summary. This is only applicable to multi-source providers like Apple Health and Android Health Connect.","uniqueKey":"sleep.items.[INDEX].source.app_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].source.app_id","typeLabel":"string | null"},"device_id":{"oneOf":[{"type":"string","title":"Device Id","description":"The identifier of the device which recorded this summary.","format":"uuid","uniqueKey":"sleep.items.[INDEX].source.device_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Device Id","description":"The identifier of the device which recorded this summary.","uniqueKey":"sleep.items.[INDEX].source.device_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].source.device_id","typeLabel":"string\u003cuuid> | null"},"sport":{"oneOf":[{"type":"string","title":"Sport","description":"\nFor workout stream timeseries, this is the standard sport slug of the workout with which the timeseries data are associated.\n\nFor the `distance` timeseries, this is `wheelchair_pushing` if the user is a wheelchair user, or `null` otherwise.\n\nFor all summary types and non-workout timeseries, this is always `null`.\n","uniqueKey":"sleep.items.[INDEX].source.sport.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sport","description":"\nFor workout stream timeseries, this is the standard sport slug of the workout with which the timeseries data are associated.\n\nFor the `distance` timeseries, this is `wheelchair_pushing` if the user is a wheelchair user, or `null` otherwise.\n\nFor all summary types and non-workout timeseries, this is always `null`.\n","uniqueKey":"sleep.items.[INDEX].source.sport.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].source.sport","typeLabel":"string | null"},"workout_id":{"oneOf":[{"type":"string","title":"Workout Id","description":"\nFor workout stream timeseries, this is the workout ID with which the timeseries data are associated.\n\nFor all other types, this is always `null`.\n","format":"uuid","uniqueKey":"sleep.items.[INDEX].source.workout_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Workout Id","description":"\nFor workout stream timeseries, this is the workout ID with which the timeseries data are associated.\n\nFor all other types, this is always `null`.\n","uniqueKey":"sleep.items.[INDEX].source.workout_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].source.workout_id","typeLabel":"string\u003cuuid> | null"}},"type":"object","required":["provider"],"title":"Source","description":"Source the data has come from.","example":{"provider":"oura","type":"ring"},"isRequired":true,"uniqueKey":"sleep.items.[INDEX].source","typeLabel":"Source · object"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"sleep.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"sleep.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"},"timezone_offset":{"oneOf":[{"type":"integer","title":"Timezone Offset","description":"Timezone offset from UTC as seconds. For example, EEST (Eastern European Summer Time, +3h) is 10800. PST (Pacific Standard Time, -8h) is -28800::seconds","uniqueKey":"sleep.items.[INDEX].timezone_offset.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Timezone Offset","description":"Timezone offset from UTC as seconds. For example, EEST (Eastern European Summer Time, +3h) is 10800. PST (Pacific Standard Time, -8h) is -28800::seconds","uniqueKey":"sleep.items.[INDEX].timezone_offset.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].timezone_offset","typeLabel":"integer | null"},"stage_asleep_second":{"oneOf":[{"type":"integer","title":"Stage Asleep Second","uniqueKey":"sleep.items.[INDEX].stage_asleep_second.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Stage Asleep Second","uniqueKey":"sleep.items.[INDEX].stage_asleep_second.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].stage_asleep_second","typeLabel":"integer | null"},"stage_awake_second":{"oneOf":[{"type":"integer","title":"Stage Awake Second","uniqueKey":"sleep.items.[INDEX].stage_awake_second.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Stage Awake Second","uniqueKey":"sleep.items.[INDEX].stage_awake_second.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].stage_awake_second","typeLabel":"integer | null"},"stage_light_second":{"oneOf":[{"type":"integer","title":"Stage Light Second","uniqueKey":"sleep.items.[INDEX].stage_light_second.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Stage Light Second","uniqueKey":"sleep.items.[INDEX].stage_light_second.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].stage_light_second","typeLabel":"integer | null"},"stage_rem_second":{"oneOf":[{"type":"integer","title":"Stage Rem Second","uniqueKey":"sleep.items.[INDEX].stage_rem_second.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Stage Rem Second","uniqueKey":"sleep.items.[INDEX].stage_rem_second.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].stage_rem_second","typeLabel":"integer | null"},"stage_deep_second":{"oneOf":[{"type":"integer","title":"Stage Deep Second","uniqueKey":"sleep.items.[INDEX].stage_deep_second.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Stage Deep Second","uniqueKey":"sleep.items.[INDEX].stage_deep_second.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].stage_deep_second","typeLabel":"integer | null"},"score":{"oneOf":[{"type":"integer","title":"Score","description":"A value between 1 and 100 representing how well the user slept. Currently only available for Withings, Oura, Whoop and Garmin::scalar","uniqueKey":"sleep.items.[INDEX].score.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Score","description":"A value between 1 and 100 representing how well the user slept. Currently only available for Withings, Oura, Whoop and Garmin::scalar","uniqueKey":"sleep.items.[INDEX].score.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].score","typeLabel":"integer | null"},"recovery_readiness_score":{"oneOf":[{"type":"integer","title":"Recovery Readiness Score","description":"A value between 0 and 100 representing the provider's recovery/readiness proxy. Currently sourced from Oura readiness score, Whoop recovery score, and Ultrahuman recovery::scalar","uniqueKey":"sleep.items.[INDEX].recovery_readiness_score.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Recovery Readiness Score","description":"A value between 0 and 100 representing the provider's recovery/readiness proxy. Currently sourced from Oura readiness score, Whoop recovery score, and Ultrahuman recovery::scalar","uniqueKey":"sleep.items.[INDEX].recovery_readiness_score.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].recovery_readiness_score","typeLabel":"integer | null"},"hr_lowest":{"oneOf":[{"type":"integer","title":"Hr Lowest","description":"The lowest heart rate (5 minutes sliding average) registered during the sleep period::beats per minute","uniqueKey":"sleep.items.[INDEX].hr_lowest.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Hr Lowest","description":"The lowest heart rate (5 minutes sliding average) registered during the sleep period::beats per minute","uniqueKey":"sleep.items.[INDEX].hr_lowest.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].hr_lowest","typeLabel":"integer | null"},"hr_average":{"oneOf":[{"type":"integer","title":"Hr Average","description":"The average heart rate registered during the sleep period::beats per minute","uniqueKey":"sleep.items.[INDEX].hr_average.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Hr Average","description":"The average heart rate registered during the sleep period::beats per minute","uniqueKey":"sleep.items.[INDEX].hr_average.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].hr_average","typeLabel":"integer | null"},"hr_resting":{"oneOf":[{"type":"integer","title":"Hr Resting","description":"Resting heart rate recorded during a sleep session::bpm","uniqueKey":"sleep.items.[INDEX].hr_resting.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Hr Resting","description":"Resting heart rate recorded during a sleep session::bpm","uniqueKey":"sleep.items.[INDEX].hr_resting.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].hr_resting","typeLabel":"integer | null"},"efficiency":{"oneOf":[{"type":"number","title":"Efficiency","description":"Sleep efficiency is the percentage of the sleep period spent asleep (100% * sleep.total / sleep.duration)::perc","uniqueKey":"sleep.items.[INDEX].efficiency.oneOf.0","typeLabel":"number"},{"type":"null","title":"Efficiency","description":"Sleep efficiency is the percentage of the sleep period spent asleep (100% * sleep.total / sleep.duration)::perc","uniqueKey":"sleep.items.[INDEX].efficiency.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].efficiency","typeLabel":"number | null"},"latency":{"oneOf":[{"type":"integer","title":"Latency","description":"Detected latency from bedtime_start to the beginning of the first five minutes of persistent sleep::seconds","uniqueKey":"sleep.items.[INDEX].latency.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Latency","description":"Detected latency from bedtime_start to the beginning of the first five minutes of persistent sleep::seconds","uniqueKey":"sleep.items.[INDEX].latency.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].latency","typeLabel":"integer | null"},"temperature_delta":{"oneOf":[{"type":"number","title":"Temperature Delta","description":"Skin temperature deviation from the long-term temperature average::celcius","uniqueKey":"sleep.items.[INDEX].temperature_delta.oneOf.0","typeLabel":"number"},{"type":"null","title":"Temperature Delta","description":"Skin temperature deviation from the long-term temperature average::celcius","uniqueKey":"sleep.items.[INDEX].temperature_delta.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].temperature_delta","typeLabel":"number | null"},"skin_temperature":{"oneOf":[{"type":"number","title":"Skin Temperature","description":"The skin temperature::celcius","uniqueKey":"sleep.items.[INDEX].skin_temperature.oneOf.0","typeLabel":"number"},{"type":"null","title":"Skin Temperature","description":"The skin temperature::celcius","uniqueKey":"sleep.items.[INDEX].skin_temperature.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].skin_temperature","typeLabel":"number | null"},"hr_dip":{"oneOf":[{"type":"number","title":"Hr Dip","description":"Sleeping Heart Rate Dip is the percentage difference between your average waking heart rate and your average sleeping heart rate. In health studies, a greater \"dip\" is typically seen as a positive indicator of overall health. Currently only available for Garmin::perc","uniqueKey":"sleep.items.[INDEX].hr_dip.oneOf.0","typeLabel":"number"},{"type":"null","title":"Hr Dip","description":"Sleeping Heart Rate Dip is the percentage difference between your average waking heart rate and your average sleeping heart rate. In health studies, a greater \"dip\" is typically seen as a positive indicator of overall health. Currently only available for Garmin::perc","uniqueKey":"sleep.items.[INDEX].hr_dip.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].hr_dip","typeLabel":"number | null"},"state":{"oneOf":[{"type":"string","title":"SleepSummaryState","description":"Some providers can provide updates to the sleep summary hours after the sleep period has ended. This field indicates the state of the sleep summary. For example, TENTATIVE means the summary is an intial prediction from the provider and can be subject to change. Currently only available for Garmin and EightSleep::str ℹ️ This enum is non-exhaustive.","enum":["tentative","confirmed"],"uniqueKey":"sleep.items.[INDEX].state.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Some providers can provide updates to the sleep summary hours after the sleep period has ended. This field indicates the state of the sleep summary. For example, TENTATIVE means the summary is an intial prediction from the provider and can be subject to change. Currently only available for Garmin and EightSleep::str ℹ️ This enum is non-exhaustive.","uniqueKey":"sleep.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].state","typeLabel":"enum\u003cstring> | null"},"average_hrv":{"oneOf":[{"type":"number","title":"Average Hrv","description":"The average heart rate variability registered during the sleep period::rmssd","uniqueKey":"sleep.items.[INDEX].average_hrv.oneOf.0","typeLabel":"number"},{"type":"null","title":"Average Hrv","description":"The average heart rate variability registered during the sleep period::rmssd","uniqueKey":"sleep.items.[INDEX].average_hrv.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].average_hrv","typeLabel":"number | null"},"respiratory_rate":{"oneOf":[{"type":"number","title":"Respiratory Rate","description":"Average respiratory rate::breaths per minute","uniqueKey":"sleep.items.[INDEX].respiratory_rate.oneOf.0","typeLabel":"number"},{"type":"null","title":"Respiratory Rate","description":"Average respiratory rate::breaths per minute","uniqueKey":"sleep.items.[INDEX].respiratory_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].respiratory_rate","typeLabel":"number | null"},"sleep_stream":{"oneOf":[{"type":"object","title":"Sleep stream data","deprecated":true,"example":{"heartrate":[{"id":0,"timestamp":"2026-10-28T12:49:10.200271+00:00","unit":"bpm","value":71},{"id":1,"timestamp":"2026-10-28T12:49:40.200300+00:00","unit":"bpm","value":178},{"id":2,"timestamp":"2026-10-28T12:50:10.200328+00:00","unit":"bpm","value":2},{"id":3,"timestamp":"2026-10-28T12:50:40.200345+00:00","unit":"bpm","value":18},{"id":4,"timestamp":"2026-10-28T12:51:10.200362+00:00","unit":"bpm","value":88}],"hrv":[{"id":0,"timestamp":"2026-10-28T12:49:10.199969+00:00","unit":"rmssd","value":99},{"id":1,"timestamp":"2026-10-28T12:49:40.200130+00:00","unit":"rmssd","value":65},{"id":2,"timestamp":"2026-10-28T12:50:10.200167+00:00","unit":"rmssd","value":57},{"id":3,"timestamp":"2026-10-28T12:50:40.200208+00:00","unit":"rmssd","value":75},{"id":4,"timestamp":"2026-10-28T12:51:10.200250+00:00","unit":"rmssd","value":4}],"respiratory_rate":[{"id":0,"timestamp":"2026-10-28T12:49:10.200379+00:00","unit":"bpm","value":30},{"id":1,"timestamp":"2026-10-28T12:49:40.200395+00:00","unit":"bpm","value":21},{"id":2,"timestamp":"2026-10-28T12:50:10.200411+00:00","unit":"bpm","value":21},{"id":3,"timestamp":"2026-10-28T12:50:40.200437+00:00","unit":"bpm","value":30},{"id":4,"timestamp":"2026-10-28T12:51:10.200452+00:00","unit":"bpm","value":23}]},"properties":{"hrv":{"oneOf":[{"type":"array","items":{"properties":{"unit":{"type":"string","title":"Unit","description":"HRV method: sdnn for Apple HealthKit, rmssd for other providers. Values are measured in milliseconds.","isRequired":true,"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.hrv.oneOf.0.items.[INDEX].unit","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"The timestamp of the measurement.","isRequired":true,"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.hrv.oneOf.0.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time>"},"value":{"type":"number","title":"Value","description":"Heart rate variability in milliseconds.","isRequired":true,"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.hrv.oneOf.0.items.[INDEX].value","typeLabel":"number"},"id":{"oneOf":[{"type":"integer","title":"Id","description":"Deprecated","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.hrv.oneOf.0.items.[INDEX].id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Id","description":"Deprecated","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.hrv.oneOf.0.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.hrv.oneOf.0.items.[INDEX].id","typeLabel":"integer | null"},"timezone_offset":{"oneOf":[{"type":"integer","title":"Timezone Offset","description":"Time zone UTC offset in seconds. Positive offset indicates east of UTC; negative offset indicates west of UTC; and null indicates the time zone information is unavailable at source.","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.hrv.oneOf.0.items.[INDEX].timezone_offset.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Timezone Offset","description":"Time zone UTC offset in seconds. Positive offset indicates east of UTC; negative offset indicates west of UTC; and null indicates the time zone information is unavailable at source.","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.hrv.oneOf.0.items.[INDEX].timezone_offset.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.hrv.oneOf.0.items.[INDEX].timezone_offset","typeLabel":"integer | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"Type is always null for this resource.","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.hrv.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"Type is always null for this resource.","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.hrv.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.hrv.oneOf.0.items.[INDEX].type","typeLabel":"string | null"}},"type":"object","required":["unit","timestamp","value"],"title":"ClientFacingHRVTimeseries","example":{"timestamp":"2023-02-13T14:30:52+00:00","unit":"rmssd","value":48},"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.hrv.oneOf.0.items.[INDEX]","typeLabel":"ClientFacingHRVTimeseries · object"},"title":"Hrv","default":[],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.hrv.oneOf.0","typeLabel":"ClientFacingHRVTimeseries · object[]"},{"type":"null","title":"Hrv","default":[],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.hrv.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.hrv","typeLabel":"ClientFacingHRVTimeseries · object[] | null"},"heartrate":{"oneOf":[{"type":"array","items":{"properties":{"unit":{"type":"string","title":"Unit","description":"Measured in bpm.","isRequired":true,"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.heartrate.oneOf.0.items.[INDEX].unit","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"The timestamp of the measurement.","isRequired":true,"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.heartrate.oneOf.0.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time>"},"value":{"type":"number","title":"Value","description":"Heart rate in bpm","isRequired":true,"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.heartrate.oneOf.0.items.[INDEX].value","typeLabel":"number"},"id":{"oneOf":[{"type":"integer","title":"Id","description":"Deprecated","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.heartrate.oneOf.0.items.[INDEX].id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Id","description":"Deprecated","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.heartrate.oneOf.0.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.heartrate.oneOf.0.items.[INDEX].id","typeLabel":"integer | null"},"timezone_offset":{"oneOf":[{"type":"integer","title":"Timezone Offset","description":"Time zone UTC offset in seconds. Positive offset indicates east of UTC; negative offset indicates west of UTC; and null indicates the time zone information is unavailable at source.","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.heartrate.oneOf.0.items.[INDEX].timezone_offset.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Timezone Offset","description":"Time zone UTC offset in seconds. Positive offset indicates east of UTC; negative offset indicates west of UTC; and null indicates the time zone information is unavailable at source.","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.heartrate.oneOf.0.items.[INDEX].timezone_offset.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.heartrate.oneOf.0.items.[INDEX].timezone_offset","typeLabel":"integer | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"Type is always null for this resource.","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.heartrate.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"Type is always null for this resource.","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.heartrate.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.heartrate.oneOf.0.items.[INDEX].type","typeLabel":"string | null"}},"type":"object","required":["unit","timestamp","value"],"title":"ClientFacingHeartRateTimeseries","example":{"timestamp":"2023-02-13T14:30:52+00:00","unit":"bpm","value":70},"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.heartrate.oneOf.0.items.[INDEX]","typeLabel":"ClientFacingHeartRateTimeseries · object"},"title":"Heartrate","default":[],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.heartrate.oneOf.0","typeLabel":"ClientFacingHeartRateTimeseries · object[]"},{"type":"null","title":"Heartrate","default":[],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.heartrate.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.heartrate","typeLabel":"ClientFacingHeartRateTimeseries · object[] | null"},"respiratory_rate":{"oneOf":[{"type":"array","items":{"properties":{"unit":{"type":"string","title":"Unit","description":"Measured in bpm.","isRequired":true,"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.respiratory_rate.oneOf.0.items.[INDEX].unit","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"The timestamp of the measurement.","isRequired":true,"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.respiratory_rate.oneOf.0.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time>"},"value":{"type":"number","title":"Value","description":"Average respiratory rate::breaths per minute","isRequired":true,"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.respiratory_rate.oneOf.0.items.[INDEX].value","typeLabel":"number"},"id":{"oneOf":[{"type":"integer","title":"Id","description":"Deprecated","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.respiratory_rate.oneOf.0.items.[INDEX].id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Id","description":"Deprecated","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.respiratory_rate.oneOf.0.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.respiratory_rate.oneOf.0.items.[INDEX].id","typeLabel":"integer | null"},"timezone_offset":{"oneOf":[{"type":"integer","title":"Timezone Offset","description":"Time zone UTC offset in seconds. Positive offset indicates east of UTC; negative offset indicates west of UTC; and null indicates the time zone information is unavailable at source.","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.respiratory_rate.oneOf.0.items.[INDEX].timezone_offset.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Timezone Offset","description":"Time zone UTC offset in seconds. Positive offset indicates east of UTC; negative offset indicates west of UTC; and null indicates the time zone information is unavailable at source.","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.respiratory_rate.oneOf.0.items.[INDEX].timezone_offset.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.respiratory_rate.oneOf.0.items.[INDEX].timezone_offset","typeLabel":"integer | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"Type is always null for this resource.","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.respiratory_rate.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"Type is always null for this resource.","uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.respiratory_rate.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.respiratory_rate.oneOf.0.items.[INDEX].type","typeLabel":"string | null"}},"type":"object","required":["unit","timestamp","value"],"title":"ClientFacingRespiratoryRateTimeseries","example":{"timestamp":"2023-02-13T14:30:52+00:00","unit":"bpm","value":15.5},"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.respiratory_rate.oneOf.0.items.[INDEX]","typeLabel":"ClientFacingRespiratoryRateTimeseries · object"},"title":"Respiratory Rate","default":[],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.respiratory_rate.oneOf.0","typeLabel":"ClientFacingRespiratoryRateTimeseries · object[]"},{"type":"null","title":"Respiratory Rate","default":[],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.respiratory_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0.respiratory_rate","typeLabel":"ClientFacingRespiratoryRateTimeseries · object[] | null"}},"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.0","typeLabel":"Sleep stream data · object"},{"type":"null","deprecated":true,"uniqueKey":"sleep.items.[INDEX].sleep_stream.oneOf.1","typeLabel":"null"}],"uniqueKey":"sleep.items.[INDEX].sleep_stream","typeLabel":"Sleep stream data · object | null"}},"type":"object","required":["id","user_id","date","calendar_date","bedtime_start","bedtime_stop","type","duration","total","awake","light","rem","deep","source","created_at","updated_at"],"title":"Sleep Data","example":{"average_hrv":78,"awake":2400,"bedtime_start":"2023-02-27T12:31:24+00:00","bedtime_stop":"2023-02-27T12:31:24+00:00","calendar_date":"2023-02-27","created_at":"2023-02-27T20:31:24+00:00","date":"2023-02-27T12:31:24+00:00","deep":2400,"duration":28800,"efficiency":0.97,"hr_average":50,"hr_lowest":43,"id":"e2e0eb04-6641-4858-9de5-649efb41b346","latency":1000,"light":2400,"recovery_readiness_score":82,"rem":2400,"respiratory_rate":14,"skin_temperature":36.5,"source":{"device_id":"550e8400-e29b-41d4-a716-446655440000","provider":"oura","type":"unknown"},"temperature_delta":-0.2,"timezone_offset":2400,"total":28800,"updated_at":"2023-02-28T01:22:38+00:00","user_id":"1449752e-0d8a-40e0-9206-91ab099b2537"},"uniqueKey":"sleep.items.[INDEX]","typeLabel":"Sleep Data · object"},"type":"array","title":"Sleep","isRequired":true,"uniqueKey":"sleep","typeLabel":"Sleep Data · object[]"}},"type":"object","required":["sleep"],"title":"Sleep Data","example":{"sleep":[{"average_hrv":78,"awake":2400,"bedtime_start":"2023-02-27T12:31:24+00:00","bedtime_stop":"2023-02-27T12:31:24+00:00","calendar_date":"2023-02-27","created_at":"2023-02-27T20:31:24+00:00","date":"2023-02-27T12:31:24+00:00","deep":2400,"duration":28800,"efficiency":0.97,"hr_average":50,"hr_lowest":43,"id":"e2e0eb04-6641-4858-9de5-649efb41b346","latency":1000,"light":2400,"recovery_readiness_score":82,"rem":2400,"respiratory_rate":14,"skin_temperature":36.5,"source":{"device_id":"550e8400-e29b-41d4-a716-446655440000","provider":"oura","type":"unknown"},"temperature_delta":-0.2,"timezone_offset":2400,"total":28800,"updated_at":"2023-02-28T01:22:38+00:00","user_id":"1449752e-0d8a-40e0-9206-91ab099b2537"}]},"uniqueKey":"","typeLabel":"Sleep Data · object"},"examples":{"Example":{"title":"Example","value":{"sleep":[{"average_hrv":78,"awake":2400,"bedtime_start":"2023-02-27T12:31:24+00:00","bedtime_stop":"2023-02-27T12:31:24+00:00","calendar_date":"2023-02-27","created_at":"2023-02-27T20:31:24+00:00","date":"2023-02-27T12:31:24+00:00","deep":2400,"duration":28800,"efficiency":0.97,"hr_average":50,"hr_lowest":43,"id":"e2e0eb04-6641-4858-9de5-649efb41b346","latency":1000,"light":2400,"recovery_readiness_score":82,"rem":2400,"respiratory_rate":14,"skin_temperature":36.5,"source":{"device_id":"550e8400-e29b-41d4-a716-446655440000","provider":"oura","type":"unknown"},"temperature_delta":-0.2,"timezone_offset":2400,"total":28800,"updated_at":"2023-02-28T01:22:38+00:00","user_id":"1449752e-0d8a-40e0-9206-91ab099b2537"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"22dc30eb-5dd9-43b8-a3b0-10bcedfcaafb":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"oneOf":[{"title":"Detail"}],"uniqueKey":"detail","typeLabel":"any"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"af87d5c6-ad3d-4e24-b361-6f6e31b6ace7":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-vital-api-key","description":"Vital Team API Key","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"458133f0-78f2-4de8-8de0-dd3fe1f661b2":{"url":"https://api.us.junction.com","x-fern-server-name":"Production"},"4361a4fa-b23f-40b1-8803-ec7c6abedf0e":{"url":"https://api.eu.junction.com","x-fern-server-name":"ProductionEU"},"9b9ec478-e8a7-46ae-9fab-ba34094de0fc":{"url":"https://api.sandbox.us.junction.com","x-fern-server-name":"Sandbox"},"c5d90b26-fdd8-41e4-9792-4a2b3fd78b0e":{"url":"https://api.sandbox.eu.junction.com","x-fern-server-name":"SandboxEU"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-vital-api-key","description":"Vital Team API Key","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"x-vital-api-key","type":"string","description":"Vital Team API Key","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-vital-api-key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"swagger.json"},"subdomain":"vital","siteName":"Junction","title":"Summary - Junction","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-08T14:30:34.796Z","originalFileLocation":"api-reference/data/sleep/get-summary.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=\"Retrieve processed sleep summary data for a specific user, including duration, efficiency, and quality scores.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Junction\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vital/pt6gmMsgL39tDSQT/_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/vital/pt6gmMsgL39tDSQT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vital/pt6gmMsgL39tDSQT/_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/vital/pt6gmMsgL39tDSQT/_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/vital/pt6gmMsgL39tDSQT/_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/vital/pt6gmMsgL39tDSQT/_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/vital/pt6gmMsgL39tDSQT/_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/vital/pt6gmMsgL39tDSQT/_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/vital/pt6gmMsgL39tDSQT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Summary - Junction\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve processed sleep summary data for a specific user, including duration, efficiency, and quality scores.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Junction\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.junction.com/api-reference/data/sleep/get-summary\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vital.mintlify.app/_mintlify/api/og/v2?division=Sleep\u0026amp;title=Summary\u0026amp;description=Retrieve+processed+sleep+summary+data+for+a+specific+user%2C+including+duration%2C+efficiency%2C+and+quality+scores.\u0026amp;theme=83ee27a3df1448316ba21b8d\u0026amp;signature=2d552a507f1d0df58a2cf387d4b097ae7926e1f49a80ccbceed85d5fa9868fa7\">\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=\"Summary - Junction\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve processed sleep summary data for a specific user, including duration, efficiency, and quality scores.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vital.mintlify.app/_mintlify/api/og/v2?division=Sleep\u0026amp;title=Summary\u0026amp;description=Retrieve+processed+sleep+summary+data+for+a+specific+user%2C+including+duration%2C+efficiency%2C+and+quality+scores.\u0026amp;theme=83ee27a3df1448316ba21b8d\u0026amp;signature=2d552a507f1d0df58a2cf387d4b097ae7926e1f49a80ccbceed85d5fa9868fa7\">\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/vital/pt6gmMsgL39tDSQT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Junction\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3D1836\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.junction.com/api-reference/data/sleep/get-summary\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/data/sleep/get-summary.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.junction.com/#organization\",\"name\":\"Junction\",\"url\":\"https://docs.junction.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vital/eMrsGYbovvX8f4E9/logo/light.svg?fit=max\u0026auto=format\u0026n=eMrsGYbovvX8f4E9\u0026q=85\u0026s=ee117f69d6fb95bfe3444b1599cbf4ab\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.junction.com#website\",\"name\":\"Junction\",\"url\":\"https://docs.junction.com\",\"publisher\":{\"@id\":\"https://docs.junction.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.junction.com/api-reference/data/sleep/get-summary#webpage\",\"url\":\"https://docs.junction.com/api-reference/data/sleep/get-summary\",\"name\":\"Summary\",\"description\":\"Retrieve processed sleep summary data for a specific user, including duration, efficiency, and quality scores.\",\"dateModified\":\"2026-05-08T14:30:34.796Z\",\"isPartOf\":{\"@id\":\"https://docs.junction.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.junction.com/api-reference/data/sleep/get-summary#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.junction.com/api-reference/data/sleep/get-summary#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Junction\",\"item\":\"https://docs.junction.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Summary\",\"item\":\"https://docs.junction.com/api-reference/data/sleep/get-summary\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.junction.com/api-reference/data/sleep/get-summary#apireference\",\"headline\":\"Summary\",\"name\":\"Summary\",\"description\":\"Retrieve processed sleep summary data for a specific user, including duration, efficiency, and quality scores.\",\"url\":\"https://docs.junction.com/api-reference/data/sleep/get-summary\",\"mainEntityOfPage\":{\"@id\":\"https://docs.junction.com/api-reference/data/sleep/get-summary#webpage\"},\"dateModified\":\"2026-05-08T14:30:34.796Z\",\"publisher\":{\"@id\":\"https://docs.junction.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.junction.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Junction\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Junction","nav":{"global":null,"tabs":[{"tab":"Home","icon":"home","pages":[{"title":"Home","href":"/home/welcome"}]},{"tab":"Core Platform","icon":"users","pages":[{"title":"Core Platform","href":"/api-details/junction-api"}]},{"tab":"Lab Testing","icon":"flask","pages":[{"title":"Lab Testing","href":"/lab/overview/introduction"}]},{"tab":"Devices","icon":"watch-fitness","anchors":[{"anchor":"Product Guides","icon":"watch-fitness","pages":[{"title":"Product Guides","href":"/wearables/connecting-providers/bring-your-own-oauth/overview"}]},{"anchor":"API Reference","icon":"square-code","groups":[{"group":"Junction Mobile SDK Integration","pages":[{"title":"Create Sign-In Token","openapi":"POST /v2/user/{user_id}/sign_in_token","href":"/api-reference/user/create-sign-in-token"}]},{"group":"Device Connections","pages":[{"title":"List of Providers","openapi":"GET /v2/providers","href":"/api-reference/providers"},{"title":"Get User Connections","openapi":"GET /v2/user/providers/{user_id}","href":"/api-reference/user/get-users-connected-providers"},{"title":"Refresh User Data","openapi":"POST /v2/user/refresh/{user_id}","href":"/api-reference/user/refresh-user-data"},{"title":"Deregister Connection","openapi":"DELETE /v2/user/{user_id}/{provider}","href":"/api-reference/user/deregister-a-provider"}]},{"group":"Link","pages":[{"title":"Generate a link token","openapi":"POST /v2/link/token","href":"/api-reference/link/generate-link-token"},{"title":"Create Code","openapi":"POST /v2/link/code/create","href":"/api-reference/link/create-code"},{"title":"Link OAuth provider","openapi":"GET /v2/link/provider/oauth/{oauth_provider}","href":"/api-reference/link/link-oauth-provider"},{"title":"Link Password provider","openapi":"POST /v2/link/provider/password/{provider}","href":"/api-reference/link/link-password-provider"},{"title":"Link Email provider","openapi":"POST /v2/link/provider/email/{provider}","href":"/api-reference/link/link-email-provider"},{"title":"Link Demo provider","openapi":"POST /v2/link/connect/demo","href":"/api-reference/link/link-demo-provider"},{"title":"Complete Password Provider MFA","openapi":"POST /v2/link/provider/password/{provider}/complete_mfa","href":"/api-reference/link/complete-password-provider-mfa"}]},{"group":"Link Migration","pages":[{"title":"List Bulk Ops","openapi":"GET /v2/link/bulk_op","href":"/api-reference/link/list-bulk-ops"},{"title":"Bulk Import","openapi":"POST /v2/link/bulk_import","href":"/api-reference/link/bulk-import"},{"title":"Bulk Trigger Historical Pull","openapi":"POST /v2/link/bulk_trigger_historical_pull","href":"/api-reference/link/bulk-trigger-historical-pull"},{"title":"Bulk Pause","openapi":"POST /v2/link/bulk_pause","href":"/api-reference/link/bulk-pause"},{"title":"Bulk Export","openapi":"POST /v2/link/bulk_export","href":"/api-reference/link/bulk-export"}]},{"group":"Debugging","pages":[{"title":"Get user resources","openapi":"GET /v2/introspect/resources","href":"/api-reference/data/introspection/user-resources"},{"title":"Get historical pulls","openapi":"GET /v2/introspect/historical_pull","href":"/api-reference/data/introspection/historical-pulls"}]},{"group":"Device","pages":[{"title":"Get User Devices","openapi":"GET /v2/user/{user_id}/device","href":"/api-reference/data/device/get-devices"},{"title":"Get User Device","description":"Retrieve user device via the Junction API. Requires authentication with your team API key.","openapi":"GET /v2/user/{user_id}/device/{device_id}","href":"/api-reference/data/device/get-device"}]},{"group":"Sleep","pages":[{"title":"Summary","openapi":"GET /v2/summary/sleep/{user_id}","href":"/api-reference/data/sleep/get-summary"},{"title":"Raw","description":"Retrieve raw sleep data for a specific user as received from their connected wearable provider.","openapi":"GET /v2/summary/sleep/{user_id}/raw","href":"/api-reference/data/sleep/get-raw"}]},{"group":"Sleep Cycle","pages":[{"title":"Summary","openapi":"GET /v2/summary/sleep_cycle/{user_id}","href":"/api-reference/data/sleep-cycle/get-summary"}]},{"group":"Meal","pages":[{"title":"Summary","openapi":"GET /v2/summary/meal/{user_id}","href":"/api-reference/data/meal/get-summary"}]},{"group":"Workouts","pages":[{"title":"Summary","openapi":"GET /v2/summary/workouts/{user_id}","href":"/api-reference/data/workouts/get-summary"},{"title":"Stream","openapi":"GET /v2/timeseries/workouts/{workout_id}/stream","href":"/api-reference/data/workouts/get-stream"},{"title":"Raw","openapi":"GET /v2/summary/workouts/{user_id}/raw","href":"/api-reference/data/workouts/get-raw"}]},{"group":"Profile","pages":[{"title":"Summary","openapi":"GET /v2/summary/profile/{user_id}","href":"/api-reference/data/profile/get-summary"},{"title":"Raw","openapi":"GET /v2/summary/profile/{user_id}/raw","href":"/api-reference/data/profile/get-raw"}]},{"group":"Activity","pages":[{"title":"Summary","openapi":"GET /v2/summary/activity/{user_id}","href":"/api-reference/data/activity/get-summary"},{"title":"Raw","openapi":"GET /v2/summary/activity/{user_id}/raw","href":"/api-reference/data/activity/get-raw"}]},{"group":"Body","pages":[{"title":"Summary","openapi":"GET /v2/summary/body/{user_id}","href":"/api-reference/data/body/get-summary"},{"title":"Raw","openapi":"GET /v2/summary/body/{user_id}/raw","href":"/api-reference/data/body/get-raw"}]},{"group":"Menstrual Cycle","pages":[{"title":"Summary","openapi":"GET /v2/summary/menstrual_cycle/{user_id}","href":"/api-reference/data/menstrual-cycle/get-summary"}]},{"group":"Electrocardiogram","pages":[{"title":"Summary","openapi":"GET /v2/summary/electrocardiogram/{user_id}","href":"/api-reference/data/electrocardiogram/get-summary"},{"title":"Electrocardiogram Voltage","openapi":"GET /v2/timeseries/{user_id}/electrocardiogram_voltage/grouped","href":"/api-reference/data/timeseries/electrocardiogram-voltage"}]},{"group":"Vitals Timeseries","pages":[{"title":"Afib Burden","openapi":"GET /v2/timeseries/{user_id}/afib_burden/grouped","href":"/api-reference/data/timeseries/afib-burden"},{"title":"Blood Oxygen","openapi":"GET /v2/timeseries/{user_id}/blood_oxygen/grouped","href":"/api-reference/data/timeseries/blood-oxygen"},{"title":"Blood Pressure","openapi":"GET /v2/timeseries/{user_id}/blood_pressure/grouped","href":"/api-reference/data/timeseries/blood-pressure"},{"title":"Glucose","openapi":"GET /v2/timeseries/{user_id}/glucose/grouped","href":"/api-reference/data/timeseries/glucose"},{"title":"Heart Rate","openapi":"GET /v2/timeseries/{user_id}/heartrate/grouped","href":"/api-reference/data/timeseries/heartrate"},{"title":"Heart Rate Variability","openapi":"GET /v2/timeseries/{user_id}/hrv/grouped","href":"/api-reference/data/timeseries/hrv"},{"title":"Heart Rate Alert","openapi":"GET /v2/timeseries/{user_id}/heart_rate_alert/grouped","href":"/api-reference/data/timeseries/heart-rate-alert"},{"title":"Insulin Injection","openapi":"GET /v2/timeseries/{user_id}/insulin_injection/grouped","href":"/api-reference/data/timeseries/insulin-injection"},{"title":"Respiratory Rate","openapi":"GET /v2/timeseries/{user_id}/respiratory_rate/grouped","href":"/api-reference/data/timeseries/respiratory-rate"},{"title":"Vo2 Max","openapi":"GET /v2/timeseries/{user_id}/vo2_max/grouped","href":"/api-reference/data/timeseries/vo2-max"},{"title":"Forced Expiratory Volume 1","openapi":"GET /v2/timeseries/{user_id}/forced_expiratory_volume_1/grouped","href":"/api-reference/data/timeseries/forced-expiratory-volume-1"},{"title":"Forced Vital Capacity","openapi":"GET /v2/timeseries/{user_id}/forced_vital_capacity/grouped","href":"/api-reference/data/timeseries/forced-vital-capacity"},{"title":"Peak Expiratory Flow Rate","openapi":"GET /v2/timeseries/{user_id}/peak_expiratory_flow_rate/grouped","href":"/api-reference/data/timeseries/peak-expiratory-flow-rate"},{"title":"Inhaler Usage","openapi":"GET /v2/timeseries/{user_id}/inhaler_usage/grouped","href":"/api-reference/data/timeseries/inhaler-usage"},{"title":"Heart Rate Recovery One Minute","openapi":"GET /v2/timeseries/{user_id}/heart_rate_recovery_one_minute/grouped","href":"/api-reference/data/timeseries/heart-rate-recovery-one-minute"}]},{"group":"Body Timeseries","pages":[{"title":"Body Fat","openapi":"GET /v2/timeseries/{user_id}/body_fat/grouped","href":"/api-reference/data/timeseries/body-fat"},{"title":"Body Weight","openapi":"GET /v2/timeseries/{user_id}/body_weight/grouped","href":"/api-reference/data/timeseries/body-weight"},{"title":"Lean Body Mass","openapi":"GET /v2/timeseries/{user_id}/lean_body_mass/grouped","href":"/api-reference/data/timeseries/lean-body-mass"},{"title":"Body Mass Index","openapi":"GET /v2/timeseries/{user_id}/body_mass_index/grouped","href":"/api-reference/data/timeseries/body-mass-index"},{"title":"Waist Circumference","openapi":"GET /v2/timeseries/{user_id}/waist_circumference/grouped","href":"/api-reference/data/timeseries/waist-circumference"},{"title":"Body Temperature","openapi":"GET /v2/timeseries/{user_id}/body_temperature/grouped","href":"/api-reference/data/timeseries/body-temperature"},{"title":"Body Temperature Delta","openapi":"GET /v2/timeseries/{user_id}/body_temperature_delta/grouped","href":"/api-reference/data/timeseries/body-temperature-delta"},{"title":"Basal Body Temperature","openapi":"GET /v2/timeseries/{user_id}/basal_body_temperature/grouped","href":"/api-reference/data/timeseries/basal-body-temperature"}]},{"group":"Activity Timeseries","pages":[{"title":"Calories Active","openapi":"GET /v2/timeseries/{user_id}/calories_active/grouped","href":"/api-reference/data/timeseries/calories-active"},{"title":"Calories Basal","openapi":"GET /v2/timeseries/{user_id}/calories_basal/grouped","href":"/api-reference/data/timeseries/calories-basal"},{"title":"Distance","openapi":"GET /v2/timeseries/{user_id}/distance/grouped","href":"/api-reference/data/timeseries/distance"},{"title":"Floors Climbed","openapi":"GET /v2/timeseries/{user_id}/floors_climbed/grouped","href":"/api-reference/data/timeseries/floors-climbed"},{"title":"Steps","openapi":"GET /v2/timeseries/{user_id}/steps/grouped","href":"/api-reference/data/timeseries/steps"},{"title":"Workout Duration","openapi":"GET /v2/timeseries/{user_id}/workout_duration/grouped","href":"/api-reference/data/timeseries/workout-duration"},{"title":"Wheelchair Push","openapi":"GET /v2/timeseries/{user_id}/wheelchair_push/grouped","href":"/api-reference/data/timeseries/wheelchair-push"},{"title":"Stand Hour","openapi":"GET /v2/timeseries/{user_id}/stand_hour/grouped","href":"/api-reference/data/timeseries/stand-hour"},{"title":"Stand Duration","openapi":"GET /v2/timeseries/{user_id}/stand_duration/grouped","href":"/api-reference/data/timeseries/stand-duration"},{"title":"Fall","openapi":"GET /v2/timeseries/{user_id}/fall/grouped","href":"/api-reference/data/timeseries/fall"}]},{"group":"Workout Stream Timeseries","pages":[{"title":"Workout Distance","openapi":"GET /v2/timeseries/{user_id}/workout_distance/grouped","href":"/api-reference/data/timeseries/workout-distance"},{"title":"Workout Swimming Stroke","openapi":"GET /v2/timeseries/{user_id}/workout_swimming_stroke/grouped","href":"/api-reference/data/timeseries/workout-swimming-stroke"}]},{"group":"Wellness Timeseries","pages":[{"title":"Sleep Apnea Alert","openapi":"GET /v2/timeseries/{user_id}/sleep_apnea_alert/grouped","href":"/api-reference/data/timeseries/sleep-apnea-alert"},{"title":"Sleep Breathing Disturbance","openapi":"GET /v2/timeseries/{user_id}/sleep_breathing_disturbance/grouped","href":"/api-reference/data/timeseries/sleep-breathing-disturbance"},{"title":"Mindfulness Minutes","openapi":"GET /v2/timeseries/{user_id}/mindfulness_minutes/grouped","href":"/api-reference/data/timeseries/mindfulness-minutes"},{"title":"Stress Level","openapi":"GET /v2/timeseries/{user_id}/stress_level/grouped","href":"/api-reference/data/timeseries/stress-level"},{"title":"Uv Exposure","openapi":"GET /v2/timeseries/{user_id}/uv_exposure/grouped","href":"/api-reference/data/timeseries/uv-exposure"},{"title":"Daylight Exposure","openapi":"GET /v2/timeseries/{user_id}/daylight_exposure/grouped","href":"/api-reference/data/timeseries/daylight-exposure"},{"title":"Handwashing","openapi":"GET /v2/timeseries/{user_id}/handwashing/grouped","href":"/api-reference/data/timeseries/handwashing"}]},{"group":"Diary Timeseries","pages":[{"title":"Note","openapi":"GET /v2/timeseries/{user_id}/note/grouped","href":"/api-reference/data/timeseries/note"}]},{"group":"Nutrition Timeseries","pages":[{"title":"Caffeine","openapi":"GET /v2/timeseries/{user_id}/caffeine/grouped","href":"/api-reference/data/timeseries/caffeine"},{"title":"Carbohydrates","openapi":"GET /v2/timeseries/{user_id}/carbohydrates/grouped","href":"/api-reference/data/timeseries/carbohydrates"},{"title":"Water","openapi":"GET /v2/timeseries/{user_id}/water/grouped","href":"/api-reference/data/timeseries/water"}]}]},{"anchor":"Event Catalog","icon":"envelope","pages":[{"title":"Event Catalog","href":"/event-catalog/provider.connection.created"}]},{"anchor":"Changelog","icon":"book","href":"https://docs.junction.com/changelog/wearables"}]},{"tab":"Junction Sense","icon":"sensor","pages":[{"title":"Junction Sense","href":"/sense/overview"}]},{"tab":"Junction Connect","icon":"frame","pages":[{"title":"Junction Connect","href":"/connect/overview"}]},{"tab":"Management API","icon":"gear","pages":[{"title":"Management API","href":"/api-details/junction-management-api"}]},{"tab":"Changelog","icon":"book","pages":[{"title":"Changelog","href":"/changelog/core/api"}]}]},"title":"Summary - Junction","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-WRhTSUDL.js","utils-ChMov4Kr.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-_REmC2bI.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp6nVRCu.js","snippetPresets-DZadmXoU.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CY2WdoTl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DwYG-Q4l.js","shallow-BXQIGwv4.js","getApiPlaygroundDisplay-CK5nK5B9.js","CodeSnippet-TH4a2aGW.js","CodeSnippets-DwsQiOFS.js","Page-R3M_BF4L.js","getPastedJson-DD7kUzi_.js","icon-holE3QoJ.js","MethodPill-DUW0T8us.js","DuplicateIcon-CI_p4be-.js","createIcon-BdbRvavb.js","DynamicMarkdown-DN96a4Ur.js","SectionHeading-SCu36A9d.js","axios-vUo_bRtp.js","Markdown-CCeGv-zI.js","clsx-BGBGWFTt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Cv_O2fky.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-2C5OB2eV.js"]}