From b08c2e092f47a17c412760d147cadab9dd333fdb Mon Sep 17 00:00:00 2001 From: William FH <13333726+hinthornw@users.noreply.github.com> Date: Wed, 3 Sep 2025 01:10:12 +0800 Subject: [PATCH] chore(docs): Update OpenAPI spec from LangGraph API v0.4.8 (#6048) This PR updates the OpenAPI specification with changes detected from the LangGraph API server. **Changes detected as of LangGraph API version 0.4.8** 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 | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/docs/docs/cloud/reference/api/openapi.json b/docs/docs/cloud/reference/api/openapi.json index 4fa99c8a3..d322f5ee0 100644 --- a/docs/docs/cloud/reference/api/openapi.json +++ b/docs/docs/cloud/reference/api/openapi.json @@ -1550,6 +1550,29 @@ }, "name": "Last-Event-ID", "in": "header" + }, + { + "required": false, + "schema": { + "anyOf": [ + { + "type": "string", + "enum": ["lifecycle", "run_modes", "state_update"] + }, + { + "type": "array", + "items": { + "type": "string", + "enum": ["lifecycle", "run_modes", "state_update"] + } + } + ], + "default": ["run_modes"], + "title": "Stream Modes", + "description": "Stream modes to control which events are returned. 'lifecycle' returns only run start/end events, 'run_modes' returns all run events (default behavior), 'state_update' returns only state update events." + }, + "name": "stream_modes", + "in": "query" } ], "responses": { @@ -4413,6 +4436,17 @@ "title": "Checkpoint During", "description": "Whether to checkpoint during the run.", "default": false + }, + "durability": { + "type": "string", + "enum": [ + "sync", + "async", + "exit" + ], + "title": "Durability", + "description": "Durability level for the run. Must be one of 'sync', 'async', or 'exit'.", + "default": "async" } }, "type": "object", @@ -4649,6 +4683,17 @@ "title": "Checkpoint During", "description": "Whether to checkpoint during the run.", "default": false + }, + "durability": { + "type": "string", + "enum": [ + "sync", + "async", + "exit" + ], + "title": "Durability", + "description": "Durability level for the run. Must be one of 'sync', 'async', or 'exit'.", + "default": "async" } }, "type": "object",