diff --git a/docs/openapi/openapi.json b/docs/openapi/openapi.json index 0a057000c138..04fac941f42f 100644 --- a/docs/openapi/openapi.json +++ b/docs/openapi/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.1.0", "info": { "title": "Langflow", - "version": "1.6.4" + "version": "1.6.5" }, "paths": { "/api/v1/build/{flow_id}/vertices": { @@ -25,22 +25,6 @@ "title": "Flow Id" } }, - { - "name": "data", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/FlowDataRequest" - }, - { - "type": "null" - } - ], - "title": "Data" - } - }, { "name": "stop_component_id", "in": "query", @@ -74,6 +58,23 @@ } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/FlowDataRequest" + }, + { + "type": "null" + } + ], + "title": "Data" + } + } + } + }, "responses": { "200": { "description": "Successful Response", @@ -1950,7 +1951,7 @@ } }, { - "$ref": "#/components/schemas/Page_FlowRead_" + "$ref": "#/components/schemas/Page_FlowRead_-Output" }, { "type": "array", @@ -3848,7 +3849,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/MessageResponse" + "$ref": "#/components/schemas/MessageResponse-Output" }, "title": "Response Get Messages Api V1 Monitor Messages Get" } @@ -4028,7 +4029,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/MessageResponse" + "$ref": "#/components/schemas/MessageResponse-Output" }, "title": "Response Update Session Id Api V1 Monitor Messages Session Old Session Id Patch" } @@ -4289,10 +4290,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FolderWithPaginatedFlows" + "$ref": "#/components/schemas/FolderWithPaginatedFlows-Output" }, { - "$ref": "#/components/schemas/FolderReadWithFlows" + "$ref": "#/components/schemas/FolderReadWithFlows-Output" } ], "title": "Response Read Folder Redirect Api V1 Folders Folder Id Get" @@ -4644,10 +4645,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FolderWithPaginatedFlows" + "$ref": "#/components/schemas/FolderWithPaginatedFlows-Output" }, { - "$ref": "#/components/schemas/FolderReadWithFlows" + "$ref": "#/components/schemas/FolderReadWithFlows-Output" } ], "title": "Response Read Project Api V1 Projects Project Id Get" @@ -5777,7 +5778,7 @@ "application/json": { "schema": { "items": { - "$ref": "#/components/schemas/langflow__services__database__models__file__model__File" + "$ref": "#/components/schemas/File" }, "type": "array", "title": "Response List Files Api V2 Files Get" @@ -5894,7 +5895,7 @@ "application/json": { "schema": { "items": { - "$ref": "#/components/schemas/langflow__services__database__models__file__model__File" + "$ref": "#/components/schemas/File" }, "type": "array", "title": "Response List Files Api V2 Files Get" @@ -7518,7 +7519,64 @@ ], "title": "Code" }, - "CodeContent": { + "CodeContent-Input": { + "properties": { + "type": { + "type": "string", + "const": "code", + "title": "Type", + "default": "code" + }, + "duration": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Duration" + }, + "header": { + "anyOf": [ + { + "$ref": "#/components/schemas/HeaderDict" + }, + { + "type": "null" + } + ] + }, + "code": { + "type": "string", + "title": "Code" + }, + "language": { + "type": "string", + "title": "Language" + }, + "title": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Title" + } + }, + "type": "object", + "required": [ + "code", + "language" + ], + "title": "CodeContent", + "description": "Content type for code snippets." + }, + "CodeContent-Output": { "type": "object" }, "CodeValidationResponse": { @@ -7616,7 +7674,67 @@ ], "title": "ConfigResponse" }, - "ContentBlock": { + "ContentBlock-Input": { + "properties": { + "title": { + "type": "string", + "title": "Title" + }, + "contents": { + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/ToolContent-Input" + }, + { + "$ref": "#/components/schemas/ErrorContent-Input" + }, + { + "$ref": "#/components/schemas/TextContent-Input" + }, + { + "$ref": "#/components/schemas/MediaContent-Input" + }, + { + "$ref": "#/components/schemas/CodeContent-Input" + }, + { + "$ref": "#/components/schemas/JSONContent-Input" + } + ] + }, + "type": "array", + "title": "Contents" + }, + "allow_markdown": { + "type": "boolean", + "title": "Allow Markdown", + "default": true + }, + "media_url": { + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Media Url" + } + }, + "type": "object", + "required": [ + "title", + "contents" + ], + "title": "ContentBlock", + "description": "A block of content that can contain different types of content." + }, + "ContentBlock-Output": { "properties": { "title": { "type": "string", @@ -7828,7 +7946,96 @@ ], "title": "EdgeDataDetails" }, - "ErrorContent": { + "ErrorContent-Input": { + "properties": { + "type": { + "type": "string", + "const": "error", + "title": "Type", + "default": "error" + }, + "duration": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Duration" + }, + "header": { + "anyOf": [ + { + "$ref": "#/components/schemas/HeaderDict" + }, + { + "type": "null" + } + ] + }, + "component": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Component" + }, + "field": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Field" + }, + "reason": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Reason" + }, + "solution": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Solution" + }, + "traceback": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Traceback" + } + }, + "type": "object", + "title": "ErrorContent", + "description": "Content type for error messages." + }, + "ErrorContent-Output": { "type": "object" }, "ErrorLog": { @@ -7870,6 +8077,61 @@ "type": "object", "title": "FeatureFlags" }, + "File": { + "properties": { + "id": { + "type": "string", + "format": "uuid", + "title": "Id" + }, + "user_id": { + "type": "string", + "format": "uuid", + "title": "User Id" + }, + "name": { + "type": "string", + "title": "Name" + }, + "path": { + "type": "string", + "title": "Path" + }, + "size": { + "type": "integer", + "title": "Size" + }, + "provider": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Provider" + }, + "created_at": { + "type": "string", + "format": "date-time", + "title": "Created At" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "title": "Updated At" + } + }, + "type": "object", + "required": [ + "user_id", + "name", + "path", + "size" + ], + "title": "File" + }, "Flow": { "properties": { "name": { @@ -8973,7 +9235,7 @@ ], "title": "FolderRead" }, - "FolderReadWithFlows": { + "FolderReadWithFlows-Input": { "properties": { "name": { "type": "string", @@ -9036,7 +9298,70 @@ ], "title": "FolderReadWithFlows" }, - "FolderUpdate": { + "FolderReadWithFlows-Output": { + "properties": { + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "auth_settings": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ], + "title": "Auth Settings", + "description": "Authentication settings for the folder/project" + }, + "id": { + "type": "string", + "format": "uuid", + "title": "Id" + }, + "parent_id": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ], + "title": "Parent Id" + }, + "flows": { + "items": { + "$ref": "#/components/schemas/FlowRead" + }, + "type": "array", + "title": "Flows", + "default": [] + } + }, + "type": "object", + "required": [ + "name", + "id", + "parent_id" + ], + "title": "FolderReadWithFlows" + }, + "FolderUpdate": { "properties": { "name": { "anyOf": [ @@ -9103,13 +9428,29 @@ "type": "object", "title": "FolderUpdate" }, - "FolderWithPaginatedFlows": { + "FolderWithPaginatedFlows-Input": { + "properties": { + "folder": { + "$ref": "#/components/schemas/FolderRead" + }, + "flows": { + "$ref": "#/components/schemas/Page_Flow_-Input" + } + }, + "type": "object", + "required": [ + "folder", + "flows" + ], + "title": "FolderWithPaginatedFlows" + }, + "FolderWithPaginatedFlows-Output": { "properties": { "folder": { "$ref": "#/components/schemas/FolderRead" }, "flows": { - "$ref": "#/components/schemas/Page_Flow_" + "$ref": "#/components/schemas/Page_Flow_-Output" } }, "type": "object", @@ -9781,7 +10122,48 @@ } ] }, - "JSONContent": { + "JSONContent-Input": { + "properties": { + "type": { + "type": "string", + "const": "json", + "title": "Type", + "default": "json" + }, + "duration": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Duration" + }, + "header": { + "anyOf": [ + { + "$ref": "#/components/schemas/HeaderDict" + }, + { + "type": "null" + } + ] + }, + "data": { + "type": "object", + "title": "Data" + } + }, + "type": "object", + "required": [ + "data" + ], + "title": "JSONContent", + "description": "Content type for JSON content." + }, + "JSONContent-Output": { "type": "object" }, "KnowledgeBaseInfo": { @@ -10035,7 +10417,59 @@ ], "title": "ListComponentResponseModel" }, - "Log": { + "Log-Input": { + "properties": { + "name": { + "type": "string", + "title": "Name" + }, + "message": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "items": {}, + "type": "array" + }, + { + "type": "integer" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "$ref": "#/components/schemas/BaseModel" + }, + { + "$ref": "#/components/schemas/PlaygroundEvent-Input" + }, + { + "type": "null" + } + ], + "title": "Message" + }, + "type": { + "type": "string", + "title": "Type" + } + }, + "type": "object", + "required": [ + "name", + "message", + "type" + ], + "title": "Log" + }, + "Log-Output": { "properties": { "name": { "type": "string", @@ -10066,7 +10500,7 @@ "$ref": "#/components/schemas/BaseModel" }, { - "$ref": "#/components/schemas/PlaygroundEvent" + "$ref": "#/components/schemas/PlaygroundEvent-Output" }, { "type": "null" @@ -10255,7 +10689,62 @@ "title": "MCPSettings", "description": "Model representing MCP settings for a flow." }, - "MediaContent": { + "MediaContent-Input": { + "properties": { + "type": { + "type": "string", + "const": "media", + "title": "Type", + "default": "media" + }, + "duration": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Duration" + }, + "header": { + "anyOf": [ + { + "$ref": "#/components/schemas/HeaderDict" + }, + { + "type": "null" + } + ] + }, + "urls": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Urls" + }, + "caption": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Caption" + } + }, + "type": "object", + "required": [ + "urls" + ], + "title": "MediaContent", + "description": "Content type for media content." + }, + "MediaContent-Output": { "type": "object" }, "MessageRead": { @@ -10308,7 +10797,7 @@ }, "content_blocks": { "items": { - "$ref": "#/components/schemas/ContentBlock" + "$ref": "#/components/schemas/ContentBlock-Output" }, "type": "array", "title": "Content Blocks" @@ -10342,7 +10831,7 @@ ], "title": "MessageRead" }, - "MessageResponse": { + "MessageResponse-Input": { "properties": { "id": { "anyOf": [ @@ -10440,7 +10929,7 @@ "anyOf": [ { "items": { - "$ref": "#/components/schemas/ContentBlock" + "$ref": "#/components/schemas/ContentBlock-Input" }, "type": "array" }, @@ -10461,42 +10950,161 @@ ], "title": "MessageResponse" }, - "MessageUpdate": { + "MessageResponse-Output": { "properties": { - "text": { + "id": { "anyOf": [ { "type": "string" }, + { + "type": "string", + "format": "uuid" + }, { "type": "null" } ], - "title": "Text" + "title": "Id" }, - "sender": { + "flow_id": { "anyOf": [ { - "type": "string" + "type": "string", + "format": "uuid" }, { "type": "null" } ], + "title": "Flow Id" + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "Timestamp" + }, + "sender": { + "type": "string", "title": "Sender" }, "sender_name": { + "type": "string", + "title": "Sender Name" + }, + "session_id": { + "type": "string", + "title": "Session Id" + }, + "text": { + "type": "string", + "title": "Text" + }, + "files": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Files", + "default": [] + }, + "edit": { + "type": "boolean", + "title": "Edit" + }, + "duration": { "anyOf": [ { - "type": "string" + "type": "number" }, { "type": "null" } ], - "title": "Sender Name" + "title": "Duration" }, - "session_id": { + "properties": { + "anyOf": [ + { + "$ref": "#/components/schemas/Properties" + }, + { + "type": "null" + } + ] + }, + "category": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Category" + }, + "content_blocks": { + "anyOf": [ + { + "items": { + "$ref": "#/components/schemas/ContentBlock-Output" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Content Blocks" + } + }, + "type": "object", + "required": [ + "sender", + "sender_name", + "session_id", + "text", + "edit" + ], + "title": "MessageResponse" + }, + "MessageUpdate": { + "properties": { + "text": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Text" + }, + "sender": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Sender" + }, + "sender_name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Sender Name" + }, + "session_id": { "anyOf": [ { "type": "string" @@ -10857,7 +11465,47 @@ ], "title": "OutputValue" }, - "Page_FlowRead_": { + "Page_FlowRead_-Input": { + "properties": { + "items": { + "items": { + "$ref": "#/components/schemas/FlowRead" + }, + "type": "array", + "title": "Items" + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "Total" + }, + "page": { + "type": "integer", + "minimum": 1.0, + "title": "Page" + }, + "size": { + "type": "integer", + "minimum": 1.0, + "title": "Size" + }, + "pages": { + "type": "integer", + "minimum": 0.0, + "title": "Pages" + } + }, + "type": "object", + "required": [ + "items", + "total", + "page", + "size", + "pages" + ], + "title": "Page[FlowRead]" + }, + "Page_FlowRead_-Output": { "properties": { "items": { "items": { @@ -10897,7 +11545,47 @@ ], "title": "Page[FlowRead]" }, - "Page_Flow_": { + "Page_Flow_-Input": { + "properties": { + "items": { + "items": { + "$ref": "#/components/schemas/Flow" + }, + "type": "array", + "title": "Items" + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "Total" + }, + "page": { + "type": "integer", + "minimum": 1.0, + "title": "Page" + }, + "size": { + "type": "integer", + "minimum": 1.0, + "title": "Size" + }, + "pages": { + "type": "integer", + "minimum": 0.0, + "title": "Pages" + } + }, + "type": "object", + "required": [ + "items", + "total", + "page", + "size", + "pages" + ], + "title": "Page[Flow]" + }, + "Page_Flow_-Output": { "properties": { "items": { "items": { @@ -10941,7 +11629,7 @@ "properties": { "items": { "items": { - "$ref": "#/components/schemas/TransactionTable" + "$ref": "#/components/schemas/TransactionTable-Output" }, "type": "array", "title": "Items" @@ -10977,7 +11665,104 @@ ], "title": "Page[TransactionTable]" }, - "PlaygroundEvent": { + "PlaygroundEvent-Input": { + "properties": { + "properties": { + "anyOf": [ + { + "$ref": "#/components/schemas/Properties" + }, + { + "type": "null" + } + ] + }, + "sender_name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Sender Name" + }, + "content_blocks": { + "anyOf": [ + { + "items": { + "$ref": "#/components/schemas/ContentBlock-Input" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Content Blocks" + }, + "format_type": { + "type": "string", + "enum": [ + "default", + "error", + "warning", + "info" + ], + "title": "Format Type", + "default": "default" + }, + "files": { + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Files" + }, + "text": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Text" + }, + "timestamp": { + "type": "string", + "title": "Timestamp" + }, + "id": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Id" + } + }, + "additionalProperties": true, + "type": "object", + "title": "PlaygroundEvent" + }, + "PlaygroundEvent-Output": { "properties": { "properties": { "anyOf": [ @@ -11004,7 +11789,7 @@ "anyOf": [ { "items": { - "$ref": "#/components/schemas/ContentBlock" + "$ref": "#/components/schemas/ContentBlock-Output" }, "type": "array" }, @@ -11194,7 +11979,7 @@ "type": "object", "title": "Properties" }, - "ResultData": { + "ResultData-Input": { "properties": { "results": { "anyOf": [ @@ -11310,10 +12095,234 @@ "type": "object", "title": "ResultData" }, - "ResultDataResponse": { - "type": "object" - }, - "RunOutputs": { + "ResultData-Output": { + "properties": { + "results": { + "anyOf": [ + {}, + { + "type": "null" + } + ], + "title": "Results" + }, + "artifacts": { + "anyOf": [ + {}, + { + "type": "null" + } + ], + "title": "Artifacts" + }, + "outputs": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ], + "title": "Outputs" + }, + "logs": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ], + "title": "Logs" + }, + "messages": { + "anyOf": [ + { + "items": { + "$ref": "#/components/schemas/ChatOutputResponse" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Messages" + }, + "timedelta": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], + "title": "Timedelta" + }, + "duration": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Duration" + }, + "component_display_name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Component Display Name" + }, + "component_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Component Id" + }, + "used_frozen_result": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "title": "Used Frozen Result", + "default": false + } + }, + "type": "object", + "title": "ResultData" + }, + "ResultDataResponse-Input": { + "properties": { + "results": { + "anyOf": [ + {}, + { + "type": "null" + } + ], + "title": "Results" + }, + "outputs": { + "additionalProperties": { + "$ref": "#/components/schemas/OutputValue" + }, + "type": "object", + "title": "Outputs" + }, + "logs": { + "additionalProperties": { + "items": { + "$ref": "#/components/schemas/Log-Input" + }, + "type": "array" + }, + "type": "object", + "title": "Logs" + }, + "message": { + "anyOf": [ + {}, + { + "type": "null" + } + ], + "title": "Message" + }, + "artifacts": { + "anyOf": [ + {}, + { + "type": "null" + } + ], + "title": "Artifacts" + }, + "timedelta": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], + "title": "Timedelta" + }, + "duration": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Duration" + }, + "used_frozen_result": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "title": "Used Frozen Result", + "default": false + } + }, + "type": "object", + "title": "ResultDataResponse" + }, + "ResultDataResponse-Output": { + "type": "object" + }, + "RunOutputs-Input": { + "properties": { + "inputs": { + "type": "object", + "title": "Inputs" + }, + "outputs": { + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/ResultData-Input" + }, + { + "type": "null" + } + ] + }, + "type": "array", + "title": "Outputs" + } + }, + "type": "object", + "title": "RunOutputs" + }, + "RunOutputs-Output": { "properties": { "inputs": { "type": "object", @@ -11323,7 +12332,7 @@ "items": { "anyOf": [ { - "$ref": "#/components/schemas/ResultData" + "$ref": "#/components/schemas/ResultData-Output" }, { "type": "null" @@ -11343,7 +12352,7 @@ "anyOf": [ { "items": { - "$ref": "#/components/schemas/RunOutputs" + "$ref": "#/components/schemas/RunOutputs-Output" }, "type": "array" }, @@ -11642,19 +12651,247 @@ } }, "type": "object", - "required": [ - "location" - ], - "title": "StreamURL" + "required": [ + "location" + ], + "title": "StreamURL" + }, + "TagResponse": { + "properties": { + "id": { + "type": "string", + "format": "uuid", + "title": "Id" + }, + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Name" + } + }, + "type": "object", + "required": [ + "id", + "name" + ], + "title": "TagResponse" + }, + "TargetHandleDict": { + "properties": { + "fieldName": { + "type": "string", + "title": "Fieldname" + }, + "id": { + "type": "string", + "title": "Id" + }, + "inputTypes": { + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Inputtypes" + }, + "type": { + "type": "string", + "title": "Type" + } + }, + "type": "object", + "required": [ + "fieldName", + "id", + "inputTypes", + "type" + ], + "title": "TargetHandleDict" + }, + "TaskStatusResponse": { + "properties": { + "status": { + "type": "string", + "title": "Status" + }, + "result": { + "anyOf": [ + {}, + { + "type": "null" + } + ], + "title": "Result" + } + }, + "type": "object", + "required": [ + "status" + ], + "title": "TaskStatusResponse", + "description": "Task status response schema." + }, + "TextContent-Input": { + "properties": { + "type": { + "type": "string", + "const": "text", + "title": "Type", + "default": "text" + }, + "duration": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Duration" + }, + "header": { + "anyOf": [ + { + "$ref": "#/components/schemas/HeaderDict" + }, + { + "type": "null" + } + ] + }, + "text": { + "type": "string", + "title": "Text" + } + }, + "type": "object", + "required": [ + "text" + ], + "title": "TextContent", + "description": "Content type for simple text content." + }, + "TextContent-Output": { + "type": "object" + }, + "Token": { + "properties": { + "access_token": { + "type": "string", + "title": "Access Token" + }, + "refresh_token": { + "type": "string", + "title": "Refresh Token" + }, + "token_type": { + "type": "string", + "title": "Token Type" + } + }, + "type": "object", + "required": [ + "access_token", + "refresh_token", + "token_type" + ], + "title": "Token" + }, + "ToolContent-Input": { + "properties": { + "type": { + "type": "string", + "const": "tool_use", + "title": "Type", + "default": "tool_use" + }, + "duration": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Duration" + }, + "header": { + "anyOf": [ + { + "$ref": "#/components/schemas/HeaderDict" + }, + { + "type": "null" + } + ] + }, + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Name" + }, + "input": { + "type": "object", + "title": "Input" + }, + "output": { + "anyOf": [ + {}, + { + "type": "null" + } + ], + "title": "Output" + }, + "error": { + "anyOf": [ + {}, + { + "type": "null" + } + ], + "title": "Error" + } + }, + "type": "object", + "title": "ToolContent", + "description": "Content type for tool start content." }, - "TagResponse": { + "ToolContent-Output": { + "type": "object" + }, + "TransactionTable-Input": { "properties": { - "id": { + "timestamp": { "type": "string", - "format": "uuid", - "title": "Id" + "format": "date-time", + "title": "Timestamp" }, - "name": { + "vertex_id": { + "type": "string", + "title": "Vertex Id" + }, + "target_id": { "anyOf": [ { "type": "string" @@ -11663,107 +12900,72 @@ "type": "null" } ], - "title": "Name" - } - }, - "type": "object", - "required": [ - "id", - "name" - ], - "title": "TagResponse" - }, - "TargetHandleDict": { - "properties": { - "fieldName": { - "type": "string", - "title": "Fieldname" + "title": "Target Id" }, - "id": { - "type": "string", - "title": "Id" + "inputs": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ], + "title": "Inputs" }, - "inputTypes": { + "outputs": { "anyOf": [ { - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, { "type": "null" } ], - "title": "Inputtypes" + "title": "Outputs" }, - "type": { - "type": "string", - "title": "Type" - } - }, - "type": "object", - "required": [ - "fieldName", - "id", - "inputTypes", - "type" - ], - "title": "TargetHandleDict" - }, - "TaskStatusResponse": { - "properties": { "status": { "type": "string", "title": "Status" }, - "result": { + "error": { "anyOf": [ - {}, + { + "type": "string" + }, { "type": "null" } ], - "title": "Result" - } - }, - "type": "object", - "required": [ - "status" - ], - "title": "TaskStatusResponse", - "description": "Task status response schema." - }, - "TextContent": { - "type": "object" - }, - "Token": { - "properties": { - "access_token": { - "type": "string", - "title": "Access Token" + "title": "Error" }, - "refresh_token": { + "flow_id": { "type": "string", - "title": "Refresh Token" + "format": "uuid", + "title": "Flow Id" }, - "token_type": { - "type": "string", - "title": "Token Type" + "id": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ], + "title": "Id" } }, "type": "object", "required": [ - "access_token", - "refresh_token", - "token_type" + "vertex_id", + "status", + "flow_id" ], - "title": "Token" - }, - "ToolContent": { - "type": "object" + "title": "TransactionTable" }, - "TransactionTable": { + "TransactionTable-Output": { "properties": { "timestamp": { "type": "string", @@ -12511,7 +13713,7 @@ "vertex_builds": { "additionalProperties": { "items": { - "$ref": "#/components/schemas/VertexBuildTable" + "$ref": "#/components/schemas/VertexBuildTable-Output" }, "type": "array" }, @@ -12616,7 +13818,81 @@ ], "title": "VertexBuildResponse" }, - "VertexBuildTable": { + "VertexBuildTable-Input": { + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "title": "Timestamp" + }, + "id": { + "type": "string", + "title": "Id" + }, + "data": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ], + "title": "Data" + }, + "artifacts": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ], + "title": "Artifacts" + }, + "params": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Params" + }, + "valid": { + "type": "boolean", + "title": "Valid" + }, + "flow_id": { + "type": "string", + "format": "uuid", + "title": "Flow Id" + }, + "build_id": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ], + "title": "Build Id" + } + }, + "type": "object", + "required": [ + "id", + "valid", + "flow_id" + ], + "title": "VertexBuildTable" + }, + "VertexBuildTable-Output": { "properties": { "timestamp": { "type": "string", @@ -12784,61 +14060,6 @@ "title": "UploadFileResponse", "description": "Upload file response schema." }, - "langflow__services__database__models__file__model__File": { - "properties": { - "id": { - "type": "string", - "format": "uuid", - "title": "Id" - }, - "user_id": { - "type": "string", - "format": "uuid", - "title": "User Id" - }, - "name": { - "type": "string", - "title": "Name" - }, - "path": { - "type": "string", - "title": "Path" - }, - "size": { - "type": "integer", - "title": "Size" - }, - "provider": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Provider" - }, - "created_at": { - "type": "string", - "format": "date-time", - "title": "Created At" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "title": "Updated At" - } - }, - "type": "object", - "required": [ - "user_id", - "name", - "path", - "size" - ], - "title": "File" - }, "langflow__utils__schemas__File": { "properties": { "path": {