{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SiteGPT Docs","colors":{"primary":"#155DEE","light":"#155DEE","dark":"#155DEE"},"logo":{"light":"https://mintcdn.com/sitegpt/dfL6CRQJ3zPf3iUm/logo/light.svg?fit=max\u0026auto=format\u0026n=dfL6CRQJ3zPf3iUm\u0026q=85\u0026s=0a0dcfea4d0990c3ee53df5fdc5fbb62","dark":"https://mintcdn.com/sitegpt/dfL6CRQJ3zPf3iUm/logo/dark.svg?fit=max\u0026auto=format\u0026n=dfL6CRQJ3zPf3iUm\u0026q=85\u0026s=2111fa1fed2bc70d40aee0cd58f47f89"},"favicon":"https://mintcdn.com/sitegpt/dfL6CRQJ3zPf3iUm/logo.svg?fit=max\u0026auto=format\u0026n=dfL6CRQJ3zPf3iUm\u0026q=85\u0026s=308eee623c00dfa6887d41e68491d7b5","api":{"openapi":["https://sitegpt.ai/openapi.yaml","https://sitegpt.ai/api/v2/openapi.json"],"playground":{"display":"interactive"},"mdx":{"server":"https://sitegpt.ai/api"}},"appearance":{"default":"light","strict":true},"background":{"color":{"dark":"#155DEE"}},"navbar":{"links":[{"href":"mailto:support@sitegpt.ai","label":"Support"}],"primary":{"type":"button","label":"Create Your Chatbot Now","href":"https://sitegpt.ai/pricing"}},"footer":{"socials":{"website":"https://sitegpt.ai","twitter":"https://twitter.com/SiteGPT","linkedin":"https://www.linkedin.com/company/SiteGPT","youtube":"https://www.youtube.com/@sitegpt"}},"seo":{"metatags":{"canonical":"https://sitegpt.ai/docs"}},"integrations":{"fathom":{"siteId":"TULDUMHD"},"ga4":{"measurementId":"G-BJ7Q0301KD"},"posthog":{"apiKey":"phc_qA4nP6k87ZHKpJ5paJmtAs1WJLxYL4lz2lOcHCX5sjy","apiHost":"https://sitegt.ai/ph-j52x"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sitegpt","hasAudioNarration":false,"actualSubdomain":"sitegpt","customDomains":["sitegpt.ai"],"gitSource":{"type":"github","owner":"sitegpt","repo":"sitegpt-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae444431321c7c813d58461","collectionId":"219c9fee-f39a-44e0-bc81-31642163572b","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae444431321c7c813d58461"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae444431321c7c813d58461","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"API Reference","count":180},{"language":"default","tag":"Documentation","count":66},{"language":"default","tag":"Changelog","count":45},{"language":"default","tag":"CLI","count":19},{"language":"default","tag":"Chatbots","count":14},{"language":"default","tag":"Knowledge","count":14},{"language":"default","tag":"Conversations","count":13},{"language":"default","tag":"Personas","count":12},{"language":"default","tag":"Instructions","count":12},{"language":"default","tag":"Get started","count":12}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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":"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":"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":"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":"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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/chatbot-threads/update-thread","slug":"/api-reference/chatbot-threads/update-thread","pageMetadata":{"openapi":"patch /v0/chatbots/{chatbotId}/threads/{threadId}","title":"Update Thread","description":"Update thread of the chatbot.\nThe following thread properties can be updated.\n1. Mode\n2. Webhook url\n3. Webhook token\n4. Chat User details","href":"/api-reference/chatbot-threads/update-thread"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n li: \"li\",\n ol: \"ol\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Update thread of the chatbot.\\nThe following thread properties can be updated.\"\n }), \"\\n\", _jsxs(_components.ol, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Mode\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Webhook url\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Webhook token\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Chat User details\"\n }), \"\\n\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"patch /v0/chatbots/{chatbotId}/threads/{threadId}","title":"Update Thread","description":"Update thread of the chatbot.\nThe following thread properties can be updated.\n1. Mode\n2. Webhook url\n3. Webhook token\n4. Chat User details","href":"/api-reference/chatbot-threads/update-thread"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/sitegpt/71568a7b608411b6/analytics.js"],"openApiReferenceData":{"operation":{"tags":["Chatbot Threads"],"summary":"Update Thread","requestBody":"0ec6f64d-c92b-43da-9a78-0efe45f78405","parameters":["d14946ca-09fd-4eb8-a14d-aef6b847fc7e","33314dcc-caf8-437c-a9bd-867cc1c49611"],"responses":{"200":"5840e0c2-3437-474d-b627-1cf875262fe7","400":"bd395eac-89c2-47c9-90c8-3b9076540fbe","401":"f2ef39ed-c8e1-49c5-a71f-220942911175","403":"5f69c55c-d4f5-41d3-ad32-6f865336234a","404":"e39b0961-bca7-4942-bddd-f8d67b34e736","405":"82bcc1d7-6266-4dff-8847-28810e6b2232","500":"06e0fb18-3b07-4968-9194-ee520d87b6dc"},"operationId":"update-chatbot-thread","description":"Update thread of the chatbot.\nThe following thread properties can be updated.\n1. Mode\n2. Webhook url\n3. Webhook token\n4. Chat User details","method":"patch","type":"path","servers":["c48ab648-58bf-491a-86ce-47795e2cc7c9"],"security":["4a7958bd-182e-49e3-9c58-7fb6b9b4ec26"],"path":"/v0/chatbots/{chatbotId}/threads/{threadId}","baseUrlOptions":["https://sitegpt.ai/api"],"title":"Update Thread","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d14946ca-09fd-4eb8-a14d-aef6b847fc7e":{"name":"chatbotId","description":"Id of the chatbot","in":"path","schema":{"type":"string","isRequired":true,"description":"Id of the chatbot","uniqueKey":"","typeLabel":"string"},"required":true},"33314dcc-caf8-437c-a9bd-867cc1c49611":{"schema":{"type":"string","isRequired":true,"description":"Id of the chatbot thread","uniqueKey":"","typeLabel":"string"},"name":"threadId","in":"path","required":true,"description":"Id of the chatbot thread"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Request body","properties":{"mode":{"enum":["AI","AGENT"],"description":"Chat mode of the thread","type":"string","uniqueKey":"mode","typeLabel":"enum\u003cstring>"},"webhookUrl":{"type":"string","description":"Webhook url for the thread where all messages are forwarded to","uniqueKey":"webhookUrl","typeLabel":"string"},"webhookToken":{"type":"string","description":"This token will be sent in headers to the webhook url for all the messages","uniqueKey":"webhookToken","typeLabel":"string"},"chatUser":{"type":"object","description":"Details of the user chatting in the thread","properties":{"email":{"type":"string","description":"Email of the chat user","isRequired":true,"uniqueKey":"chatUser.email","typeLabel":"string"},"name":{"type":"string","description":"Name of the chat user","uniqueKey":"chatUser.name","typeLabel":"string"},"phoneNumber":{"type":"string","description":"Phone number of the chat user","uniqueKey":"chatUser.phoneNumber","typeLabel":"string"}},"required":["email"],"uniqueKey":"chatUser","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Request Body":{"title":"Request Body","value":{"mode":"AI","webhookUrl":"https://example.com","webhookToken":"xyz","chatUser":{"email":"abc@gmail.com","name":"ABC","phoneNumber":"XXXXXXXXXXX"}}}},"exampleType":"examples"}},"description":"Request body to update chatbot thread","exampleType":"examples"},"responses":{"5840e0c2-3437-474d-b627-1cf875262fe7":{"description":"OK","headers":{"Content-Type":{"schema":{"type":"string"},"description":"application/json"}},"content":{"application/json":{"schema":{"type":"object","description":"Success Response","properties":{"success":{"type":"boolean","description":"Indicates whether this is success response or error response","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Overall message regarding the operation performed","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","description":"Data returned from the server","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Data returned from the server","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Success":{"title":"Success","value":{"success":true,"message":"Updated the chatbot thread successfully","data":null}}},"exampleType":"examples"}},"exampleType":"examples"},"bd395eac-89c2-47c9-90c8-3b9076540fbe":{"description":"Bad Request","headers":{"Content-Type":{"schema":{"type":"string"},"description":"application/json"}},"content":{"application/json":{"schema":{"type":"object","description":"Error Response","properties":{"success":{"type":"boolean","description":"Indicates that this is error response","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Overall error message regarding the operation performed","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"error":{"type":"object","description":"Object with the error details","properties":{"code":{"type":"string","description":"Based on this error code, you can identify what is the error","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"The message indicating the reason for the error","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"array","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","description":"Specifies the position in an array","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"error.details.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"message":{"type":"string","description":"Reason for the error of the path mentioned before","uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field"},{"type":"integer","description":"Specifies the position in an array"}]}},"message":{"type":"string","description":"Reason for the error of the path mentioned before"}}},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object[] | null"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Validation Error":{"title":"Validation Error","value":{"success":false,"message":"Failed to update the chatbot thread","data":null,"error":{"code":"THREAD_ID_REQUIRED","message":"threadId field is required","details":null}}},"Invalid Request Body":{"title":"Invalid Request Body","value":{"success":false,"message":"Failed to update the chatbot thread","data":null,"error":{"code":"REQUEST_VALIDATION_FAILED","message":"Request body is not valid","details":[{"path":["mode"],"message":"Invalid enum value. Expected `AI` | `AGENT`, received `A`"}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"f2ef39ed-c8e1-49c5-a71f-220942911175":{"description":"Unauthorized","headers":{"Content-Type":{"schema":{"type":"string"},"description":"application/json"}},"content":{"application/json":{"schema":{"type":"object","description":"Error Response","properties":{"success":{"type":"boolean","description":"Indicates that this is error response","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Overall error message regarding the operation performed","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"error":{"type":"object","description":"Object with the error details","properties":{"code":{"type":"string","description":"Based on this error code, you can identify what is the error","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"The message indicating the reason for the error","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"array","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","description":"Specifies the position in an array","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"error.details.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"message":{"type":"string","description":"Reason for the error of the path mentioned before","uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field"},{"type":"integer","description":"Specifies the position in an array"}]}},"message":{"type":"string","description":"Reason for the error of the path mentioned before"}}},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object[] | null"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Authentication Error":{"title":"Authentication Error","value":{"success":false,"message":"Failed to update the chatbot thread","error":{"code":"API_KEY_NOT_VALID","message":"Authorization header does not contain valid API key","details":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"5f69c55c-d4f5-41d3-ad32-6f865336234a":{"description":"Forbidden","headers":{"Content-Type":{"schema":{"type":"string"},"description":"application/json"}},"content":{"application/json":{"schema":{"type":"object","description":"Error Response","properties":{"success":{"type":"boolean","description":"Indicates that this is error response","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Overall error message regarding the operation performed","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"error":{"type":"object","description":"Object with the error details","properties":{"code":{"type":"string","description":"Based on this error code, you can identify what is the error","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"The message indicating the reason for the error","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"array","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","description":"Specifies the position in an array","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"error.details.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"message":{"type":"string","description":"Reason for the error of the path mentioned before","uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field"},{"type":"integer","description":"Specifies the position in an array"}]}},"message":{"type":"string","description":"Reason for the error of the path mentioned before"}}},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object[] | null"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Forbidden Error":{"title":"Forbidden Error","value":{"success":false,"message":"Failed to update the chatbot thread","data":null,"error":{"code":"UPDATE_CHATBOT_THREAD_FORBIDDEN","message":"You are not authorized to update this chatbot thread","details":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"e39b0961-bca7-4942-bddd-f8d67b34e736":{"description":"Not Found","headers":{"Content-Type":{"schema":{"type":"string"},"description":"application/json"}},"content":{"application/json":{"schema":{"type":"object","description":"Error Response","properties":{"success":{"type":"boolean","description":"Indicates that this is error response","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Overall error message regarding the operation performed","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"error":{"type":"object","description":"Object with the error details","properties":{"code":{"type":"string","description":"Based on this error code, you can identify what is the error","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"The message indicating the reason for the error","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"array","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","description":"Specifies the position in an array","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"error.details.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"message":{"type":"string","description":"Reason for the error of the path mentioned before","uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field"},{"type":"integer","description":"Specifies the position in an array"}]}},"message":{"type":"string","description":"Reason for the error of the path mentioned before"}}},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object[] | null"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Not Found Error":{"title":"Not Found Error","value":{"success":false,"message":"Failed to update the chatbot thread","data":null,"error":{"code":"CHATBOT_THREAD_NOT_FOUND","message":"Chatbot thread does not exist for threadId=1234567890","details":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"82bcc1d7-6266-4dff-8847-28810e6b2232":{"description":"Method Not Allowed","headers":{"Content-Type":{"schema":{"type":"string"},"description":"application/json"}},"content":{"application/json":{"schema":{"type":"object","description":"Error Response","properties":{"success":{"type":"boolean","description":"Indicates that this is error response","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Overall error message regarding the operation performed","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"error":{"type":"object","description":"Object with the error details","properties":{"code":{"type":"string","description":"Based on this error code, you can identify what is the error","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"The message indicating the reason for the error","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"array","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","description":"Specifies the position in an array","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"error.details.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"message":{"type":"string","description":"Reason for the error of the path mentioned before","uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field"},{"type":"integer","description":"Specifies the position in an array"}]}},"message":{"type":"string","description":"Reason for the error of the path mentioned before"}}},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object[] | null"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Method Not Allowed Error":{"title":"Method Not Allowed Error","value":{"success":false,"message":"Failed to update the chatbot thread","data":null,"error":{"code":"REQUEST_METHOD_NOT_ALLOWED","message":"POST request method is not allowed","details":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"06e0fb18-3b07-4968-9194-ee520d87b6dc":{"description":"Internal Server Error","headers":{"Content-Type":{"schema":{"type":"string"},"description":"application/json"}},"content":{"application/json":{"schema":{"type":"object","description":"Error Response","properties":{"success":{"type":"boolean","description":"Indicates that this is error response","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Overall error message regarding the operation performed","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"error":{"type":"object","description":"Object with the error details","properties":{"code":{"type":"string","description":"Based on this error code, you can identify what is the error","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"The message indicating the reason for the error","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"array","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","description":"Specifies the position in an array","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"error.details.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"message":{"type":"string","description":"Reason for the error of the path mentioned before","uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field"},{"type":"integer","description":"Specifies the position in an array"}]}},"message":{"type":"string","description":"Reason for the error of the path mentioned before"}}},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object[] | null"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Server Error":{"title":"Server Error","value":{"success":false,"message":"Failed to update the chatbot thread","data":null,"error":{"code":"UPDATE_CHATBOT_THREAD_FAILED","message":"Some technical error has occurred !!","details":null}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"4a7958bd-182e-49e3-9c58-7fb6b9b4ec26":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"c48ab648-58bf-491a-86ce-47795e2cc7c9":{"url":"https://sitegpt.ai/api"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"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":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://sitegpt.ai/openapi.yaml"},"subdomain":"sitegpt","siteName":"SiteGPT Docs","title":"Update Thread - SiteGPT Docs","navMaps":{"firstHrefInVersion":{"v2":{"href":"/api-reference/v2/getting-started","matchLevel":3},"v0":{"href":"/api-reference/chatbot-threads/update-thread","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-08-26T16:45:28.448Z","originalFileLocation":"api-reference/chatbot-threads/update-thread.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Update thread of the chatbot. The following thread properties can be updated. 1. Mode 2. Webhook url 3. Webhook token 4. Chat User details\">\u003cmeta data-mint-head name=\"application-name\" content=\"SiteGPT Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/sitegpt/zmL_DIEoEtIXFD5K/_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=\"/docs/mintlify-assets/_mintlify/favicons/sitegpt/zmL_DIEoEtIXFD5K/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sitegpt/zmL_DIEoEtIXFD5K/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/sitegpt/zmL_DIEoEtIXFD5K/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/sitegpt/zmL_DIEoEtIXFD5K/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/sitegpt/zmL_DIEoEtIXFD5K/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sitegpt/zmL_DIEoEtIXFD5K/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/sitegpt/zmL_DIEoEtIXFD5K/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/sitegpt/zmL_DIEoEtIXFD5K/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Thread - SiteGPT Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update thread of the chatbot. The following thread properties can be updated. 1. Mode 2. Webhook url 3. Webhook token 4. Chat User details\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SiteGPT Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://sitegpt.ai/docs/api-reference/chatbot-threads/update-thread\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sitegpt.mintlify.app/_mintlify/api/og/v2?division=Threads\u0026amp;title=Update+Thread\u0026amp;description=Update+thread+of+the+chatbot.%0AThe+following+thread+properties+can+be+updated.%0A1.+Mode%0A2.+Webhook+url%0A3.+Webhook+token%0A4.+Chat+User+details\u0026amp;theme=5f737830baa17f7c7fa487af\u0026amp;signature=f6959ba0ca3ab18918126d4052c03cbece0af7fa4b54729f083028dd35ae2c24\">\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=\"Update Thread - SiteGPT Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update thread of the chatbot. The following thread properties can be updated. 1. Mode 2. Webhook url 3. Webhook token 4. Chat User details\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sitegpt.mintlify.app/_mintlify/api/og/v2?division=Threads\u0026amp;title=Update+Thread\u0026amp;description=Update+thread+of+the+chatbot.%0AThe+following+thread+properties+can+be+updated.%0A1.+Mode%0A2.+Webhook+url%0A3.+Webhook+token%0A4.+Chat+User+details\u0026amp;theme=5f737830baa17f7c7fa487af\u0026amp;signature=f6959ba0ca3ab18918126d4052c03cbece0af7fa4b54729f083028dd35ae2c24\">\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=\"/docs/mintlify-assets/_mintlify/favicons/sitegpt/zmL_DIEoEtIXFD5K/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SiteGPT Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#155DEE\">\u003clink data-mint-head rel=\"canonical\" href=\"https://sitegpt.ai/docs/api-reference/chatbot-threads/update-thread\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/chatbot-threads/update-thread.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://sitegpt.ai/#organization\",\"name\":\"SiteGPT Docs\",\"url\":\"https://sitegpt.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sitegpt/dfL6CRQJ3zPf3iUm/logo/light.svg?fit=max\u0026auto=format\u0026n=dfL6CRQJ3zPf3iUm\u0026q=85\u0026s=0a0dcfea4d0990c3ee53df5fdc5fbb62\"}},{\"@type\":\"WebSite\",\"@id\":\"https://sitegpt.ai/docs#website\",\"name\":\"SiteGPT Docs\",\"url\":\"https://sitegpt.ai/docs\",\"publisher\":{\"@id\":\"https://sitegpt.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://sitegpt.ai/docs/api-reference/chatbot-threads/update-thread#webpage\",\"url\":\"https://sitegpt.ai/docs/api-reference/chatbot-threads/update-thread\",\"name\":\"Update Thread\",\"description\":\"Update thread of the chatbot. The following thread properties can be updated. 1. Mode 2. Webhook url 3. Webhook token 4. Chat User details\",\"dateModified\":\"2026-08-26T16:45:28.448Z\",\"isPartOf\":{\"@id\":\"https://sitegpt.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://sitegpt.ai/docs/api-reference/chatbot-threads/update-thread#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://sitegpt.ai/docs/api-reference/chatbot-threads/update-thread#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Threads\",\"item\":\"https://sitegpt.ai/docs/api-reference/chatbot-threads/fetch-all-threads\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Thread\",\"item\":\"https://sitegpt.ai/docs/api-reference/chatbot-threads/update-thread\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://sitegpt.ai/docs/api-reference/chatbot-threads/update-thread#apireference\",\"headline\":\"Update Thread\",\"name\":\"Update Thread\",\"description\":\"Update thread of the chatbot. The following thread properties can be updated. 1. Mode 2. Webhook url 3. Webhook token 4. Chat User details\",\"url\":\"https://sitegpt.ai/docs/api-reference/chatbot-threads/update-thread\",\"mainEntityOfPage\":{\"@id\":\"https://sitegpt.ai/docs/api-reference/chatbot-threads/update-thread#webpage\"},\"dateModified\":\"2026-08-26T16:45:28.448Z\",\"publisher\":{\"@id\":\"https://sitegpt.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://sitegpt.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SiteGPT Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"SiteGPT Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction/what-is-sitegpt"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/overview"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"API Reference","versions":[{"version":"v2","default":true,"pages":[{"title":"v2","href":"/api-reference/v2/getting-started"}]},{"version":"v0","groups":[{"group":"Legacy API v0","icon":"book","pages":[{"title":"Legacy API v0","sidebarTitle":"Getting started","icon":"rocket","href":"/api-reference/getting-started"},{"title":"Move from API v0 to v2","sidebarTitle":"v0 to v2 mapping","icon":"arrow-right-arrow-left","href":"/api-reference/v0-to-v2"}]},{"group":"Chatbots","icon":"message-bot","pages":[{"openapi":"get /v0/chatbots","title":"Fetch All Chatbots","href":"/api-reference/chatbot/fetch-all-chatbots"},{"openapi":"post /v0/chatbots","title":"Create Chatbot","href":"/api-reference/chatbot/create-chatbot"},{"openapi":"get /v0/chatbots/{chatbotId}","title":"Fetch Chatbot","href":"/api-reference/chatbot/fetch-chatbot"},{"openapi":"delete /v0/chatbots/{chatbotId}","title":"Delete Chatbot","href":"/api-reference/chatbot/delete-chatbot"}]},{"group":"Appearance","icon":"palette","pages":[{"openapi":"patch /v0/chatbots/{chatbotId}/appearance","title":"Update Chatbot Appearance","href":"/api-reference/chatbot-appearance/update-chatbot-appearance"}]},{"group":"Custom Content","icon":"file-pen","pages":[{"openapi":"post /v0/chatbots/{chatbotId}/custom-content","title":"Modify Chatbot Custom Content","href":"/api-reference/chatbot-custom-content/modify-chatbot-custom-content"}]},{"group":"Follow-up Prompts","icon":"message-arrow-up","pages":[{"openapi":"get /v0/chatbots/{chatbotId}/follow-up-prompts","title":"Fetch All Follow Up Prompts","href":"/api-reference/chatbot-follow-up-prompts/fetch-all-follow-up-prompts"},{"openapi":"post /v0/chatbots/{chatbotId}/follow-up-prompts","title":"Add Follow Up Prompt","href":"/api-reference/chatbot-follow-up-prompts/add-follow-up-prompt"},{"openapi":"get /v0/chatbots/{chatbotId}/follow-up-prompts/{followUpPromptId}","title":"Fetch Follow Up Prompt","href":"/api-reference/chatbot-follow-up-prompts/fetch-follow-up-prompt"},{"openapi":"patch /v0/chatbots/{chatbotId}/follow-up-prompts/{followUpPromptId}","title":"Update Follow Up Prompt","href":"/api-reference/chatbot-follow-up-prompts/update-follow-up-prompt"},{"openapi":"delete /v0/chatbots/{chatbotId}/follow-up-prompts/{followUpPromptId}","title":"Delete Follow Up Prompt","href":"/api-reference/chatbot-follow-up-prompts/delete-follow-up-prompt"}]},{"group":"Icons","icon":"icons","pages":[{"openapi":"post /v0/chatbots/{chatbotId}/icons","title":"Update Chatbot Icons","href":"/api-reference/chatbot-icons/update-chatbot-icons"},{"openapi":"delete /v0/chatbots/{chatbotId}/icons","title":"Delete Chatbot Icons","href":"/api-reference/chatbot-icons/delete-chatbot-icons"}]},{"group":"Content \u0026 Training","icon":"book-open","pages":[{"openapi":"post /v0/chatbots/{chatbotId}/links","title":"Add Links to Chatbot (v0)","href":"/api-reference/chatbot-links/add-links-to-chatbot"},{"openapi":"post /v1/chatbots/{chatbotId}/links","title":"Add Content to Chatbot","href":"/api-reference/chatbot-links/add-content-to-chatbot"}]},{"group":"Messages","icon":"messages","pages":[{"openapi":"post /v0/chatbots/{chatbotId}/message","title":"Send Message","href":"/api-reference/chatbot-messages/send-message"},{"openapi":"patch /v0/chatbots/{chatbotId}/messages/{messageId}","title":"Update Message","href":"/api-reference/chatbot-messages/update-message"}]},{"group":"Personas","icon":"user-tie","pages":[{"openapi":"get /v0/chatbots/{chatbotId}/settings/personas","title":"Fetch All Chatbot Personas","href":"/api-reference/chatbot-personas/fetch-all-chatbot-personas"},{"openapi":"post /v0/chatbots/{chatbotId}/settings/personas","title":"Add Chatbot Persona","href":"/api-reference/chatbot-personas/add-chatbot-persona"},{"openapi":"get /v0/chatbots/{chatbotId}/settings/personas/{personaId}","title":"Fetch Chatbot Persona","href":"/api-reference/chatbot-personas/fetch-chatbot-persona"},{"openapi":"patch /v0/chatbots/{chatbotId}/settings/personas/{personaId}","title":"Update Chatbot Persona","href":"/api-reference/chatbot-personas/update-chatbot-persona"},{"openapi":"delete /v0/chatbots/{chatbotId}/settings/personas/{personaId}","title":"Delete Chatbot Persona","href":"/api-reference/chatbot-personas/delete-chatbot-persona"},{"openapi":"post /v0/chatbots/{chatbotId}/settings/personas/{personaId}/assign","title":"Assign Persona to Chatbot","href":"/api-reference/chatbot-personas/assign-persona-to-chatbot"}]},{"group":"Instructions","icon":"message-text","pages":[{"openapi":"get /v0/chatbots/{chatbotId}/settings/prompts","title":"Fetch All Chatbot Prompts","href":"/api-reference/chatbot-prompts/fetch-all-chatbot-prompts"},{"openapi":"post /v0/chatbots/{chatbotId}/settings/prompts","title":"Add Chatbot Prompt","href":"/api-reference/chatbot-prompts/add-chatbot-prompt"},{"openapi":"get /v0/chatbots/{chatbotId}/settings/prompts/{promptId}","title":"Fetch Chatbot Prompt","href":"/api-reference/chatbot-prompts/fetch-chatbot-prompt"},{"openapi":"patch /v0/chatbots/{chatbotId}/settings/prompts/{promptId}","title":"Update Chatbot Prompt","href":"/api-reference/chatbot-prompts/update-chatbot-prompt"},{"openapi":"delete /v0/chatbots/{chatbotId}/settings/prompts/{promptId}","title":"Delete Chatbot Prompt","href":"/api-reference/chatbot-prompts/delete-chatbot-prompt"},{"openapi":"post /v0/chatbots/{chatbotId}/settings/prompts/{promptId}/assign","title":"Assign Prompt to Chatbot","href":"/api-reference/chatbot-prompts/assign-prompt-to-chatbot"}]},{"group":"Conversation Starters","icon":"bolt","pages":[{"openapi":"get /v0/chatbots/{chatbotId}/conversation-starters","title":"Fetch All Conversation Starters","href":"/api-reference/chatbot-quick-prompts/fetch-all-quick-prompts"},{"openapi":"post /v0/chatbots/{chatbotId}/conversation-starters","title":"Add Conversation Starter","href":"/api-reference/chatbot-quick-prompts/add-quick-prompt"},{"openapi":"get /v0/chatbots/{chatbotId}/conversation-starters/{promptId}","title":"Fetch Conversation Starter","href":"/api-reference/chatbot-quick-prompts/fetch-quick-prompt"},{"openapi":"patch /v0/chatbots/{chatbotId}/conversation-starters/{promptId}","title":"Update Conversation Starter","href":"/api-reference/chatbot-quick-prompts/update-quick-prompt"},{"openapi":"delete /v0/chatbots/{chatbotId}/conversation-starters/{promptId}","title":"Delete Conversation Starter","href":"/api-reference/chatbot-quick-prompts/delete-quick-prompt"}]},{"group":"Settings","icon":"gear","pages":[{"openapi":"patch /v0/chatbots/{chatbotId}/settings/general","title":"Update Chatbot Settings - General","href":"/api-reference/chatbot-settings/update-chatbot-settings--general"},{"openapi":"patch /v0/chatbots/{chatbotId}/settings/advanced","title":"Update Chatbot Settings - Advanced","href":"/api-reference/chatbot-settings/update-chatbot-settings--advanced"},{"openapi":"patch /v0/chatbots/{chatbotId}/settings/chat-mode","title":"Update Chatbot Settings - Chat Mode","href":"/api-reference/chatbot-settings/update-chatbot-settings--chat-mode"},{"openapi":"patch /v0/chatbots/{chatbotId}/settings/localization","title":"Update Chatbot Settings - Localization","href":"/api-reference/chatbot-settings/update-chatbot-settings--localization"},{"openapi":"patch /v0/chatbots/{chatbotId}/settings/user-data","title":"Update Chatbot Settings - User Data","href":"/api-reference/chatbot-settings/update-chatbot-settings--user-data"}]},{"group":"Threads","icon":"message-lines","pages":[{"openapi":"get /v0/chatbots/{chatbotId}/threads","title":"Fetch All Threads","href":"/api-reference/chatbot-threads/fetch-all-threads"},{"openapi":"post /v0/chatbots/{chatbotId}/threads","title":"Create Thread","href":"/api-reference/chatbot-threads/create-thread"},{"openapi":"get /v0/chatbots/{chatbotId}/threads/{threadId}","title":"Fetch Thread","description":"Fetch a single thread of the chatbot","href":"/api-reference/chatbot-threads/fetch-thread"},{"openapi":"patch /v0/chatbots/{chatbotId}/threads/{threadId}","title":"Update Thread","href":"/api-reference/chatbot-threads/update-thread"},{"openapi":"post /v0/chatbots/{chatbotId}/threads/{threadId}/escalate","title":"Escalate Conversation","description":"Escalate a particular thread/conversation","href":"/api-reference/chatbot-threads/escalate-conversation"}]},{"group":"Whitelabel (Deprecated)","icon":"tag","pages":[{"openapi":"get /v0/w/brands","title":"Fetch Whitelabel Brands","href":"/api-reference/whitelabel/fetch-whitelabel-brands"},{"openapi":"get /v0/w/brands/{brandId}","title":"Fetch Whitelabel Brand","href":"/api-reference/whitelabel/fetch-whitelabel-brand"},{"openapi":"post /v0/w/brands/{brandId}/users","title":"Add Whitelabel User","href":"/api-reference/whitelabel/add-whitelabel-user"},{"openapi":"get /v0/w/brands/{brandId}/users/{userId}","title":"Fetch Whitelabel User","href":"/api-reference/whitelabel/fetch-whitelabel-user"},{"openapi":"patch /v0/w/brands/{brandId}/users/{userId}","title":"Update Whitelabel User","href":"/api-reference/whitelabel/update-whitelabel-user"},{"openapi":"patch /v0/w/brands/{brandId}/users/{userId}/api-key","title":"Generate API key for Whitelabel User","href":"/api-reference/whitelabel/generate-api-key-for-whitelabel-user"}]}]}]}]},"basePath":"","title":"Update Thread - SiteGPT Docs","buildId":"dpl_4RHMRqtvdHvKgaEfTTjFqjzja3B6","deploymentId":"dpl_4RHMRqtvdHvKgaEfTTjFqjzja3B6","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-D_4Sesi0.js","utils-DRHeK26p.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C6d-DUc2.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dex7slho.js","snippetPresets-BcCEBp0Z.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CufowNTX.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-A4lJSCIe.js","shallow-DqoHP7zn.js","getApiPlaygroundDisplay-Cku8AmtL.js","CodeSnippet-CtHQbNqc.js","CodeSnippets-CGo5Cslf.js","Page-BoJxk0m8.js","getPastedJson-M-bKdue4.js","icon-DEqCU4st.js","MethodPill-DnfSSXiJ.js","DuplicateIcon-BHu2PE8M.js","createIcon-BPsE5X7c.js","DynamicMarkdown-Dnt6YhtR.js","SectionHeading-6CtFWqMQ.js","axios-vUo_bRtp.js","Markdown-BoKe_1fI.js","clsx-DM5-sUNJ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CkIdkovK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-B3e6Nh_r.js"]}