{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OpenAgents Autopilot","description":"Local-first desktop agent for planning, executing, and verifying work in your repo.","colors":{"primary":"#000000","light":"#ffffff","dark":"#000000"},"logo":{"light":"https://mintcdn.com/openagentsinc/zellIAvP6_fcxsxz/logo/light.svg?fit=max\u0026auto=format\u0026n=zellIAvP6_fcxsxz\u0026q=85\u0026s=0481a3a4705e6ea016f95d650dd12109","dark":"https://mintcdn.com/openagentsinc/zellIAvP6_fcxsxz/logo/dark.svg?fit=max\u0026auto=format\u0026n=zellIAvP6_fcxsxz\u0026q=85\u0026s=5cb1ffb937dec81d5fa74a3199131413"},"favicon":"/favicon.png","appearance":{"default":"dark","strict":true},"background":{"color":{"light":"#ffffff","dark":"#000000"}},"navbar":{"links":[{"href":"https://github.com/OpenAgentsInc/openagents","label":"GitHub"}]},"footer":{"socials":{"x":"https://x.com/OpenAgentsInc","github":"https://github.com/OpenAgentsInc"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"openagentsinc","hasAudioNarration":false,"actualSubdomain":"openagentsinc","customDomains":["docs.openagents.com"],"gitSource":{"type":"github","owner":"openagentsinc","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae91e8925e4849087074e46:success","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":52},{"language":"default","tag":"Docs","count":32},{"language":"default","tag":"Agent Payments","count":12},{"language":"default","tag":"Architecture","count":10},{"language":"default","tag":"L402","count":9},{"language":"default","tag":"Chat","count":8},{"language":"default","tag":"Auth","count":7},{"language":"default","tag":"Autopilot","count":7},{"language":"default","tag":"Concepts","count":5},{"language":"default","tag":"Future","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/auth/get-authenticated-user-context","slug":"/api-reference/auth/get-authenticated-user-context","pageMetadata":{"title":"Get authenticated user context.","description":"Returns current user profile fields and recent chat thread\nsummaries.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/me","href":"/api-reference/auth/get-authenticated-user-context","autogeneratedByOpenApi":true,"hidden":false},"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: \"Returns current user profile fields and recent chat thread\\nsummaries.\"\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":"Get authenticated user context.","description":"Returns current user profile fields and recent chat thread\nsummaries.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/me","href":"/api-reference/auth/get-authenticated-user-context","autogeneratedByOpenApi":true,"hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Returns current user profile fields and recent chat thread\nsummaries.","parameters":["2ee8b23f-f210-430f-a67c-acbe35fafbe2"],"responses":{"200":"58da4cf4-4737-47e2-a2bb-a0c26713dd94","401":"53e0d2f3-ea14-4f0b-8fb6-b1f67652fe72"},"summary":"Get authenticated user context.","tags":["Auth"],"method":"get","type":"path","servers":["d0c430ca-28e0-41da-a7c4-00c829f569e9"],"security":["6cde4d58-e77e-497c-9900-61a1ea4b0b9a"],"path":"/api/me","baseUrlOptions":["https://openagents.com"],"title":"Get authenticated user context.","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2ee8b23f-f210-430f-a67c-acbe35fafbe2":{"description":"Maximum number of recent chat threads to include.","in":"query","name":"chat_limit","required":false,"schema":{"example":50,"maximum":200,"minimum":1,"type":"integer","isRequired":false,"description":"Maximum number of recent chat threads to include.","uniqueKey":"","typeLabel":"integer"}}},"responses":{"58da4cf4-4737-47e2-a2bb-a0c26713dd94":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"chatThreads":{"items":{"properties":{"id":{"type":"string","uniqueKey":"data.chatThreads.items.[INDEX].id","typeLabel":"string"},"title":{"type":"string","uniqueKey":"data.chatThreads.items.[INDEX].title","typeLabel":"string"},"updatedAt":{"oneOf":[{"format":"date-time","type":"string","uniqueKey":"data.chatThreads.items.[INDEX].updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","uniqueKey":"data.chatThreads.items.[INDEX].updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.chatThreads.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time> | null"}},"type":"object","uniqueKey":"data.chatThreads.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"data.chatThreads","typeLabel":"object[]"},"user":{"properties":{"avatar":{"oneOf":[{"type":"string","uniqueKey":"data.user.avatar.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.user.avatar.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.user.avatar","typeLabel":"string | null"},"createdAt":{"oneOf":[{"format":"date-time","type":"string","uniqueKey":"data.user.createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","uniqueKey":"data.user.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.user.createdAt","typeLabel":"string\u003cdate-time> | null"},"email":{"type":"string","uniqueKey":"data.user.email","typeLabel":"string"},"handle":{"oneOf":[{"type":"string","uniqueKey":"data.user.handle.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.user.handle.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.user.handle","typeLabel":"string | null"},"id":{"type":"integer","uniqueKey":"data.user.id","typeLabel":"integer"},"name":{"type":"string","uniqueKey":"data.user.name","typeLabel":"string"},"updatedAt":{"oneOf":[{"format":"date-time","type":"string","uniqueKey":"data.user.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","uniqueKey":"data.user.updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.user.updatedAt","typeLabel":"string\u003cdate-time> | null"}},"type":"object","uniqueKey":"data.user","typeLabel":"object"}},"type":"object","uniqueKey":"data","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"chatThreads":[{"id":"\u003cstring>","title":"\u003cstring>","updatedAt":"2023-11-07T05:31:56Z"}],"user":{"avatar":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","email":"\u003cstring>","handle":"\u003cstring>","id":123,"name":"\u003cstring>","updatedAt":"2023-11-07T05:31:56Z"}}}}},"exampleType":"generated"}},"description":"Authenticated user profile and quick chat thread summary","exampleType":"generated"},"53e0d2f3-ea14-4f0b-8fb6-b1f67652fe72":{"content":{"application/json":{"schema":{"properties":{"message":{"example":"Unauthenticated.","type":"string","uniqueKey":"message","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Unauthenticated."}}},"exampleType":"generated"}},"description":"Authentication required","exampleType":"generated"}},"security":{"6cde4d58-e77e-497c-9900-61a1ea4b0b9a":{"SanctumToken":{"bearerFormat":"Sanctum PAT","scheme":"bearer","type":"http","scopes":[]}}},"servers":{"d0c430ca-28e0-41da-a7c4-00c829f569e9":{"description":"Primary production server","url":"https://openagents.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"bearerFormat":"Sanctum PAT","scheme":"bearer","type":"http","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"SanctumToken","name":"Authorization"}],"title":"SanctumToken"}]},"originalFileLocation":"api/openapi.json"},"subdomain":"openagentsinc","siteName":"OpenAgents Autopilot","title":"Get authenticated user context. - OpenAgents Autopilot","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-17T08:59:10.309Z","originalFileLocation":"api-reference/auth/get-authenticated-user-context.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";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=\"dark\"}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=\"Returns current user profile fields and recent chat thread summaries.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OpenAgents Autopilot\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/openagentsinc/w--Tc9_pcKhCUXez/_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/openagentsinc/w--Tc9_pcKhCUXez/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/openagentsinc/w--Tc9_pcKhCUXez/_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/openagentsinc/w--Tc9_pcKhCUXez/_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/openagentsinc/w--Tc9_pcKhCUXez/_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/openagentsinc/w--Tc9_pcKhCUXez/_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/openagentsinc/w--Tc9_pcKhCUXez/_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/openagentsinc/w--Tc9_pcKhCUXez/_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/openagentsinc/w--Tc9_pcKhCUXez/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get authenticated user context. - OpenAgents Autopilot\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns current user profile fields and recent chat thread summaries.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenAgents Autopilot\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.openagents.com/api-reference/auth/get-authenticated-user-context\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://openagentsinc.mintlify.site/_mintlify/api/og/v2?division=Auth\u0026amp;title=Get+authenticated+user+context.\u0026amp;description=Returns+current+user+profile+fields+and+recent+chat+thread%0Asummaries.\u0026amp;theme=fb464dc144ca946dfc808529\u0026amp;signature=b65384a291917097e44c63fb98bd2c5619b44e9303587213443b1c8776aa2dfd\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get authenticated user context. - OpenAgents Autopilot\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns current user profile fields and recent chat thread summaries.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://openagentsinc.mintlify.site/_mintlify/api/og/v2?division=Auth\u0026amp;title=Get+authenticated+user+context.\u0026amp;description=Returns+current+user+profile+fields+and+recent+chat+thread%0Asummaries.\u0026amp;theme=fb464dc144ca946dfc808529\u0026amp;signature=b65384a291917097e44c63fb98bd2c5619b44e9303587213443b1c8776aa2dfd\">\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/openagentsinc/w--Tc9_pcKhCUXez/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OpenAgents Autopilot\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.openagents.com/api-reference/auth/get-authenticated-user-context\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/auth/get-authenticated-user-context.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.openagents.com/#organization\",\"name\":\"OpenAgents Autopilot\",\"url\":\"https://docs.openagents.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/openagentsinc/zellIAvP6_fcxsxz/logo/light.svg?fit=max\u0026auto=format\u0026n=zellIAvP6_fcxsxz\u0026q=85\u0026s=0481a3a4705e6ea016f95d650dd12109\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.openagents.com#website\",\"name\":\"OpenAgents Autopilot\",\"url\":\"https://docs.openagents.com\",\"publisher\":{\"@id\":\"https://docs.openagents.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.openagents.com/api-reference/auth/get-authenticated-user-context#webpage\",\"url\":\"https://docs.openagents.com/api-reference/auth/get-authenticated-user-context\",\"name\":\"Get authenticated user context.\",\"description\":\"Returns current user profile fields and recent chat thread summaries.\",\"dateModified\":\"2026-02-17T08:59:10.309Z\",\"isPartOf\":{\"@id\":\"https://docs.openagents.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.openagents.com/api-reference/auth/get-authenticated-user-context#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.openagents.com/api-reference/auth/get-authenticated-user-context#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Auth\",\"item\":\"https://docs.openagents.com/api-reference/auth/bootstrap-an-api-user-+-bearer-token-stagingautomation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get authenticated user context.\",\"item\":\"https://docs.openagents.com/api-reference/auth/get-authenticated-user-context\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.openagents.com/api-reference/auth/get-authenticated-user-context#apireference\",\"headline\":\"Get authenticated user context.\",\"name\":\"Get authenticated user context.\",\"description\":\"Returns current user profile fields and recent chat thread summaries.\",\"url\":\"https://docs.openagents.com/api-reference/auth/get-authenticated-user-context\",\"mainEntityOfPage\":{\"@id\":\"https://docs.openagents.com/api-reference/auth/get-authenticated-user-context#webpage\"},\"dateModified\":\"2026-02-17T08:59:10.309Z\",\"publisher\":{\"@id\":\"https://docs.openagents.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.openagents.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OpenAgents Autopilot\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OpenAgents Autopilot\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/auth/get-authenticated-user-context.md","siteName":"OpenAgents Autopilot","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"API Reference","groups":[{"group":"Agent Payments","pages":[{"title":"Get current wallet balance for authenticated user.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/agent-payments/balance","href":"/api-reference/agent-payments/get-current-wallet-balance-for-authenticated-user"},{"title":"Create a Lightning invoice from the authenticated user's wallet.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/agent-payments/invoice","href":"/api-reference/agent-payments/create-a-lightning-invoice-from-the-authenticated-users-wallet"},{"title":"Pay a BOLT11 invoice from the authenticated user's wallet.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/agent-payments/pay","href":"/api-reference/agent-payments/pay-a-bolt11-invoice-from-the-authenticated-users-wallet"},{"title":"Send sats to another Spark address from authenticated user's wallet.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/agent-payments/send-spark","href":"/api-reference/agent-payments/send-sats-to-another-spark-address-from-authenticated-users-wallet"},{"title":"Get the authenticated user's Spark wallet metadata.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/agent-payments/wallet","href":"/api-reference/agent-payments/get-the-authenticated-users-spark-wallet-metadata"},{"title":"Create or import wallet for the authenticated user.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/agent-payments/wallet","href":"/api-reference/agent-payments/create-or-import-wallet-for-the-authenticated-user"},{"title":"Get current wallet balance for authenticated user.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/agents/me/balance","href":"/api-reference/agent-payments/get-current-wallet-balance-for-authenticated-user-1"},{"title":"Get the authenticated user's Spark wallet metadata.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/agents/me/wallet","href":"/api-reference/agent-payments/get-the-authenticated-users-spark-wallet-metadata-1"},{"title":"Create or import wallet for the authenticated user.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/agents/me/wallet","href":"/api-reference/agent-payments/create-or-import-wallet-for-the-authenticated-user-1"},{"title":"Create a Lightning invoice from the authenticated user's wallet.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/payments/invoice","href":"/api-reference/agent-payments/create-a-lightning-invoice-from-the-authenticated-users-wallet-1"},{"title":"Pay a BOLT11 invoice from the authenticated user's wallet.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/payments/pay","href":"/api-reference/agent-payments/pay-a-bolt11-invoice-from-the-authenticated-users-wallet-1"},{"title":"Send sats to another Spark address from authenticated user's wallet.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/payments/send-spark","href":"/api-reference/agent-payments/send-sats-to-another-spark-address-from-authenticated-users-wallet-1"}]},{"group":"Auth","pages":[{"title":"Bootstrap an API user + bearer token (staging/automation).","description":"This bypasses WorkOS email code auth and is intended for staging\nautomation. Controlled by `OA_API_SIGNUP_ENABLED`.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/auth/register","href":"/api-reference/auth/bootstrap-an-api-user-+-bearer-token-stagingautomation"},{"title":"Get authenticated user context.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/me","href":"/api-reference/auth/get-authenticated-user-context"},{"title":"List personal access tokens.","description":"Returns Sanctum tokens owned by the authenticated user, including whether\neach token is the current one.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/tokens","href":"/api-reference/auth/list-personal-access-tokens"},{"title":"Create a personal access token.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/tokens","href":"/api-reference/auth/create-a-personal-access-token"},{"title":"Revoke all personal access tokens for the authenticated user.","deprecated":null,"version":null,"openapi":"api/openapi.json delete /api/tokens","href":"/api-reference/auth/revoke-all-personal-access-tokens-for-the-authenticated-user"},{"title":"Revoke the current bearer token.","deprecated":null,"version":null,"openapi":"api/openapi.json delete /api/tokens/current","href":"/api-reference/auth/revoke-the-current-bearer-token"},{"title":"Revoke a specific personal access token.","deprecated":null,"version":null,"openapi":"api/openapi.json delete /api/tokens/{tokenId}","href":"/api-reference/auth/revoke-a-specific-personal-access-token"}]},{"group":"Autopilot","pages":[{"title":"List autopilots owned by the authenticated user.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/autopilots","href":"/api-reference/autopilot/list-autopilots-owned-by-the-authenticated-user"},{"title":"Create an autopilot resource.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/autopilots","href":"/api-reference/autopilot/create-an-autopilot-resource"},{"title":"Read one autopilot by id or handle.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/autopilots/{autopilot}","href":"/api-reference/autopilot/read-one-autopilot-by-id-or-handle"},{"title":"Update one autopilot.","deprecated":null,"version":null,"openapi":"api/openapi.json patch /api/autopilots/{autopilot}","href":"/api-reference/autopilot/update-one-autopilot"},{"title":"Stream a run via autopilot alias route.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/autopilots/{autopilot}/stream","href":"/api-reference/autopilot/stream-a-run-via-autopilot-alias-route"},{"title":"List threads for one autopilot.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/autopilots/{autopilot}/threads","href":"/api-reference/autopilot/list-threads-for-one-autopilot"},{"title":"Create a new thread for an autopilot.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/autopilots/{autopilot}/threads","href":"/api-reference/autopilot/create-a-new-thread-for-an-autopilot"}]},{"group":"Chat","pages":[{"title":"Stream a chat run over server-sent events.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/chat/stream","href":"/api-reference/chat/stream-a-chat-run-over-server-sent-events"},{"title":"List authenticated user's conversation threads.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/chats","href":"/api-reference/chat/list-authenticated-users-conversation-threads"},{"title":"Create a new conversation thread.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/chats","href":"/api-reference/chat/create-a-new-conversation-thread"},{"title":"Get one conversation with messages and runs.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/chats/{conversationId}","href":"/api-reference/chat/get-one-conversation-with-messages-and-runs"},{"title":"List messages for a conversation.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/chats/{conversationId}/messages","href":"/api-reference/chat/list-messages-for-a-conversation"},{"title":"List runs for a conversation.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/chats/{conversationId}/runs","href":"/api-reference/chat/list-runs-for-a-conversation"},{"title":"List events for a specific run.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/chats/{conversationId}/runs/{runId}/events","href":"/api-reference/chat/list-events-for-a-specific-run"},{"title":"Stream a chat run over server-sent events.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/chats/{conversationId}/stream","href":"/api-reference/chat/stream-a-chat-run-over-server-sent-events-1"}]},{"group":"L402","pages":[{"title":"List L402 deployment and gateway-related operational events.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/l402/deployments","href":"/api-reference/l402/list-l402-deployment-and-gateway-related-operational-events"},{"title":"Get paywall aggregation by host/scope.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/l402/paywalls","href":"/api-reference/l402/get-paywall-aggregation-by-hostscope"},{"title":"Create a seller paywall route and reconcile Aperture configuration.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/l402/paywalls","href":"/api-reference/l402/create-a-seller-paywall-route-and-reconcile-aperture-configuration"},{"title":"Delete (soft-delete) a seller paywall and reconcile Aperture configuration.","deprecated":null,"version":null,"openapi":"api/openapi.json delete /api/l402/paywalls/{paywallId}","href":"/api-reference/l402/delete-soft-delete-a-seller-paywall-and-reconcile-aperture-configuration"},{"title":"Update an existing seller paywall and reconcile Aperture configuration.","deprecated":null,"version":null,"openapi":"api/openapi.json patch /api/l402/paywalls/{paywallId}","href":"/api-reference/l402/update-an-existing-seller-paywall-and-reconcile-aperture-configuration"},{"title":"Get settlement-focused paid receipt summary.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/l402/settlements","href":"/api-reference/l402/get-settlement-focused-paid-receipt-summary"},{"title":"List L402 transaction receipts.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/l402/transactions","href":"/api-reference/l402/list-l402-transaction-receipts"},{"title":"Get one L402 transaction receipt by event id.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/l402/transactions/{eventId}","href":"/api-reference/l402/get-one-l402-transaction-receipt-by-event-id"},{"title":"Get wallet-level Lightning spend summary.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/l402/wallet","href":"/api-reference/l402/get-wallet-level-lightning-spend-summary"}]},{"group":"Profile","pages":[{"title":"Get the authenticated user's profile.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/settings/profile","href":"/api-reference/profile/get-the-authenticated-users-profile"},{"title":"Delete the authenticated account.","deprecated":null,"version":null,"openapi":"api/openapi.json delete /api/settings/profile","href":"/api-reference/profile/delete-the-authenticated-account"},{"title":"Update profile fields.","deprecated":null,"version":null,"openapi":"api/openapi.json patch /api/settings/profile","href":"/api-reference/profile/update-profile-fields"}]},{"group":"Shouts","pages":[{"title":"List public shouts.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/shouts","href":"/api-reference/shouts/list-public-shouts"},{"title":"Create a shout.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/shouts","href":"/api-reference/shouts/create-a-shout"},{"title":"Return top shout zones for discovery.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/shouts/zones","href":"/api-reference/shouts/return-top-shout-zones-for-discovery"}]},{"group":"Whispers","pages":[{"title":"List whispers for the authenticated user.","deprecated":null,"version":null,"openapi":"api/openapi.json get /api/whispers","href":"/api-reference/whispers/list-whispers-for-the-authenticated-user"},{"title":"Send a new whisper.","deprecated":null,"version":null,"openapi":"api/openapi.json post /api/whispers","href":"/api-reference/whispers/send-a-new-whisper"},{"title":"Mark a whisper as read.","deprecated":null,"version":null,"openapi":"api/openapi.json patch /api/whispers/{id}/read","href":"/api-reference/whispers/mark-a-whisper-as-read"}]}]}]},"basePath":"","title":"Get authenticated user context. - OpenAgents Autopilot","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}