When values is provided, creates a new checkpoint with the updated state.
Use as_node to attribute the update to a specific graph node. When
values is null AND as_node is not provided, this endpoint acts as a
POST-based alternative to the GET state endpoint (useful when passing
complex checkpoint/subgraph parameters in the request body).
When values is null AND as_node is provided (e.g. as_node="__copy__"
as LangGraph Studio sends for “Re-run from here”), this creates a new
checkpoint derived from the supplied checkpoint_id without applying
any state change — used to anchor a subsequent run as a fork of that
checkpoint rather than of the thread’s latest state.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Aegra","colors":{"primary":"#f97316","light":"#fb923c","dark":"#ea580c"},"logo":{"light":"https://mintcdn.com/aegra/Rwc7oJzYlJBOchZu/images/logo-light.svg?fit=max\u0026auto=format\u0026n=Rwc7oJzYlJBOchZu\u0026q=85\u0026s=021ca638c2cb9e56e3869be82560d741","dark":"https://mintcdn.com/aegra/Rwc7oJzYlJBOchZu/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=Rwc7oJzYlJBOchZu\u0026q=85\u0026s=67bbde1058431a2027f1f61b8a8fd11d"},"favicon":"https://mintcdn.com/aegra/Rwc7oJzYlJBOchZu/images/favicon.svg?fit=max\u0026auto=format\u0026n=Rwc7oJzYlJBOchZu\u0026q=85\u0026s=f42a720443ed46fb49c5c1bf43a0bc09","appearance":{"default":"dark"},"search":{"prompt":"Search Aegra docs..."},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aegra","hasAudioNarration":false,"actualSubdomain":"aegra","customDomains":["docs.aegra.dev"],"gitSource":{"type":"github","owner":"aegra","repo":"aegra","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae9cc409e45d74e232debe5","collectionId":"7b4b300f-7c0c-4e04-94d0-968f7fce3eaf","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae9cc409e45d74e232debe5"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae9cc409e45d74e232debe5","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API Reference","count":56},{"language":"default","tag":"Documentation","count":27},{"language":"default","tag":"Threads","count":13},{"language":"default","tag":"Assistants","count":12},{"language":"default","tag":"Thread Runs","count":11},{"language":"default","tag":"Getting started","count":7},{"language":"default","tag":"Configuration","count":7},{"language":"default","tag":"Crons","count":6},{"language":"default","tag":"Core concepts","count":5},{"language":"default","tag":"Store","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/threads/update-thread-state","slug":"/api-reference/threads/update-thread-state","pageMetadata":{"title":"Update Thread State","description":"Update thread state or retrieve it via POST.\n\nWhen `values` is provided, creates a new checkpoint with the updated state.\nUse `as_node` to attribute the update to a specific graph node. When\n`values` is null AND `as_node` is not provided, this endpoint acts as a\nPOST-based alternative to the GET state endpoint (useful when passing\ncomplex checkpoint/subgraph parameters in the request body).\n\nWhen `values` is null AND `as_node` is provided (e.g. ``as_node=\"__copy__\"``\nas LangGraph Studio sends for \"Re-run from here\"), this creates a new\ncheckpoint derived from the supplied ``checkpoint_id`` without applying\nany state change — used to anchor a subsequent run as a fork of that\ncheckpoint rather than of the thread's latest state.","deprecated":null,"version":null,"openapi":"/openapi.json post /threads/{thread_id}/state","href":"/api-reference/threads/update-thread-state","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Update thread state or retrieve it via POST.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"When \", _jsx(_components.code, {\n children: \"values\"\n }), \" is provided, creates a new checkpoint with the updated state.\\nUse \", _jsx(_components.code, {\n children: \"as_node\"\n }), \" to attribute the update to a specific graph node. When\\n\", _jsx(_components.code, {\n children: \"values\"\n }), \" is null AND \", _jsx(_components.code, {\n children: \"as_node\"\n }), \" is not provided, this endpoint acts as a\\nPOST-based alternative to the GET state endpoint (useful when passing\\ncomplex checkpoint/subgraph parameters in the request body).\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"When \", _jsx(_components.code, {\n children: \"values\"\n }), \" is null AND \", _jsx(_components.code, {\n children: \"as_node\"\n }), \" is provided (e.g. \", _jsx(_components.code, {\n children: \"as_node=\\\"__copy__\\\"\"\n }), \"\\nas LangGraph Studio sends for “Re-run from here”), this creates a new\\ncheckpoint derived from the supplied \", _jsx(_components.code, {\n children: \"checkpoint_id\"\n }), \" without applying\\nany state change — used to anchor a subsequent run as a fork of that\\ncheckpoint rather than of the thread’s latest state.\"]\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":{"title":"Update Thread State","description":"Update thread state or retrieve it via POST.\n\nWhen `values` is provided, creates a new checkpoint with the updated state.\nUse `as_node` to attribute the update to a specific graph node. When\n`values` is null AND `as_node` is not provided, this endpoint acts as a\nPOST-based alternative to the GET state endpoint (useful when passing\ncomplex checkpoint/subgraph parameters in the request body).\n\nWhen `values` is null AND `as_node` is provided (e.g. ``as_node=\"__copy__\"``\nas LangGraph Studio sends for \"Re-run from here\"), this creates a new\ncheckpoint derived from the supplied ``checkpoint_id`` without applying\nany state change — used to anchor a subsequent run as a fork of that\ncheckpoint rather than of the thread's latest state.","deprecated":null,"version":null,"openapi":"/openapi.json post /threads/{thread_id}/state","href":"/api-reference/threads/update-thread-state","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Threads"],"summary":"Update Thread State","description":"Update thread state or retrieve it via POST.\n\nWhen `values` is provided, creates a new checkpoint with the updated state.\nUse `as_node` to attribute the update to a specific graph node. When\n`values` is null AND `as_node` is not provided, this endpoint acts as a\nPOST-based alternative to the GET state endpoint (useful when passing\ncomplex checkpoint/subgraph parameters in the request body).\n\nWhen `values` is null AND `as_node` is provided (e.g. ``as_node=\"__copy__\"``\nas LangGraph Studio sends for \"Re-run from here\"), this creates a new\ncheckpoint derived from the supplied ``checkpoint_id`` without applying\nany state change — used to anchor a subsequent run as a fork of that\ncheckpoint rather than of the thread's latest state.","operationId":"update_thread_state_threads__thread_id__state_post","parameters":["a3f2ed5b-d390-4f5c-876c-99a5b0829200"],"requestBody":"2c69ea75-1884-458a-8764-13e1360c31be","responses":{"200":"02e37511-9b10-492c-8a8a-200bed386b36","404":"907aaad4-397f-4d35-bf8f-fafd481e7029","422":"6214bd16-5b9f-48df-b7bf-a31520387b32"},"method":"post","type":"path","servers":[],"security":[],"path":"/threads/{thread_id}/state","baseUrlOptions":[],"title":"Update Thread State","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a3f2ed5b-d390-4f5c-876c-99a5b0829200":{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"values":{"oneOf":[{"type":"object","title":"Values","description":"The values to update the state with","additionalProperties":true,"uniqueKey":"values.oneOf.0","typeLabel":"Values · object"},{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"values.oneOf.1.items.[INDEX]","typeLabel":"object"},"title":"Values","description":"The values to update the state with","uniqueKey":"values.oneOf.1","typeLabel":"Values · object[]"},{"type":"null","title":"Values","description":"The values to update the state with","uniqueKey":"values.oneOf.2","typeLabel":"null"}],"uniqueKey":"values","typeLabel":"Values · object | Values · object[] | null"},"checkpoint":{"oneOf":[{"type":"object","title":"Checkpoint","description":"The checkpoint to update the state of","additionalProperties":true,"uniqueKey":"checkpoint.oneOf.0","typeLabel":"Checkpoint · object"},{"type":"null","title":"Checkpoint","description":"The checkpoint to update the state of","uniqueKey":"checkpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkpoint","typeLabel":"Checkpoint · object | null"},"checkpoint_id":{"oneOf":[{"type":"string","title":"Checkpoint Id","description":"Optional checkpoint ID to update from","uniqueKey":"checkpoint_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Checkpoint Id","description":"Optional checkpoint ID to update from","uniqueKey":"checkpoint_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkpoint_id","typeLabel":"string | null"},"as_node":{"oneOf":[{"type":"string","title":"As Node","description":"Update the state as if this node had just executed","uniqueKey":"as_node.oneOf.0","typeLabel":"string"},{"type":"null","title":"As Node","description":"Update the state as if this node had just executed","uniqueKey":"as_node.oneOf.1","typeLabel":"null"}],"uniqueKey":"as_node","typeLabel":"string | null"},"subgraphs":{"oneOf":[{"type":"boolean","title":"Subgraphs","description":"Include states from subgraphs","default":false,"uniqueKey":"subgraphs.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Subgraphs","description":"Include states from subgraphs","default":false,"uniqueKey":"subgraphs.oneOf.1","typeLabel":"null"}],"uniqueKey":"subgraphs","typeLabel":"boolean | null"},"checkpoint_ns":{"oneOf":[{"type":"string","title":"Checkpoint Ns","description":"Checkpoint namespace","uniqueKey":"checkpoint_ns.oneOf.0","typeLabel":"string"},{"type":"null","title":"Checkpoint Ns","description":"Checkpoint namespace","uniqueKey":"checkpoint_ns.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkpoint_ns","typeLabel":"string | null"}},"type":"object","title":"ThreadStateUpdate","description":"Request model for updating thread state","uniqueKey":"","typeLabel":"ThreadStateUpdate · object"},"examples":{"Example":{"title":"Example","value":{"values":{},"checkpoint":{},"checkpoint_id":"\u003cstring>","as_node":"\u003cstring>","subgraphs":false,"checkpoint_ns":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"02e37511-9b10-492c-8a8a-200bed386b36":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"ThreadState","description":"Thread state model for history endpoint","required":["values","checkpoint"],"properties":{"values":{"additionalProperties":true,"type":"object","title":"Values","description":"Channel values (messages, etc.)","isRequired":true,"uniqueKey":"oneOf.0.values","typeLabel":"Values · object"},"checkpoint":{"properties":{"checkpoint_id":{"oneOf":[{"type":"string","title":"Checkpoint Id","uniqueKey":"oneOf.0.checkpoint.checkpoint_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Checkpoint Id","uniqueKey":"oneOf.0.checkpoint.checkpoint_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.checkpoint.checkpoint_id","typeLabel":"string | null"},"thread_id":{"oneOf":[{"type":"string","title":"Thread Id","uniqueKey":"oneOf.0.checkpoint.thread_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Thread Id","uniqueKey":"oneOf.0.checkpoint.thread_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.checkpoint.thread_id","typeLabel":"string | null"},"checkpoint_ns":{"oneOf":[{"type":"string","title":"Checkpoint Ns","default":"","uniqueKey":"oneOf.0.checkpoint.checkpoint_ns.oneOf.0","typeLabel":"string"},{"type":"null","title":"Checkpoint Ns","default":"","uniqueKey":"oneOf.0.checkpoint.checkpoint_ns.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.checkpoint.checkpoint_ns","typeLabel":"string | null"}},"type":"object","title":"ThreadCheckpoint","description":"Current checkpoint","isRequired":true,"uniqueKey":"oneOf.0.checkpoint","typeLabel":"ThreadCheckpoint · object"},"next":{"items":{"type":"string","uniqueKey":"oneOf.0.next.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Next","description":"Next nodes to execute","uniqueKey":"oneOf.0.next","typeLabel":"string[]"},"tasks":{"items":{"additionalProperties":true,"type":"object","uniqueKey":"oneOf.0.tasks.items.[INDEX]","typeLabel":"object"},"type":"array","title":"Tasks","description":"Tasks to execute","uniqueKey":"oneOf.0.tasks","typeLabel":"Tasks · object[]"},"interrupts":{"items":{"additionalProperties":true,"type":"object","uniqueKey":"oneOf.0.interrupts.items.[INDEX]","typeLabel":"object"},"type":"array","title":"Interrupts","description":"Interrupt data","uniqueKey":"oneOf.0.interrupts","typeLabel":"Interrupts · object[]"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","description":"Checkpoint metadata","uniqueKey":"oneOf.0.metadata","typeLabel":"Metadata · object"},"created_at":{"oneOf":[{"type":"string","title":"Created At","description":"Timestamp of state creation","format":"date-time","uniqueKey":"oneOf.0.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Created At","description":"Timestamp of state creation","uniqueKey":"oneOf.0.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.created_at","typeLabel":"string\u003cdate-time> | null"},"parent_checkpoint":{"oneOf":[{"type":"object","title":"ThreadCheckpoint","description":"Parent checkpoint","properties":{"checkpoint_id":{"oneOf":[{"type":"string","title":"Checkpoint Id","uniqueKey":"oneOf.0.parent_checkpoint.oneOf.0.checkpoint_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Checkpoint Id","uniqueKey":"oneOf.0.parent_checkpoint.oneOf.0.checkpoint_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.parent_checkpoint.oneOf.0.checkpoint_id","typeLabel":"string | null"},"thread_id":{"oneOf":[{"type":"string","title":"Thread Id","uniqueKey":"oneOf.0.parent_checkpoint.oneOf.0.thread_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Thread Id","uniqueKey":"oneOf.0.parent_checkpoint.oneOf.0.thread_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.parent_checkpoint.oneOf.0.thread_id","typeLabel":"string | null"},"checkpoint_ns":{"oneOf":[{"type":"string","title":"Checkpoint Ns","default":"","uniqueKey":"oneOf.0.parent_checkpoint.oneOf.0.checkpoint_ns.oneOf.0","typeLabel":"string"},{"type":"null","title":"Checkpoint Ns","default":"","uniqueKey":"oneOf.0.parent_checkpoint.oneOf.0.checkpoint_ns.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.parent_checkpoint.oneOf.0.checkpoint_ns","typeLabel":"string | null"}},"uniqueKey":"oneOf.0.parent_checkpoint.oneOf.0","typeLabel":"ThreadCheckpoint · object"},{"type":"null","description":"Parent checkpoint","uniqueKey":"oneOf.0.parent_checkpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.parent_checkpoint","typeLabel":"ThreadCheckpoint · object | null"},"checkpoint_id":{"oneOf":[{"type":"string","title":"Checkpoint Id","description":"Checkpoint ID (for backward compatibility)","uniqueKey":"oneOf.0.checkpoint_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Checkpoint Id","description":"Checkpoint ID (for backward compatibility)","uniqueKey":"oneOf.0.checkpoint_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.checkpoint_id","typeLabel":"string | null"},"parent_checkpoint_id":{"oneOf":[{"type":"string","title":"Parent Checkpoint Id","description":"Parent checkpoint ID (for backward compatibility)","uniqueKey":"oneOf.0.parent_checkpoint_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Parent Checkpoint Id","description":"Parent checkpoint ID (for backward compatibility)","uniqueKey":"oneOf.0.parent_checkpoint_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.parent_checkpoint_id","typeLabel":"string | null"}},"uniqueKey":"oneOf.0","typeLabel":"ThreadState · object"},{"type":"object","title":"ThreadStateUpdateResponse","description":"Response model for thread state update","required":["checkpoint"],"properties":{"checkpoint":{"additionalProperties":true,"type":"object","title":"Checkpoint","description":"The checkpoint that was created/updated","isRequired":true,"uniqueKey":"oneOf.1.checkpoint","typeLabel":"Checkpoint · object"}},"uniqueKey":"oneOf.1","typeLabel":"ThreadStateUpdateResponse · object"}],"uniqueKey":"","typeLabel":"ThreadState · object | ThreadStateUpdateResponse · object"},"examples":{"Example":{"title":"Example","value":{"values":{},"checkpoint":{"checkpoint_id":"\u003cstring>","thread_id":"\u003cstring>","checkpoint_ns":""},"next":["\u003cstring>"],"tasks":[{}],"interrupts":[{}],"metadata":{},"created_at":"2023-11-07T05:31:56Z","parent_checkpoint":{"checkpoint_id":"\u003cstring>","thread_id":"\u003cstring>","checkpoint_ns":""},"checkpoint_id":"\u003cstring>","parent_checkpoint_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"907aaad4-397f-4d35-bf8f-fafd481e7029":{"description":"Resource not found","content":{"application/json":{"schema":{"properties":{"error":{"type":"string","title":"Error","description":"Error type","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","title":"Message","description":"Human-readable error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{"type":"object","title":"Details","description":"Additional error details","additionalProperties":true,"uniqueKey":"details.oneOf.0","typeLabel":"Details · object"},{"type":"null","title":"Details","description":"Additional error details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"Details · object | null"}},"type":"object","required":["error","message"],"title":"AgentProtocolError","description":"Standard Agent Protocol error response","uniqueKey":"","typeLabel":"AgentProtocolError · object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"6214bd16-5b9f-48df-b7bf-a31520387b32":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{}},"originalFileLocation":"openapi.json"},"subdomain":"aegra","siteName":"Aegra","title":"Update Thread State - Aegra","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-25T15:29:15.333Z","originalFileLocation":"api-reference/threads/update-thread-state.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Update thread state or retrieve it via POST. When values is provided, creates a new checkpoint with the updated state. Use as_node to attribute the update to a specific graph node. When values is null AND as_node is not provided, this endpoint acts as a POST-based alternative to the GET state endpoint (useful when passing complex checkpoint/subgraph parameters in the request body). When values is null AND as_node is provided (e.g. as_node=\u0026quot;copy\u0026quot; as LangGraph Studio sends for \u0026quot;Re-run from here\u0026quot;), this creates a new checkpoint derived from the supplied checkpoint_id without applying any state change — used to anchor a subsequent run as a fork of that checkpoint rather than of the thread\u0026#x27;s latest state.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Aegra\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aegra/PXmwwk9BNjTPZqTG/_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/aegra/PXmwwk9BNjTPZqTG/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aegra/PXmwwk9BNjTPZqTG/_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/aegra/PXmwwk9BNjTPZqTG/_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/aegra/PXmwwk9BNjTPZqTG/_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/aegra/PXmwwk9BNjTPZqTG/_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/aegra/PXmwwk9BNjTPZqTG/_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/aegra/PXmwwk9BNjTPZqTG/_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/aegra/PXmwwk9BNjTPZqTG/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Thread State - Aegra\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update thread state or retrieve it via POST. When values is provided, creates a new checkpoint with the updated state. Use as_node to attribute the update to a specific graph node. When values is null AND as_node is not provided, this endpoint acts as a POST-based alternative to the GET state endpoint (useful when passing complex checkpoint/subgraph parameters in the request body). When values is null AND as_node is provided (e.g. as_node=\u0026quot;copy\u0026quot; as LangGraph Studio sends for \u0026quot;Re-run from here\u0026quot;), this creates a new checkpoint derived from the supplied checkpoint_id without applying any state change — used to anchor a subsequent run as a fork of that checkpoint rather than of the thread\u0026#x27;s latest state.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Aegra\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.aegra.dev/api-reference/threads/update-thread-state\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aegra.mintlify.site/_mintlify/api/og/v2?division=Threads\u0026amp;title=Update+Thread+State\u0026amp;description=Update+thread+state+or+retrieve+it+via+POST.%0A%0AWhen+%60values%60+is+provided%2C+creates+a+new+checkpoint+with+the+updated+state.%0AUse+%60as_node%60+to+attribute+the+update+\u0026amp;theme=91d2c677a0dfb352733d0c75\u0026amp;signature=af84ee8738db597f110a8d482ea8e034716229fd4aeafffa8e3d6ff21cf27f60\">\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 State - Aegra\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update thread state or retrieve it via POST. When values is provided, creates a new checkpoint with the updated state. Use as_node to attribute the update to a specific graph node. When values is null AND as_node is not provided, this endpoint acts as a POST-based alternative to the GET state endpoint (useful when passing complex checkpoint/subgraph parameters in the request body). When values is null AND as_node is provided (e.g. as_node=\u0026quot;copy\u0026quot; as LangGraph Studio sends for \u0026quot;Re-run from here\u0026quot;), this creates a new checkpoint derived from the supplied checkpoint_id without applying any state change — used to anchor a subsequent run as a fork of that checkpoint rather than of the thread\u0026#x27;s latest state.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aegra.mintlify.site/_mintlify/api/og/v2?division=Threads\u0026amp;title=Update+Thread+State\u0026amp;description=Update+thread+state+or+retrieve+it+via+POST.%0A%0AWhen+%60values%60+is+provided%2C+creates+a+new+checkpoint+with+the+updated+state.%0AUse+%60as_node%60+to+attribute+the+update+\u0026amp;theme=91d2c677a0dfb352733d0c75\u0026amp;signature=af84ee8738db597f110a8d482ea8e034716229fd4aeafffa8e3d6ff21cf27f60\">\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/aegra/PXmwwk9BNjTPZqTG/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Aegra\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#f97316\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.aegra.dev/api-reference/threads/update-thread-state\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/threads/update-thread-state.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.aegra.dev/#organization\",\"name\":\"Aegra\",\"url\":\"https://docs.aegra.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aegra/Rwc7oJzYlJBOchZu/images/logo-light.svg?fit=max\u0026auto=format\u0026n=Rwc7oJzYlJBOchZu\u0026q=85\u0026s=021ca638c2cb9e56e3869be82560d741\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.aegra.dev#website\",\"name\":\"Aegra\",\"url\":\"https://docs.aegra.dev\",\"publisher\":{\"@id\":\"https://docs.aegra.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.aegra.dev/api-reference/threads/update-thread-state#webpage\",\"url\":\"https://docs.aegra.dev/api-reference/threads/update-thread-state\",\"name\":\"Update Thread State\",\"description\":\"Update thread state or retrieve it via POST. When values is provided, creates a new checkpoint with the updated state. Use as_node to attribute the update to a specific graph node. When values is null AND as_node is not provided, this endpoint acts as a POST-based alternative to the GET state endpoint (useful when passing complex checkpoint/subgraph parameters in the request body). When values is null AND as_node is provided (e.g. as_node=\\\"copy\\\" as LangGraph Studio sends for \\\"Re-run from here\\\"), this creates a new checkpoint derived from the supplied checkpoint_id without applying any state change — used to anchor a subsequent run as a fork of that checkpoint rather than of the thread's latest state.\",\"dateModified\":\"2026-10-25T15:29:15.333Z\",\"isPartOf\":{\"@id\":\"https://docs.aegra.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.aegra.dev/api-reference/threads/update-thread-state#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.aegra.dev/api-reference/threads/update-thread-state#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Threads\",\"item\":\"https://docs.aegra.dev/api-reference/threads/list-threads\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Thread State\",\"item\":\"https://docs.aegra.dev/api-reference/threads/update-thread-state\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.aegra.dev/api-reference/threads/update-thread-state#apireference\",\"headline\":\"Update Thread State\",\"name\":\"Update Thread State\",\"description\":\"Update thread state or retrieve it via POST. When values is provided, creates a new checkpoint with the updated state. Use as_node to attribute the update to a specific graph node. When values is null AND as_node is not provided, this endpoint acts as a POST-based alternative to the GET state endpoint (useful when passing complex checkpoint/subgraph parameters in the request body). When values is null AND as_node is provided (e.g. as_node=\\\"copy\\\" as LangGraph Studio sends for \\\"Re-run from here\\\"), this creates a new checkpoint derived from the supplied checkpoint_id without applying any state change — used to anchor a subsequent run as a fork of that checkpoint rather than of the thread's latest state.\",\"url\":\"https://docs.aegra.dev/api-reference/threads/update-thread-state\",\"mainEntityOfPage\":{\"@id\":\"https://docs.aegra.dev/api-reference/threads/update-thread-state#webpage\"},\"dateModified\":\"2026-10-25T15:29:15.333Z\",\"publisher\":{\"@id\":\"https://docs.aegra.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.aegra.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Aegra\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Aegra","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Health","pages":[{"title":"Info","deprecated":null,"version":null,"openapi":"/openapi.json get /info","href":"/api-reference/health/info"},{"title":"Health Check","deprecated":null,"version":null,"openapi":"/openapi.json get /health","href":"/api-reference/health/health-check"},{"title":"Readiness Check","deprecated":null,"version":null,"openapi":"/openapi.json get /ready","href":"/api-reference/health/readiness-check"},{"title":"Liveness Check","deprecated":null,"version":null,"openapi":"/openapi.json get /live","href":"/api-reference/health/liveness-check"}]},{"group":"Assistants","pages":[{"title":"List Assistants","deprecated":null,"version":null,"openapi":"/openapi.json get /assistants","href":"/api-reference/assistants/list-assistants"},{"title":"Create Assistant","deprecated":null,"version":null,"openapi":"/openapi.json post /assistants","href":"/api-reference/assistants/create-assistant"},{"title":"Search Assistants","deprecated":null,"version":null,"openapi":"/openapi.json post /assistants/search","href":"/api-reference/assistants/search-assistants"},{"title":"Count Assistants","deprecated":null,"version":null,"openapi":"/openapi.json post /assistants/count","href":"/api-reference/assistants/count-assistants"},{"title":"Get Assistant","deprecated":null,"version":null,"openapi":"/openapi.json get /assistants/{assistant_id}","href":"/api-reference/assistants/get-assistant"},{"title":"Delete Assistant","deprecated":null,"version":null,"openapi":"/openapi.json delete /assistants/{assistant_id}","href":"/api-reference/assistants/delete-assistant"},{"title":"Update Assistant","deprecated":null,"version":null,"openapi":"/openapi.json patch /assistants/{assistant_id}","href":"/api-reference/assistants/update-assistant"},{"title":"Set Assistant Latest","deprecated":null,"version":null,"openapi":"/openapi.json post /assistants/{assistant_id}/latest","href":"/api-reference/assistants/set-assistant-latest"},{"title":"List Assistant Versions","deprecated":null,"version":null,"openapi":"/openapi.json post /assistants/{assistant_id}/versions","href":"/api-reference/assistants/list-assistant-versions"},{"title":"Get Assistant Schemas","deprecated":null,"version":null,"openapi":"/openapi.json get /assistants/{assistant_id}/schemas","href":"/api-reference/assistants/get-assistant-schemas"},{"title":"Get Assistant Graph","deprecated":null,"version":null,"openapi":"/openapi.json get /assistants/{assistant_id}/graph","href":"/api-reference/assistants/get-assistant-graph"},{"title":"Get Assistant Subgraphs","deprecated":null,"version":null,"openapi":"/openapi.json get /assistants/{assistant_id}/subgraphs","href":"/api-reference/assistants/get-assistant-subgraphs"}]},{"group":"Threads","pages":[{"title":"List Threads","deprecated":null,"version":null,"openapi":"/openapi.json get /threads","href":"/api-reference/threads/list-threads"},{"title":"Create Thread","deprecated":null,"version":null,"openapi":"/openapi.json post /threads","href":"/api-reference/threads/create-thread"},{"title":"Get Thread","deprecated":null,"version":null,"openapi":"/openapi.json get /threads/{thread_id}","href":"/api-reference/threads/get-thread"},{"title":"Delete Thread","deprecated":null,"version":null,"openapi":"/openapi.json delete /threads/{thread_id}","href":"/api-reference/threads/delete-thread"},{"title":"Update Thread","deprecated":null,"version":null,"openapi":"/openapi.json patch /threads/{thread_id}","href":"/api-reference/threads/update-thread"},{"title":"Get Thread State","description":"Get the current state of a thread.\n\nReturns the latest checkpoint's values, pending next nodes, interrupt\ndata, and metadata. If the thread has no associated graph yet (no runs\nexecuted), returns an empty state.","deprecated":null,"version":null,"openapi":"/openapi.json get /threads/{thread_id}/state","href":"/api-reference/threads/get-thread-state"},{"title":"Update Thread State","deprecated":null,"version":null,"openapi":"/openapi.json post /threads/{thread_id}/state","href":"/api-reference/threads/update-thread-state"},{"title":"Get Thread State At Checkpoint","description":"Get the thread state at a specific checkpoint.\n\nUse this to inspect historical state at any point in the thread's\nexecution history. Returns 404 if the checkpoint does not exist.","deprecated":null,"version":null,"openapi":"/openapi.json get /threads/{thread_id}/state/{checkpoint_id}","href":"/api-reference/threads/get-thread-state-at-checkpoint"},{"title":"Get Thread State At Checkpoint Post","deprecated":null,"version":null,"openapi":"/openapi.json post /threads/{thread_id}/state/checkpoint","href":"/api-reference/threads/get-thread-state-at-checkpoint-post"},{"title":"Get Thread History Get","deprecated":null,"version":null,"openapi":"/openapi.json get /threads/{thread_id}/history","href":"/api-reference/threads/get-thread-history-get"},{"title":"Get Thread History Post","deprecated":null,"version":null,"openapi":"/openapi.json post /threads/{thread_id}/history","href":"/api-reference/threads/get-thread-history-post"},{"title":"Prune Threads","deprecated":null,"version":null,"openapi":"/openapi.json post /threads/prune","href":"/api-reference/threads/prune-threads"},{"title":"Search Threads","deprecated":null,"version":null,"openapi":"/openapi.json post /threads/search","href":"/api-reference/threads/search-threads"}]},{"group":"Thread Runs","pages":[{"title":"List Runs","deprecated":null,"version":null,"openapi":"/openapi.json get /threads/{thread_id}/runs","href":"/api-reference/thread-runs/list-runs"},{"title":"Create Run","deprecated":null,"version":null,"openapi":"/openapi.json post /threads/{thread_id}/runs","href":"/api-reference/thread-runs/create-run"},{"title":"Create And Stream Run","deprecated":null,"version":null,"openapi":"/openapi.json post /threads/{thread_id}/runs/stream","href":"/api-reference/thread-runs/create-and-stream-run"},{"title":"Get Run","deprecated":null,"version":null,"openapi":"/openapi.json get /threads/{thread_id}/runs/{run_id}","href":"/api-reference/thread-runs/get-run"},{"title":"Delete Run","deprecated":null,"version":null,"openapi":"/openapi.json delete /threads/{thread_id}/runs/{run_id}","href":"/api-reference/thread-runs/delete-run"},{"title":"Update Run","deprecated":null,"version":null,"openapi":"/openapi.json patch /threads/{thread_id}/runs/{run_id}","href":"/api-reference/thread-runs/update-run"},{"title":"Join Run","deprecated":null,"version":null,"openapi":"/openapi.json get /threads/{thread_id}/runs/{run_id}/join","href":"/api-reference/thread-runs/join-run"},{"title":"Wait For Run","deprecated":null,"version":null,"openapi":"/openapi.json post /threads/{thread_id}/runs/wait","href":"/api-reference/thread-runs/wait-for-run"},{"title":"Stream Run","deprecated":null,"version":null,"openapi":"/openapi.json get /threads/{thread_id}/runs/{run_id}/stream","href":"/api-reference/thread-runs/stream-run"},{"title":"Cancel Run Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /threads/{thread_id}/runs/{run_id}/cancel","href":"/api-reference/thread-runs/cancel-run-endpoint"},{"title":"Cancel Runs","deprecated":null,"version":null,"openapi":"/openapi.json post /runs/cancel","href":"/api-reference/thread-runs/cancel-runs"}]},{"group":"Stateless Runs","pages":[{"title":"Stateless Wait For Run","deprecated":null,"version":null,"openapi":"/openapi.json post /runs/wait","href":"/api-reference/stateless-runs/stateless-wait-for-run"},{"title":"Stateless Stream Run","deprecated":null,"version":null,"openapi":"/openapi.json post /runs/stream","href":"/api-reference/stateless-runs/stateless-stream-run"},{"title":"Stateless Create Run","deprecated":null,"version":null,"openapi":"/openapi.json post /runs","href":"/api-reference/stateless-runs/stateless-create-run"}]},{"group":"Crons","pages":[{"title":"Create Cron","deprecated":null,"version":null,"openapi":"/openapi.json post /runs/crons","href":"/api-reference/crons/create-cron"},{"title":"Create Cron For Thread","deprecated":null,"version":null,"openapi":"/openapi.json post /threads/{thread_id}/runs/crons","href":"/api-reference/crons/create-cron-for-thread"},{"title":"Delete Cron","deprecated":null,"version":null,"openapi":"/openapi.json delete /runs/crons/{cron_id}","href":"/api-reference/crons/delete-cron"},{"title":"Update Cron","deprecated":null,"version":null,"openapi":"/openapi.json patch /runs/crons/{cron_id}","href":"/api-reference/crons/update-cron"},{"title":"Search Crons","deprecated":null,"version":null,"openapi":"/openapi.json post /runs/crons/search","href":"/api-reference/crons/search-crons"},{"title":"Count Crons","deprecated":null,"version":null,"openapi":"/openapi.json post /runs/crons/count","href":"/api-reference/crons/count-crons"}]},{"group":"Store","pages":[{"title":"Get Store Item","deprecated":null,"version":null,"openapi":"/openapi.json get /store/items","href":"/api-reference/store/get-store-item"},{"title":"Put Store Item","deprecated":null,"version":null,"openapi":"/openapi.json put /store/items","href":"/api-reference/store/put-store-item"},{"title":"Delete Store Item","deprecated":null,"version":null,"openapi":"/openapi.json delete /store/items","href":"/api-reference/store/delete-store-item"},{"title":"Search Store Items","deprecated":null,"version":null,"openapi":"/openapi.json post /store/items/search","href":"/api-reference/store/search-store-items"},{"title":"List Namespaces","deprecated":null,"version":null,"openapi":"/openapi.json post /store/namespaces","href":"/api-reference/store/list-namespaces"}]},{"group":"Event Streaming","pages":[{"title":"Stream Thread Events","deprecated":null,"version":null,"openapi":"/openapi.json post /threads/{thread_id}/stream/events","href":"/api-reference/event-streaming/stream-thread-events"},{"title":"Post Thread Command","deprecated":null,"version":null,"openapi":"/openapi.json post /threads/{thread_id}/commands","href":"/api-reference/event-streaming/post-thread-command"}]}]}]},"basePath":"","title":"Update Thread State - Aegra","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}