From 307f35a204e70fcc95330ef6ea1aa62489d298c3 Mon Sep 17 00:00:00 2001 From: jdrogers940 Date: Mon, 25 Aug 2025 21:40:10 +0000 Subject: [PATCH] Update OpenAPI spec from LangGraph API v0.3.4 --- docs/docs/cloud/reference/api/openapi.json | 67 ++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/docs/docs/cloud/reference/api/openapi.json b/docs/docs/cloud/reference/api/openapi.json index 212a65a74..4fa99c8a3 100644 --- a/docs/docs/cloud/reference/api/openapi.json +++ b/docs/docs/cloud/reference/api/openapi.json @@ -1520,6 +1520,73 @@ } } }, + "/threads/{thread_id}/stream": { + "get": { + "tags": [ + "Threads" + ], + "summary": "Join Thread Stream", + "description": "This endpoint streams output in real-time from a thread. The stream will include the output of each run executed sequentially on the thread and will remain open indefinitely. It is the responsibility of the calling client to close the connection.", + "operationId": "join_thread_stream_threads__thread_id__stream_get", + "parameters": [ + { + "description": "The ID of the thread.", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Thread Id", + "description": "The ID of the thread." + }, + "name": "thread_id", + "in": "path" + }, + { + "required": false, + "schema": { + "type": "string", + "title": "Last Event ID", + "description": "The ID of the last event received. Used to resume streaming from a specific point. Pass '-' to resume from the beginning." + }, + "name": "Last-Event-ID", + "in": "header" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/event-stream": { + "schema": { + "type": "string", + "description": "The server will send a stream of events in SSE format.\n\n**Example event**:\n\nid: 1\n\nevent: message\n\ndata: {}" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, "/threads/{thread_id}/runs": { "get": { "tags": [