{"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.4111","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/autopilot/create-a-new-thread-for-an-autopilot","slug":"/api-reference/autopilot/create-a-new-thread-for-an-autopilot","pageMetadata":{"title":"Create a new thread for an autopilot.","description":null,"deprecated":null,"version":null,"openapi":"api/openapi.json post /api/autopilots/{autopilot}/threads","href":"/api-reference/autopilot/create-a-new-thread-for-an-autopilot","autogeneratedByOpenApi":true,"hidden":false},"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":"Create a new thread for an autopilot.","description":null,"deprecated":null,"version":null,"openapi":"api/openapi.json post /api/autopilots/{autopilot}/threads","href":"/api-reference/autopilot/create-a-new-thread-for-an-autopilot","autogeneratedByOpenApi":true,"hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"parameters":["8c41b827-a4ab-4a16-b332-398e21a82c29"],"requestBody":"bc4d5a1a-20bd-448e-adad-923f1ec1e1e1","responses":{"200":"be499cb7-c9ca-4d25-b5e7-976e76614174","401":"250605cd-136a-4623-9286-97a35ff86a56","404":"47532b31-1e49-47f1-a32a-3e0e3089582a","422":"5bd9ba6e-af2d-45f9-ba06-6cd2ff348099"},"summary":"Create a new thread for an autopilot.","tags":["Autopilot"],"method":"post","type":"path","servers":["d0c430ca-28e0-41da-a7c4-00c829f569e9"],"security":["6cde4d58-e77e-497c-9900-61a1ea4b0b9a"],"path":"/api/autopilots/{autopilot}/threads","baseUrlOptions":["https://openagents.com"],"title":"Create a new thread for an autopilot.","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"8c41b827-a4ab-4a16-b332-398e21a82c29":{"in":"path","name":"autopilot","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"properties":{"title":{"oneOf":[{"example":"New autopilot conversation","maxLength":200,"type":"string","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"example":"New autopilot conversation","maxLength":200,"type":"null","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"New autopilot conversation"}}},"exampleType":"generated"}},"description":"Create a new thread for an autopilot.","required":true,"exampleType":"generated"},"responses":{"be499cb7-c9ca-4d25-b5e7-976e76614174":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"autopilotId":{"type":"string","uniqueKey":"data.autopilotId","typeLabel":"string"},"createdAt":{"oneOf":[{"format":"date-time","type":"string","uniqueKey":"data.createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","uniqueKey":"data.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time> | null"},"id":{"type":"string","uniqueKey":"data.id","typeLabel":"string"},"title":{"type":"string","uniqueKey":"data.title","typeLabel":"string"},"updatedAt":{"oneOf":[{"format":"date-time","type":"string","uniqueKey":"data.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","uniqueKey":"data.updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time> | null"}},"type":"object","uniqueKey":"data","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"autopilotId":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","id":"\u003cstring>","title":"\u003cstring>","updatedAt":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"description":"Autopilot thread payload","exampleType":"generated"},"250605cd-136a-4623-9286-97a35ff86a56":{"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"},"47532b31-1e49-47f1-a32a-3e0e3089582a":{"content":{"application/json":{"schema":{"properties":{"message":{"example":"Not found.","type":"string","uniqueKey":"message","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Not found."}}},"exampleType":"generated"}},"description":"Not found","exampleType":"generated"},"5bd9ba6e-af2d-45f9-ba06-6cd2ff348099":{"content":{"application/json":{"schema":{"properties":{"errors":{"additionalProperties":{"items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"type":"object","uniqueKey":"errors","typeLabel":"object"},"message":{"example":"The given data was invalid.","type":"string","uniqueKey":"message","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errors":{},"message":"The given data was invalid."}}},"exampleType":"generated"}},"description":"Validation error","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":"Create a new thread for an autopilot. - OpenAgents Autopilot","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-19T15:46:38.042Z","originalFileLocation":"api-reference/autopilot/create-a-new-thread-for-an-autopilot.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=\"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=\"Create a new thread for an autopilot. - OpenAgents Autopilot\">\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/autopilot/create-a-new-thread-for-an-autopilot\">\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=Autopilot\u0026amp;title=Create+a+new+thread+for+an+autopilot.\u0026amp;theme=fb464dc144ca946dfc808529\u0026amp;signature=4bfa052ec0426f4ec6b76493e47cd915809d5bde6754cea4e99da78714ead398\">\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=\"Create a new thread for an autopilot. - OpenAgents Autopilot\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://openagentsinc.mintlify.site/_mintlify/api/og/v2?division=Autopilot\u0026amp;title=Create+a+new+thread+for+an+autopilot.\u0026amp;theme=fb464dc144ca946dfc808529\u0026amp;signature=4bfa052ec0426f4ec6b76493e47cd915809d5bde6754cea4e99da78714ead398\">\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/autopilot/create-a-new-thread-for-an-autopilot\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/autopilot/create-a-new-thread-for-an-autopilot.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/autopilot/create-a-new-thread-for-an-autopilot#webpage\",\"url\":\"https://docs.openagents.com/api-reference/autopilot/create-a-new-thread-for-an-autopilot\",\"name\":\"Create a new thread for an autopilot.\",\"dateModified\":\"2026-02-19T15:46:38.042Z\",\"isPartOf\":{\"@id\":\"https://docs.openagents.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.openagents.com/api-reference/autopilot/create-a-new-thread-for-an-autopilot#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.openagents.com/api-reference/autopilot/create-a-new-thread-for-an-autopilot#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Autopilot\",\"item\":\"https://docs.openagents.com/api-reference/autopilot/list-autopilots-owned-by-the-authenticated-user\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a new thread for an autopilot.\",\"item\":\"https://docs.openagents.com/api-reference/autopilot/create-a-new-thread-for-an-autopilot\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.openagents.com/api-reference/autopilot/create-a-new-thread-for-an-autopilot#apireference\",\"headline\":\"Create a new thread for an autopilot.\",\"name\":\"Create a new thread for an autopilot.\",\"url\":\"https://docs.openagents.com/api-reference/autopilot/create-a-new-thread-for-an-autopilot\",\"mainEntityOfPage\":{\"@id\":\"https://docs.openagents.com/api-reference/autopilot/create-a-new-thread-for-an-autopilot#webpage\"},\"dateModified\":\"2026-02-19T15:46:38.042Z\",\"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/autopilot/create-a-new-thread-for-an-autopilot.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).","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.","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.","description":null,"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.","description":"Expects the full message history and executes against the latest non-empty\nuser message.","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":"Create a new thread for an autopilot. - OpenAgents Autopilot","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}