From dfc1c59ebfc6fa125575083c0fbbee238d9e4b62 Mon Sep 17 00:00:00 2001 From: William FH <13333726+hinthornw@users.noreply.github.com> Date: Thu, 4 Sep 2025 09:37:39 +0800 Subject: [PATCH] chore(docs): Update OpenAPI spec from LangGraph API v0.4.11 (#6074) This PR updates the OpenAPI specification with changes detected from the LangGraph API server. **Changes detected as of LangGraph API version 0.4.11** This update was automatically generated by the sync workflow in the langgraph-api repository. Co-authored-by: hinthornw --- docs/docs/cloud/reference/api/openapi.json | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/docs/cloud/reference/api/openapi.json b/docs/docs/cloud/reference/api/openapi.json index 90cecdd76..3b16a7ea7 100644 --- a/docs/docs/cloud/reference/api/openapi.json +++ b/docs/docs/cloud/reference/api/openapi.json @@ -5261,11 +5261,30 @@ "type": "object", "title": "Metadata", "description": "Metadata to merge with existing thread metadata." + }, + "ttl": { + "type": "object", + "title": "TTL", + "description": "The time-to-live for the thread.", + "properties": { + "strategy": { + "type": "string", + "enum": [ + "delete" + ], + "description": "The TTL strategy. 'delete' removes the entire thread.", + "default": "delete" + }, + "ttl": { + "type": "number", + "description": "The time-to-live in minutes from now until thread should be swept." + } + } } }, "type": "object", "title": "ThreadPatch", - "description": "Payload for creating a thread." + "description": "Payload for updating a thread." }, "ThreadStateCheckpointRequest": { "properties": {