From b56c32cddcf07746c4e1cc4171a3fa5f9852a0cf Mon Sep 17 00:00:00 2001 From: gliozzo <54385608+gliozzo@users.noreply.github.com> Date: Mon, 16 Mar 2026 20:32:53 +0000 Subject: [PATCH] docs: OpenAPI spec version upgraded from 1.8.0 to 1.8.1 --- docs/openapi/openapi.json | 517 ++++++++++++++++++++++++++++++-------- 1 file changed, 417 insertions(+), 100 deletions(-) diff --git a/docs/openapi/openapi.json b/docs/openapi/openapi.json index 524cb40f7c2c..5bad33e34163 100644 --- a/docs/openapi/openapi.json +++ b/docs/openapi/openapi.json @@ -2,99 +2,7 @@ "openapi": "3.1.0", "info": { "title": "Langflow", - "version": "1.8.0" - }, - "$defs": { - "ComponentOutput": { - "description": "Component output schema.", - "properties": { - "type": { - "description": "Type of the component output (e.g., 'message', 'data', 'tool', 'text')", - "title": "Type", - "type": "string" - }, - "status": { - "$ref": "#/$defs/JobStatus" - }, - "content": { - "anyOf": [ - {}, - { - "type": "null" - } - ], - "title": "Content" - }, - "metadata": { - "anyOf": [ - { - "additionalProperties": true, - "type": "object" - }, - { - "type": "null" - } - ], - "title": "Metadata" - } - }, - "required": [ - "type", - "status" - ], - "title": "ComponentOutput", - "type": "object" - }, - "ErrorDetail": { - "description": "Error detail schema.", - "properties": { - "error": { - "title": "Error", - "type": "string" - }, - "code": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Code" - }, - "details": { - "anyOf": [ - { - "additionalProperties": true, - "type": "object" - }, - { - "type": "null" - } - ], - "title": "Details" - } - }, - "required": [ - "error" - ], - "title": "ErrorDetail", - "type": "object" - }, - "JobStatus": { - "description": "Job execution status.", - "enum": [ - "queued", - "in_progress", - "completed", - "failed", - "cancelled", - "timed_out" - ], - "title": "JobStatus", - "type": "string" - } + "version": "1.8.1" }, "paths": { "/api/v1/build/{flow_id}/flow": { @@ -3595,7 +3503,7 @@ ], "summary": "Handle Streamable Http", "description": "Streamable HTTP endpoint for MCP clients that support the new transport.", - "operationId": "handle_streamable_http_api_v1_mcp_streamable_delete", + "operationId": "handle_streamable_http_api_v1_mcp_streamable_post", "responses": { "200": { "description": "Successful Response" @@ -3619,7 +3527,7 @@ ], "summary": "Handle Streamable Http", "description": "Streamable HTTP endpoint for MCP clients that support the new transport.", - "operationId": "handle_streamable_http_api_v1_mcp_streamable_delete", + "operationId": "handle_streamable_http_api_v1_mcp_streamable_post", "responses": { "200": { "description": "Successful Response" @@ -3643,7 +3551,7 @@ ], "summary": "Handle Streamable Http", "description": "Streamable HTTP endpoint for MCP clients that support the new transport.", - "operationId": "handle_streamable_http_api_v1_mcp_streamable_delete", + "operationId": "handle_streamable_http_api_v1_mcp_streamable_post", "responses": { "200": { "description": "Successful Response" @@ -3679,6 +3587,80 @@ } } }, + "/api/v1/mcp/streamable/": { + "get": { + "tags": [ + "mcp" + ], + "summary": "Handle Streamable Http", + "description": "Streamable HTTP endpoint for MCP clients that support the new transport.", + "operationId": "handle_streamable_http_api_v1_mcp_streamable__post", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearerCookie": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] + }, + "post": { + "tags": [ + "mcp" + ], + "summary": "Handle Streamable Http", + "description": "Streamable HTTP endpoint for MCP clients that support the new transport.", + "operationId": "handle_streamable_http_api_v1_mcp_streamable__post", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearerCookie": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] + }, + "delete": { + "tags": [ + "mcp" + ], + "summary": "Handle Streamable Http", + "description": "Streamable HTTP endpoint for MCP clients that support the new transport.", + "operationId": "handle_streamable_http_api_v1_mcp_streamable__post", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearerCookie": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] + } + }, "/api/v1/mcp/project/{project_id}": { "get": { "tags": [ @@ -4009,13 +3991,48 @@ } } }, + "post": { + "tags": [ + "mcp_projects" + ], + "summary": "Handle Project Streamable Http", + "description": "Handle Streamable HTTP connections for a specific project.", + "operationId": "handle_project_streamable_http_api_v1_mcp_project__project_id__streamable_post", + "parameters": [ + { + "name": "project_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Project Id" + } + } + ], + "responses": { + "200": { + "description": "Successful Response" + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + }, "delete": { "tags": [ "mcp_projects" ], "summary": "Handle Project Streamable Http", "description": "Handle Streamable HTTP connections for a specific project.", - "operationId": "handle_project_streamable_http_api_v1_mcp_project__project_id__streamable_delete", + "operationId": "handle_project_streamable_http_api_v1_mcp_project__project_id__streamable_post", "parameters": [ { "name": "project_id", @@ -4050,7 +4067,7 @@ ], "summary": "Handle Project Streamable Http", "description": "Handle Streamable HTTP connections for a specific project.", - "operationId": "handle_project_streamable_http_api_v1_mcp_project__project_id__streamable_delete", + "operationId": "handle_project_streamable_http_api_v1_mcp_project__project_id__streamable_post", "parameters": [ { "name": "project_id", @@ -4078,14 +4095,86 @@ } } } - }, + } + }, + "/api/v1/mcp/project/{project_id}/streamable/": { "post": { "tags": [ "mcp_projects" ], "summary": "Handle Project Streamable Http", "description": "Handle Streamable HTTP connections for a specific project.", - "operationId": "handle_project_streamable_http_api_v1_mcp_project__project_id__streamable_delete", + "operationId": "handle_project_streamable_http_api_v1_mcp_project__project_id__streamable__post", + "parameters": [ + { + "name": "project_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Project Id" + } + } + ], + "responses": { + "200": { + "description": "Successful Response" + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + }, + "delete": { + "tags": [ + "mcp_projects" + ], + "summary": "Handle Project Streamable Http", + "description": "Handle Streamable HTTP connections for a specific project.", + "operationId": "handle_project_streamable_http_api_v1_mcp_project__project_id__streamable__post", + "parameters": [ + { + "name": "project_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Project Id" + } + } + ], + "responses": { + "200": { + "description": "Successful Response" + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + }, + "get": { + "tags": [ + "mcp_projects" + ], + "summary": "Handle Project Streamable Http", + "description": "Handle Streamable HTTP connections for a specific project.", + "operationId": "handle_project_streamable_http_api_v1_mcp_project__project_id__streamable__post", "parameters": [ { "name": "project_id", @@ -6018,6 +6107,234 @@ ] } }, + "/api/mcp/sse": { + "get": { + "tags": [ + "mcp" + ], + "summary": "Handle Sse", + "operationId": "handle_sse_api_mcp_sse_get", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearerCookie": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] + }, + "head": { + "tags": [ + "mcp" + ], + "summary": "Im Alive", + "operationId": "im_alive_api_mcp_sse_head", + "responses": { + "200": { + "description": "Successful Response", + "content": { + "text/html": { + "schema": { + "type": "string" + } + } + } + } + } + } + }, + "/api/mcp/": { + "post": { + "tags": [ + "mcp" + ], + "summary": "Handle Messages", + "operationId": "handle_messages_api_mcp__post", + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": {} + } + } + } + } + } + }, + "/api/mcp/streamable": { + "get": { + "tags": [ + "mcp" + ], + "summary": "Handle Streamable Http", + "description": "Streamable HTTP endpoint for MCP clients that support the new transport.", + "operationId": "handle_streamable_http_api_mcp_streamable_post", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearerCookie": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] + }, + "post": { + "tags": [ + "mcp" + ], + "summary": "Handle Streamable Http", + "description": "Streamable HTTP endpoint for MCP clients that support the new transport.", + "operationId": "handle_streamable_http_api_mcp_streamable_post", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearerCookie": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] + }, + "delete": { + "tags": [ + "mcp" + ], + "summary": "Handle Streamable Http", + "description": "Streamable HTTP endpoint for MCP clients that support the new transport.", + "operationId": "handle_streamable_http_api_mcp_streamable_post", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearerCookie": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] + }, + "head": { + "tags": [ + "mcp" + ], + "summary": "Streamable Health", + "operationId": "streamable_health_api_mcp_streamable_head", + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": {} + } + } + } + } + } + }, + "/api/mcp/streamable/": { + "get": { + "tags": [ + "mcp" + ], + "summary": "Handle Streamable Http", + "description": "Streamable HTTP endpoint for MCP clients that support the new transport.", + "operationId": "handle_streamable_http_api_mcp_streamable__post", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearerCookie": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] + }, + "post": { + "tags": [ + "mcp" + ], + "summary": "Handle Streamable Http", + "description": "Streamable HTTP endpoint for MCP clients that support the new transport.", + "operationId": "handle_streamable_http_api_mcp_streamable__post", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearerCookie": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] + }, + "delete": { + "tags": [ + "mcp" + ], + "summary": "Handle Streamable Http", + "description": "Streamable HTTP endpoint for MCP clients that support the new transport.", + "operationId": "handle_streamable_http_api_mcp_streamable__post", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearerCookie": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] + } + }, "/health": { "get": { "tags": [