diff --git a/docs/openapi/openapi.json b/docs/openapi/openapi.json index a88ea08a41..a5b1c22288 100644 --- a/docs/openapi/openapi.json +++ b/docs/openapi/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.1.0", "info": { "title": "Langflow", - "version": "1.7.0" + "version": "1.7.1" }, "paths": { "/api/v1/build/{flow_id}/vertices": { @@ -14,6 +14,17 @@ "description": "Retrieve the vertices order for a given flow.

Args:
flow_id (str): The ID of the flow.
background_tasks (BackgroundTasks): The background tasks.
data (Optional[FlowDataRequest], optional): The flow data. Defaults to None.
stop_component_id (str, optional): The ID of the stop component. Defaults to None.
start_component_id (str, optional): The ID of the start component. Defaults to None.
session (AsyncSession, optional): The session dependency.

Returns:
VerticesOrderResponse: The response containing the ordered vertex IDs and the run ID.

Raises:
HTTPException: If there is an error checking the build status.", "operationId": "retrieve_vertices_order_api_v1_build__flow_id__vertices_post", "deprecated": true, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], "parameters": [ { "name": "flow_id", @@ -234,8 +245,19 @@ "Chat" ], "summary": "Get Build Events", - "description": "Get events for a specific build job.", + "description": "Get events for a specific build job.

Requires authentication to prevent unauthorized access to build events.", "operationId": "get_build_events_api_v1_build__job_id__events_get", + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], "parameters": [ { "name": "job_id", @@ -284,8 +306,19 @@ "Chat" ], "summary": "Cancel Build", - "description": "Cancel a specific build job.", + "description": "Cancel a specific build job.

Requires authentication to prevent unauthorized build cancellation.", "operationId": "cancel_build_api_v1_build__job_id__cancel_post", + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], "parameters": [ { "name": "job_id", @@ -404,6 +437,17 @@ "description": "Build a vertex instead of the entire graph.

This function is responsible for building a single vertex instead of the entire graph.
It takes the `flow_id` and `vertex_id` as required parameters, and an optional `session_id`.
It also depends on the `ChatService` and `SessionService` services.

If `session_id` is not provided, it retrieves the graph from the cache using the `chat_service`.
If `session_id` is provided, it loads the session data using the `session_service`.

Once the graph is obtained, it retrieves the specified vertex using the `vertex_id`.
If the vertex does not support streaming, an error is raised.
If the vertex has a built result, it sends the result as a chunk.
If the vertex is not frozen or not built, it streams the vertex data.
If the vertex has a result, it sends the result as a chunk.
If none of the above conditions are met, an error is raised.

If any exception occurs during the process, an error message is sent.
Finally, the stream is closed.

Returns:
A `StreamingResponse` object with the streamed vertex data in text/event-stream format.

Raises:
HTTPException: If an error occurs while building the vertex.", "operationId": "build_vertex_stream_api_v1_build__flow_id___vertex_id__stream_get", "deprecated": true, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], "parameters": [ { "name": "flow_id", @@ -604,7 +648,7 @@ "Base" ], "summary": "Simplified Run Flow", - "description": "Executes a specified flow by ID with support for streaming and telemetry.

This endpoint executes a flow identified by ID or name, with options for streaming the response
and tracking execution metrics. It handles both streaming and non-streaming execution modes.

Args:
background_tasks (BackgroundTasks): FastAPI background task manager
flow (FlowRead | None): The flow to execute, loaded via dependency
input_request (SimplifiedAPIRequest | None): Input parameters for the flow
stream (bool): Whether to stream the response
api_key_user (UserRead): Authenticated user from API key
request (Request): The incoming HTTP request

Returns:
Union[StreamingResponse, RunResponse]: Either a streaming response for real-time results
or a RunResponse with the complete execution results

Raises:
HTTPException: For flow not found (404) or invalid input (400)
APIException: For internal execution errors (500)

Notes:
- Supports both streaming and non-streaming execution modes
- Tracks execution time and success/failure via telemetry
- Handles graceful client disconnection in streaming mode
- Provides detailed error handling with appropriate HTTP status codes
- In streaming mode, uses EventManager to handle events:
- \"add_message\": New messages during execution
- \"token\": Individual tokens during streaming
- \"end\": Final execution result", + "description": "Executes a specified flow by ID with support for streaming and telemetry (API key auth).

This endpoint executes a flow identified by ID or name, with options for streaming the response
and tracking execution metrics. It handles both streaming and non-streaming execution modes.
This endpoint uses API key authentication (Bearer token).

Args:
background_tasks (BackgroundTasks): FastAPI background task manager
flow (FlowRead | None): The flow to execute, loaded via dependency
input_request (SimplifiedAPIRequest | None): Input parameters for the flow
stream (bool): Whether to stream the response
api_key_user (UserRead): Authenticated user from API key
context (dict | None): Optional context to pass to the flow
http_request (Request): The incoming HTTP request for extracting global variables

Returns:
Union[StreamingResponse, RunResponse]: Either a streaming response for real-time results
or a RunResponse with the complete execution results

Raises:
HTTPException: For flow not found (404) or invalid input (400)
APIException: For internal execution errors (500)

Notes:
- Supports both streaming and non-streaming execution modes
- Tracks execution time and success/failure via telemetry
- Handles graceful client disconnection in streaming mode
- Provides detailed error handling with appropriate HTTP status codes
- Extracts global variables from HTTP headers with prefix X-LANGFLOW-GLOBAL-VAR-*
- Merges extracted variables with the context parameter as \"request_variables\"
- In streaming mode, uses EventManager to handle events:
- \"add_message\": New messages during execution
- \"token\": Individual tokens during streaming
- \"end\": Final execution result
- Authentication: Requires API key (Bearer token)", "operationId": "simplified_run_flow_api_v1_run__flow_id_or_name__post", "security": [ { @@ -659,15 +703,98 @@ "content": { "application/json": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/SimplifiedAPIRequest" - }, - { - "type": "null" - } - ], - "title": "Input Request" + "$ref": "#/components/schemas/Body_simplified_run_flow_api_v1_run__flow_id_or_name__post" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": {} + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, + "/api/v1/run/session/{flow_id_or_name}": { + "post": { + "tags": [ + "Base" + ], + "summary": "Simplified Run Flow Session", + "description": "Executes a specified flow by ID with support for streaming and telemetry (session auth).

This endpoint executes a flow identified by ID or name, with options for streaming the response
and tracking execution metrics. It handles both streaming and non-streaming execution modes.
This endpoint uses session-based authentication (cookies).

Args:
background_tasks (BackgroundTasks): FastAPI background task manager
flow (FlowRead | None): The flow to execute, loaded via dependency
input_request (SimplifiedAPIRequest | None): Input parameters for the flow
stream (bool): Whether to stream the response
api_key_user (User): Authenticated user from session
context (dict | None): Optional context to pass to the flow
http_request (Request): The incoming HTTP request for extracting global variables

Returns:
Union[StreamingResponse, RunResponse]: Either a streaming response for real-time results
or a RunResponse with the complete execution results

Raises:
HTTPException: For flow not found (404) or invalid input (400)
APIException: For internal execution errors (500)

Notes:
- Supports both streaming and non-streaming execution modes
- Tracks execution time and success/failure via telemetry
- Handles graceful client disconnection in streaming mode
- Provides detailed error handling with appropriate HTTP status codes
- Extracts global variables from HTTP headers with prefix X-LANGFLOW-GLOBAL-VAR-*
- Merges extracted variables with the context parameter as \"request_variables\"
- In streaming mode, uses EventManager to handle events:
- \"add_message\": New messages during execution
- \"token\": Individual tokens during streaming
- \"end\": Final execution result
- Authentication: Requires active session (cookies)
- Feature Flag: Only available when agentic_experience is enabled", + "operationId": "simplified_run_flow_session_api_v1_run_session__flow_id_or_name__post", + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], + "parameters": [ + { + "name": "flow_id_or_name", + "in": "path", + "required": true, + "schema": { + "type": "string", + "title": "Flow Id Or Name" + } + }, + { + "name": "stream", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "default": false, + "title": "Stream" + } + }, + { + "name": "user_id", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ], + "title": "User Id" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Body_simplified_run_flow_session_api_v1_run_session__flow_id_or_name__post" } } } @@ -700,7 +827,7 @@ "Base" ], "summary": "Webhook Run Flow", - "description": "Run a flow using a webhook request.

Args:
flow (Flow, optional): The flow to be executed. Defaults to Depends(get_flow_by_id).
user (User): The flow user.
request (Request): The incoming HTTP request.
background_tasks (BackgroundTasks): The background tasks manager.

Returns:
dict: A dictionary containing the status of the task.

Raises:
HTTPException: If the flow is not found or if there is an error processing the request.", + "description": "Run a flow using a webhook request.

Args:
flow_id_or_name (str): The flow ID or endpoint name.
flow (Flow): The flow to be executed.
request (Request): The incoming HTTP request.
background_tasks (BackgroundTasks): The background tasks manager.

Returns:
dict: A dictionary containing the status of the task.

Raises:
HTTPException: If the flow is not found or if there is an error processing the request.", "operationId": "webhook_run_flow_api_v1_webhook__flow_id_or_name__post", "parameters": [ { @@ -740,6 +867,7 @@ "application/json": { "schema": { "type": "object", + "additionalProperties": true, "title": "Response Webhook Run Flow Api V1 Webhook Flow Id Or Name Post" } } @@ -758,14 +886,14 @@ } } }, - "/api/v1/run/advanced/{flow_id}": { + "/api/v1/run/advanced/{flow_id_or_name}": { "post": { "tags": [ "Base" ], "summary": "Experimental Run Flow", - "description": "Executes a specified flow by ID with optional input values, output selection, tweaks, and streaming capability.

This endpoint supports running flows with caching to enhance performance and efficiency.

### Parameters:
- `flow_id` (str): The unique identifier of the flow to be executed.
- `inputs` (List[InputValueRequest], optional): A list of inputs specifying the input values and components
for the flow. Each input can target specific components and provide custom values.
- `outputs` (List[str], optional): A list of output names to retrieve from the executed flow.
If not provided, all outputs are returned.
- `tweaks` (Optional[Tweaks], optional): A dictionary of tweaks to customize the flow execution.
The tweaks can be used to modify the flow's parameters and components.
Tweaks can be overridden by the input values.
- `stream` (bool, optional): Specifies whether the results should be streamed. Defaults to False.
- `session_id` (Union[None, str], optional): An optional session ID to utilize existing session data for the flow
execution.
- `api_key_user` (User): The user associated with the current API key. Automatically resolved from the API key.

### Returns:
A `RunResponse` object containing the selected outputs (or all if not specified) of the executed flow
and the session ID.
The structure of the response accommodates multiple inputs, providing a nested list of outputs for each input.

### Raises:
HTTPException: Indicates issues with finding the specified flow, invalid input formats, or internal errors during
flow execution.

### Example usage:
```json
POST /run/flow_id
x-api-key: YOUR_API_KEY
Payload:
{
\"inputs\": [
{\"components\": [\"component1\"], \"input_value\": \"value1\"},
{\"components\": [\"component3\"], \"input_value\": \"value2\"}
],
\"outputs\": [\"Component Name\", \"component_id\"],
\"tweaks\": {\"parameter_name\": \"value\", \"Component Name\": {\"parameter_name\": \"value\"}, \"component_id\": {\"parameter_name\": \"value\"}}
\"stream\": false
}
```

This endpoint facilitates complex flow executions with customized inputs, outputs, and configurations,
catering to diverse application requirements.", - "operationId": "experimental_run_flow_api_v1_run_advanced__flow_id__post", + "description": "Executes a specified flow by ID with optional input values, output selection, tweaks, and streaming capability.

This endpoint supports running flows with caching to enhance performance and efficiency.

### Parameters:
- `flow` (Flow): The flow object to be executed, resolved via dependency injection.
- `inputs` (List[InputValueRequest], optional): A list of inputs specifying the input values and components
for the flow. Each input can target specific components and provide custom values.
- `outputs` (List[str], optional): A list of output names to retrieve from the executed flow.
If not provided, all outputs are returned.
- `tweaks` (Optional[Tweaks], optional): A dictionary of tweaks to customize the flow execution.
The tweaks can be used to modify the flow's parameters and components.
Tweaks can be overridden by the input values.
- `stream` (bool, optional): Specifies whether the results should be streamed. Defaults to False.
- `session_id` (Union[None, str], optional): An optional session ID to utilize existing session data for the flow
execution.
- `api_key_user` (User): The user associated with the current API key. Automatically resolved from the API key.

### Returns:
A `RunResponse` object containing the selected outputs (or all if not specified) of the executed flow
and the session ID.
The structure of the response accommodates multiple inputs, providing a nested list of outputs for each input.

### Raises:
HTTPException: Indicates issues with finding the specified flow, invalid input formats, or internal errors during
flow execution.

### Example usage:
```json
POST /run/flow_id
x-api-key: YOUR_API_KEY
Payload:
{
\"inputs\": [
{\"components\": [\"component1\"], \"input_value\": \"value1\"},
{\"components\": [\"component3\"], \"input_value\": \"value2\"}
],
\"outputs\": [\"Component Name\", \"component_id\"],
\"tweaks\": {\"parameter_name\": \"value\", \"Component Name\": {\"parameter_name\": \"value\"}, \"component_id\": {\"parameter_name\": \"value\"}}
\"stream\": false
}
```

This endpoint facilitates complex flow executions with customized inputs, outputs, and configurations,
catering to diverse application requirements.", + "operationId": "experimental_run_flow_api_v1_run_advanced__flow_id_or_name__post", "security": [ { "API key query": [] @@ -776,13 +904,32 @@ ], "parameters": [ { - "name": "flow_id", + "name": "flow_id_or_name", "in": "path", "required": true, "schema": { "type": "string", - "format": "uuid", - "title": "Flow Id" + "title": "Flow Id Or Name" + } + }, + { + "name": "user_id", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ], + "title": "User Id" } } ], @@ -790,7 +937,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Body_experimental_run_flow_api_v1_run_advanced__flow_id__post" + "$ref": "#/components/schemas/Body_experimental_run_flow_api_v1_run_advanced__flow_id_or_name__post" } } } @@ -1142,7 +1289,7 @@ "Base" ], "summary": "Get Config", - "description": "Retrieve the current application configuration settings.

Returns:
ConfigResponse: The configuration settings of the application.

Raises:
HTTPException: If an error occurs while retrieving the configuration.", + "description": "Retrieve the current application configuration settings.

Requires authentication to prevent exposure of sensitive configuration details.

Returns:
ConfigResponse: The configuration settings of the application.

Raises:
HTTPException: If an error occurs while retrieving the configuration.", "operationId": "get_config_api_v1_config_get", "responses": { "200": { @@ -1155,7 +1302,18 @@ } } } - } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] } }, "/api/v1/validate/code": { @@ -1248,7 +1406,18 @@ } } } - } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] } }, "/api/v1/store/check/": { @@ -1951,7 +2120,7 @@ } }, { - "$ref": "#/components/schemas/Page_FlowRead_-Output" + "$ref": "#/components/schemas/Page_FlowRead_" }, { "type": "array", @@ -2466,8 +2635,19 @@ "Users" ], "summary": "Add User", - "description": "Add a new user to the database.", + "description": "Add a new user to the database.

Requires superuser authentication to prevent unauthorized account creation.", "operationId": "add_user_api_v1_users__post", + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], "requestBody": { "required": true, "content": { @@ -2699,6 +2879,7 @@ "application/json": { "schema": { "type": "object", + "additionalProperties": true, "title": "Response Delete User Api V1 Users User Id Delete" } } @@ -3334,6 +3515,17 @@ ], "summary": "Download File", "operationId": "download_file_api_v1_files_download__flow_id___file_name__get", + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], "parameters": [ { "name": "file_name", @@ -3384,6 +3576,17 @@ ], "summary": "Download Image", "operationId": "download_image_api_v1_files_images__flow_id___file_name__get", + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], "parameters": [ { "name": "file_name", @@ -3433,6 +3636,7 @@ "Files" ], "summary": "Download Profile Picture", + "description": "Download profile picture from local filesystem.

Profile pictures are first looked up in config_dir/profile_pictures/,
then fallback to the package's bundled profile_pictures directory.", "operationId": "download_profile_picture_api_v1_files_profile_pictures__folder_name___file_name__get", "parameters": [ { @@ -3482,6 +3686,7 @@ "Files" ], "summary": "List Profile Pictures", + "description": "List profile pictures from local filesystem.

Profile pictures are first looked up in config_dir/profile_pictures/,
then fallback to the package's bundled profile_pictures directory.", "operationId": "list_profile_pictures_api_v1_files_profile_pictures_list_get", "responses": { "200": { @@ -3615,6 +3820,17 @@ ], "summary": "Get Vertex Builds", "operationId": "get_vertex_builds_api_v1_monitor_builds_get", + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], "parameters": [ { "name": "flow_id", @@ -3656,6 +3872,17 @@ ], "summary": "Delete Vertex Builds", "operationId": "delete_vertex_builds_api_v1_monitor_builds_delete", + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], "parameters": [ { "name": "flow_id", @@ -3757,6 +3984,17 @@ ], "summary": "Get Messages", "operationId": "get_messages_api_v1_monitor_messages_get", + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], "parameters": [ { "name": "flow_id", @@ -3849,7 +4087,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/MessageResponse-Output" + "$ref": "#/components/schemas/MessageResponse" }, "title": "Response Get Messages Api V1 Monitor Messages Get" } @@ -4029,7 +4267,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/MessageResponse-Output" + "$ref": "#/components/schemas/MessageResponse" }, "title": "Response Update Session Id Api V1 Monitor Messages Session Old Session Id Patch" } @@ -4056,6 +4294,17 @@ ], "summary": "Delete Messages Session", "operationId": "delete_messages_session_api_v1_monitor_messages_session__session_id__delete", + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], "parameters": [ { "name": "session_id", @@ -4091,6 +4340,17 @@ ], "summary": "Get Transactions", "operationId": "get_transactions_api_v1_monitor_transactions_get", + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], "parameters": [ { "name": "flow_id", @@ -4290,10 +4550,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FolderWithPaginatedFlows-Output" + "$ref": "#/components/schemas/FolderWithPaginatedFlows" }, { - "$ref": "#/components/schemas/FolderReadWithFlows-Output" + "$ref": "#/components/schemas/FolderReadWithFlows" } ], "title": "Response Read Folder Redirect Api V1 Folders Folder Id Get" @@ -4645,10 +4905,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FolderWithPaginatedFlows-Output" + "$ref": "#/components/schemas/FolderWithPaginatedFlows" }, { - "$ref": "#/components/schemas/FolderReadWithFlows-Output" + "$ref": "#/components/schemas/FolderReadWithFlows" } ], "title": "Response Read Project Api V1 Projects Project Id Get" @@ -4901,7 +5161,7 @@ "application/json": { "schema": { "items": { - "$ref": "#/components/schemas/GraphDump" + "$ref": "#/components/schemas/GraphDumpResponse" }, "type": "array", "title": "Response Get Starter Projects Api V1 Starter Projects Get" @@ -4982,6 +5242,7 @@ "content": { "application/json": { "schema": { + "additionalProperties": true, "type": "object", "title": "Response Delete Knowledge Bases Bulk Api V1 Knowledge Bases Delete" } @@ -5071,6 +5332,7 @@ "content": { "application/json": { "schema": { + "additionalProperties": true, "type": "object", "title": "Response Delete Knowledge Bases Bulk Api V1 Knowledge Bases Delete" } @@ -5255,6 +5517,154 @@ } } }, + "/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__get", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "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__get", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "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__get", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] + } + }, + "/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_get", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "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_get", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "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_get", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] + } + }, "/api/v1/voice/elevenlabs/voice_ids": { "get": { "tags": [ @@ -5292,7 +5702,7 @@ "mcp_projects" ], "summary": "List Project Tools", - "description": "List all tools in a project that are enabled for MCP.", + "description": "List project MCP tools.", "operationId": "list_project_tools_api_v1_mcp_project__project_id__get", "security": [ { @@ -5332,17 +5742,7 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/MCPProjectResponse" - }, - { - "type": "null" - } - ], - "title": "Response List Project Tools Api V1 Mcp Project Project Id Get" - } + "schema": {} } } }, @@ -5509,9 +5909,9 @@ "tags": [ "mcp_projects" ], - "summary": "Handle Project Messages With Slash", - "description": "Handle POST messages for a project-specific MCP server with trailing slash.", - "operationId": "handle_project_messages_with_slash_api_v1_mcp_project__project_id___post", + "summary": "Handle Project Messages", + "description": "Handle POST messages for a project-specific MCP server.", + "operationId": "handle_project_messages_api_v1_mcp_project__project_id___post", "parameters": [ { "name": "project_id", @@ -5546,6 +5946,220 @@ } } }, + "/api/v1/mcp/project/{project_id}/streamable/": { + "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__get", + "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" + } + } + } + } + } + }, + "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__get", + "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__get", + "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" + } + } + } + } + } + } + }, + "/api/v1/mcp/project/{project_id}/streamable": { + "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_get", + "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" + } + } + } + } + } + }, + "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_get", + "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_get", + "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" + } + } + } + } + } + } + }, "/api/v1/mcp/project/{project_id}/install": { "post": { "tags": [ @@ -5645,7 +6259,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": {} + "schema": { + "$ref": "#/components/schemas/ComposerUrlResponse" + } } } }, @@ -5764,29 +6380,13 @@ } }, "/api/v2/files/": { - "get": { + "post": { "tags": [ "Files" ], - "summary": "List Files", - "description": "List the files available to the current user.", - "operationId": "list_files_api_v2_files__get", - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "items": { - "$ref": "#/components/schemas/File" - }, - "type": "array", - "title": "Response List Files Api V2 Files Get" - } - } - } - } - }, + "summary": "Upload User File", + "description": "Upload a file for the current user and track it in the database.", + "operationId": "upload_user_file_api_v2_files__post", "security": [ { "OAuth2PasswordBearer": [] @@ -5797,24 +6397,28 @@ { "API key header": [] } - ] - }, - "post": { - "tags": [ - "Files" ], - "summary": "Upload User File", - "description": "Upload a file for the current user and track it in the database.", - "operationId": "upload_user_file_api_v2_files__post", + "parameters": [ + { + "name": "append", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "default": false, + "title": "Append" + } + } + ], "requestBody": { + "required": true, "content": { "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Body_upload_user_file_api_v2_files__post" } } - }, - "required": true + } }, "responses": { "201": { @@ -5837,7 +6441,15 @@ } } } - }, + } + }, + "get": { + "tags": [ + "Files" + ], + "summary": "List Files", + "description": "List the files available to the current user.", + "operationId": "list_files_api_v2_files__get", "security": [ { "OAuth2PasswordBearer": [] @@ -5848,7 +6460,23 @@ { "API key header": [] } - ] + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/File" + }, + "title": "Response List Files Api V2 Files Get" + } + } + } + } + } }, "delete": { "tags": [ @@ -5857,6 +6485,17 @@ "summary": "Delete All Files", "description": "Delete all files for the current user.", "operationId": "delete_all_files_api_v2_files__delete", + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], "responses": { "200": { "description": "Successful Response", @@ -5866,56 +6505,10 @@ } } } - }, - "security": [ - { - "OAuth2PasswordBearer": [] - }, - { - "API key query": [] - }, - { - "API key header": [] - } - ] + } } }, "/api/v2/files": { - "get": { - "tags": [ - "Files" - ], - "summary": "List Files", - "description": "List the files available to the current user.", - "operationId": "list_files_api_v2_files_get", - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "items": { - "$ref": "#/components/schemas/File" - }, - "type": "array", - "title": "Response List Files Api V2 Files Get" - } - } - } - } - }, - "security": [ - { - "OAuth2PasswordBearer": [] - }, - { - "API key query": [] - }, - { - "API key header": [] - } - ] - }, "post": { "tags": [ "Files" @@ -5923,15 +6516,38 @@ "summary": "Upload User File", "description": "Upload a file for the current user and track it in the database.", "operationId": "upload_user_file_api_v2_files_post", + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], + "parameters": [ + { + "name": "append", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "default": false, + "title": "Append" + } + } + ], "requestBody": { + "required": true, "content": { "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Body_upload_user_file_api_v2_files_post" } } - }, - "required": true + } }, "responses": { "201": { @@ -5954,7 +6570,15 @@ } } } - }, + } + }, + "get": { + "tags": [ + "Files" + ], + "summary": "List Files", + "description": "List the files available to the current user.", + "operationId": "list_files_api_v2_files_get", "security": [ { "OAuth2PasswordBearer": [] @@ -5965,7 +6589,23 @@ { "API key header": [] } - ] + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/File" + }, + "title": "Response List Files Api V2 Files Get" + } + } + } + } + } }, "delete": { "tags": [ @@ -5974,6 +6614,17 @@ "summary": "Delete All Files", "description": "Delete all files for the current user.", "operationId": "delete_all_files_api_v2_files_delete", + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], "responses": { "200": { "description": "Successful Response", @@ -5983,18 +6634,7 @@ } } } - }, - "security": [ - { - "OAuth2PasswordBearer": [] - }, - { - "API key query": [] - }, - { - "API key header": [] - } - ] + } } }, "/api/v2/files/batch/": { @@ -6427,6 +7067,7 @@ "application/json": { "schema": { "type": "object", + "additionalProperties": true, "title": "Server Config" } } @@ -6487,6 +7128,7 @@ "application/json": { "schema": { "type": "object", + "additionalProperties": true, "title": "Server Config" } } @@ -6563,6 +7205,77 @@ } } }, + "/api/v2/registration/": { + "get": { + "tags": [ + "Registration API" + ], + "summary": "Get Registration", + "description": "Get the registered user (if any).", + "operationId": "get_registration_api_v2_registration__get", + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": {} + } + } + } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] + }, + "post": { + "tags": [ + "Registration API" + ], + "summary": "Register User", + "description": "Register the single user with email.

Note: Only one registration is allowed.", + "operationId": "register_user_api_v2_registration__post", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RegisterRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RegisterResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, "/api/mcp/sse": { "get": { "tags": [ @@ -6607,6 +7320,154 @@ } } }, + "/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__get", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "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__get", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "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__get", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] + } + }, + "/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_get", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "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_get", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "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_get", + "responses": { + "200": { + "description": "Successful Response" + } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] + } + }, "/health": { "get": { "tags": [ @@ -6653,7 +7514,7 @@ "Log" ], "summary": "Stream Logs", - "description": "HTTP/2 Server-Sent-Event (SSE) endpoint for streaming logs.

It establishes a long-lived connection to the server and receives log messages in real-time.
The client should use the header \"Accept: text/event-stream\".", + "description": "HTTP/2 Server-Sent-Event (SSE) endpoint for streaming logs.

Requires authentication to prevent exposure of sensitive log data.
It establishes a long-lived connection to the server and receives log messages in real-time.
The client should use the header \"Accept: text/event-stream\".", "operationId": "stream_logs_logs_stream_get", "responses": { "200": { @@ -6664,7 +7525,18 @@ } } } - } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ] } }, "/logs": { @@ -6673,7 +7545,19 @@ "Log" ], "summary": "Logs", + "description": "Retrieve application logs with authentication required.

SECURITY: Logs may contain sensitive information and require authentication.", "operationId": "logs_logs_get", + "security": [ + { + "OAuth2PasswordBearer": [] + }, + { + "API key query": [] + }, + { + "API key header": [] + } + ], "parameters": [ { "name": "lines_before", @@ -7181,7 +8065,7 @@ ], "title": "Body_create_upload_file_api_v1_upload__flow_id__post" }, - "Body_experimental_run_flow_api_v1_run_advanced__flow_id__post": { + "Body_experimental_run_flow_api_v1_run_advanced__flow_id_or_name__post": { "properties": { "inputs": { "anyOf": [ @@ -7239,7 +8123,7 @@ } }, "type": "object", - "title": "Body_experimental_run_flow_api_v1_run_advanced__flow_id__post" + "title": "Body_experimental_run_flow_api_v1_run_advanced__flow_id_or_name__post" }, "Body_login_to_get_access_token_api_v1_login_post": { "properties": { @@ -7300,6 +8184,62 @@ ], "title": "Body_login_to_get_access_token_api_v1_login_post" }, + "Body_simplified_run_flow_api_v1_run__flow_id_or_name__post": { + "properties": { + "input_request": { + "anyOf": [ + { + "$ref": "#/components/schemas/SimplifiedAPIRequest" + }, + { + "type": "null" + } + ] + }, + "context": { + "anyOf": [ + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } + ], + "title": "Context" + } + }, + "type": "object", + "title": "Body_simplified_run_flow_api_v1_run__flow_id_or_name__post" + }, + "Body_simplified_run_flow_session_api_v1_run_session__flow_id_or_name__post": { + "properties": { + "input_request": { + "anyOf": [ + { + "$ref": "#/components/schemas/SimplifiedAPIRequest" + }, + { + "type": "null" + } + ] + }, + "context": { + "anyOf": [ + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } + ], + "title": "Context" + } + }, + "type": "object", + "title": "Body_simplified_run_flow_session_api_v1_run_session__flow_id_or_name__post" + }, "Body_upload_file_api_v1_files_upload__flow_id__post": { "properties": { "file": { @@ -7419,6 +8359,7 @@ "type": "string" }, { + "additionalProperties": true, "type": "object" } ] @@ -7487,7 +8428,7 @@ }, "files": { "items": { - "$ref": "#/components/schemas/langflow__utils__schemas__File" + "$ref": "#/components/schemas/lfx__utils__schemas__File" }, "type": "array", "title": "Files", @@ -7519,73 +8460,15 @@ ], "title": "Code" }, - "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": { "properties": { "imports": { + "additionalProperties": true, "type": "object", "title": "Imports" }, "function": { + "additionalProperties": true, "type": "object", "title": "Function" } @@ -7597,6 +8480,58 @@ ], "title": "CodeValidationResponse" }, + "ComposerUrlResponse": { + "properties": { + "project_id": { + "type": "string", + "title": "Project Id" + }, + "uses_composer": { + "type": "boolean", + "title": "Uses Composer" + }, + "streamable_http_url": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Streamable Http Url" + }, + "legacy_sse_url": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Legacy Sse Url" + }, + "error_message": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Error Message" + } + }, + "type": "object", + "required": [ + "project_id", + "uses_composer" + ], + "title": "ComposerUrlResponse", + "description": "Response model for MCP Composer connection details." + }, "ConfigResponse": { "properties": { "feature_flags": { @@ -7651,9 +8586,21 @@ ], "title": "Event Delivery" }, + "webhook_auth_enable": { + "type": "boolean", + "title": "Webhook Auth Enable" + }, "voice_mode_available": { "type": "boolean", "title": "Voice Mode Available" + }, + "default_folder_name": { + "type": "string", + "title": "Default Folder Name" + }, + "hide_getting_started_progress": { + "type": "boolean", + "title": "Hide Getting Started Progress" } }, "type": "object", @@ -7670,111 +8617,13 @@ "public_flow_cleanup_interval", "public_flow_expiration", "event_delivery", - "voice_mode_available" + "webhook_auth_enable", + "voice_mode_available", + "default_folder_name", + "hide_getting_started_progress" ], "title": "ConfigResponse" }, - "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", - "title": "Title" - }, - "contents": { - "items": { - "type": "object" - }, - "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." - }, "CreateComponentResponse": { "properties": { "id": { @@ -7798,6 +8647,7 @@ "frontend_node": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -7816,6 +8666,7 @@ "CustomComponentResponse": { "properties": { "data": { + "additionalProperties": true, "type": "object", "title": "Data" }, @@ -7863,6 +8714,7 @@ "data": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -7885,6 +8737,7 @@ "metadata": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -7905,139 +8758,6 @@ ], "title": "DownloadComponentResponse" }, - "EdgeData": { - "properties": { - "source": { - "type": "string", - "title": "Source" - }, - "target": { - "type": "string", - "title": "Target" - }, - "data": { - "$ref": "#/components/schemas/EdgeDataDetails" - } - }, - "type": "object", - "title": "EdgeData" - }, - "EdgeDataDetails": { - "properties": { - "sourceHandle": { - "$ref": "#/components/schemas/SourceHandleDict" - }, - "targetHandle": { - "anyOf": [ - { - "$ref": "#/components/schemas/TargetHandleDict" - }, - { - "$ref": "#/components/schemas/LoopTargetHandleDict" - } - ], - "title": "Targethandle" - } - }, - "type": "object", - "required": [ - "sourceHandle", - "targetHandle" - ], - "title": "EdgeDataDetails" - }, - "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": { "properties": { "errorMessage": { @@ -8185,6 +8905,7 @@ "data": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -8410,6 +9131,7 @@ "data": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -8579,6 +9301,7 @@ "properties": { "nodes": { "items": { + "additionalProperties": true, "type": "object" }, "type": "array", @@ -8586,6 +9309,7 @@ }, "edges": { "items": { + "additionalProperties": true, "type": "object" }, "type": "array", @@ -8594,6 +9318,7 @@ "viewport": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -8675,6 +9400,7 @@ "data": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -8824,6 +9550,7 @@ "data": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -9014,6 +9741,7 @@ "data": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -9134,6 +9862,7 @@ "auth_settings": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -9200,6 +9929,7 @@ "auth_settings": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -9235,70 +9965,7 @@ ], "title": "FolderRead" }, - "FolderReadWithFlows-Input": { - "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" - }, - "FolderReadWithFlows-Output": { + "FolderReadWithFlows": { "properties": { "name": { "type": "string", @@ -9318,6 +9985,7 @@ "auth_settings": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -9416,6 +10084,7 @@ "auth_settings": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -9428,29 +10097,13 @@ "type": "object", "title": "FolderUpdate" }, - "FolderWithPaginatedFlows-Input": { + "FolderWithPaginatedFlows": { "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_-Output" + "$ref": "#/components/schemas/Page_Flow_" } }, "type": "object", @@ -9463,6 +10116,7 @@ "FrontendNodeRequest-Input": { "properties": { "template": { + "additionalProperties": true, "type": "object", "title": "Template" }, @@ -9569,6 +10223,7 @@ "custom_fields": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -9671,6 +10326,7 @@ "default": false }, "metadata": { + "additionalProperties": true, "type": "object", "title": "Metadata", "default": {} @@ -9691,6 +10347,7 @@ "FrontendNodeRequest-Output": { "properties": { "template": { + "additionalProperties": true, "type": "object", "title": "Template" }, @@ -9789,6 +10446,7 @@ "custom_fields": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -9891,6 +10549,7 @@ "default": false }, "metadata": { + "additionalProperties": true, "type": "object", "title": "Metadata", "default": {} @@ -9912,20 +10571,29 @@ "properties": { "nodes": { "items": { - "$ref": "#/components/schemas/NodeData" + "additionalProperties": true, + "type": "object" }, "type": "array", "title": "Nodes" }, "edges": { "items": { - "$ref": "#/components/schemas/EdgeData" + "additionalProperties": true, + "type": "object" }, "type": "array", "title": "Edges" }, "viewport": { - "$ref": "#/components/schemas/ViewPort" + "anyOf": [ + { + "$ref": "#/components/schemas/ViewPort" + }, + { + "type": "null" + } + ] } }, "type": "object", @@ -9935,30 +10603,61 @@ ], "title": "GraphData" }, - "GraphDump": { + "GraphDumpResponse": { "properties": { "data": { "$ref": "#/components/schemas/GraphData" }, "is_component": { - "type": "boolean", + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Is Component" }, "name": { - "type": "string", + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Name" }, "description": { - "type": "string", + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Description" }, "endpoint_name": { - "type": "string", + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Endpoint Name" } }, "type": "object", - "title": "GraphDump" + "required": [ + "data" + ], + "title": "GraphDumpResponse" }, "HTTPValidationError": { "properties": { @@ -9973,34 +10672,6 @@ "type": "object", "title": "HTTPValidationError" }, - "HeaderDict": { - "properties": { - "title": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Title" - }, - "icon": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Icon" - } - }, - "type": "object", - "title": "HeaderDict" - }, "HealthResponse": { "properties": { "status": { @@ -10078,6 +10749,18 @@ "title": "Type", "description": "Defines on which components the input value should be applied. 'any' applies to all input components.", "default": "any" + }, + "client_request_time": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Client Request Time", + "description": "Client-side timestamp in milliseconds when the request was initiated. Used to calculate accurate end-to-end duration." } }, "additionalProperties": false, @@ -10122,50 +10805,6 @@ } ] }, - "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": { "properties": { "id": { @@ -10305,6 +10944,7 @@ "metadata": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -10317,6 +10957,7 @@ "user_created": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -10417,7 +11058,7 @@ ], "title": "ListComponentResponseModel" }, - "Log-Input": { + "Log": { "properties": { "name": { "type": "string", @@ -10429,6 +11070,7 @@ "type": "string" }, { + "additionalProperties": true, "type": "object" }, { @@ -10448,7 +11090,7 @@ "$ref": "#/components/schemas/BaseModel" }, { - "$ref": "#/components/schemas/PlaygroundEvent-Input" + "$ref": "#/components/schemas/PlaygroundEvent" }, { "type": "null" @@ -10469,94 +11111,26 @@ ], "title": "Log" }, - "Log-Output": { - "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-Output" - }, - { - "type": "null" - } - ], - "title": "Message" - }, - "type": { - "type": "string", - "title": "Type" - } - }, - "type": "object", - "required": [ - "name", - "message", - "type" - ], - "title": "Log" - }, - "LoopTargetHandleDict": { - "properties": { - "dataType": { - "type": "string", - "title": "Datatype" - }, - "id": { - "type": "string", - "title": "Id" - }, - "name": { - "type": "string", - "title": "Name" - }, - "output_types": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Output Types" - } - }, - "type": "object", - "required": [ - "dataType", - "id", - "name", - "output_types" - ], - "title": "LoopTargetHandleDict" - }, "MCPInstallRequest": { "properties": { "client": { "type": "string", "title": "Client" + }, + "transport": { + "anyOf": [ + { + "type": "string", + "enum": [ + "sse", + "streamablehttp" + ] + }, + { + "type": "null" + } + ], + "title": "Transport" } }, "type": "object", @@ -10565,33 +11139,6 @@ ], "title": "MCPInstallRequest" }, - "MCPProjectResponse": { - "properties": { - "tools": { - "items": { - "$ref": "#/components/schemas/MCPSettings" - }, - "type": "array", - "title": "Tools" - }, - "auth_settings": { - "anyOf": [ - { - "$ref": "#/components/schemas/AuthSettings" - }, - { - "type": "null" - } - ] - } - }, - "type": "object", - "required": [ - "tools" - ], - "title": "MCPProjectResponse", - "description": "Response model for MCP project tools with auth settings." - }, "MCPProjectUpdateRequest": { "properties": { "settings": { @@ -10689,64 +11236,6 @@ "title": "MCPSettings", "description": "Model representing MCP settings for a flow." }, - "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": { "properties": { "timestamp": { @@ -10766,6 +11255,17 @@ "type": "string", "title": "Session Id" }, + "context_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Context Id" + }, "text": { "type": "string", "title": "Text" @@ -10788,7 +11288,7 @@ "default": false }, "properties": { - "$ref": "#/components/schemas/Properties" + "$ref": "#/components/schemas/langflow__schema__properties__Properties" }, "category": { "type": "string", @@ -10797,7 +11297,7 @@ }, "content_blocks": { "items": { - "$ref": "#/components/schemas/ContentBlock-Output" + "$ref": "#/components/schemas/lfx__schema__content_block__ContentBlock" }, "type": "array", "title": "Content Blocks" @@ -10831,7 +11331,7 @@ ], "title": "MessageRead" }, - "MessageResponse-Input": { + "MessageResponse": { "properties": { "id": { "anyOf": [ @@ -10877,44 +11377,7 @@ "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": "number" - }, - { - "type": "null" - } - ], - "title": "Duration" - }, - "properties": { - "anyOf": [ - { - "$ref": "#/components/schemas/Properties" - }, - { - "type": "null" - } - ] - }, - "category": { + "context_id": { "anyOf": [ { "type": "string" @@ -10923,78 +11386,7 @@ "type": "null" } ], - "title": "Category" - }, - "content_blocks": { - "anyOf": [ - { - "items": { - "$ref": "#/components/schemas/ContentBlock-Input" - }, - "type": "array" - }, - { - "type": "null" - } - ], - "title": "Content Blocks" - } - }, - "type": "object", - "required": [ - "sender", - "sender_name", - "session_id", - "text", - "edit" - ], - "title": "MessageResponse" - }, - "MessageResponse-Output": { - "properties": { - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "string", - "format": "uuid" - }, - { - "type": "null" - } - ], - "title": "Id" - }, - "flow_id": { - "anyOf": [ - { - "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" + "title": "Context Id" }, "text": { "type": "string", @@ -11026,7 +11418,7 @@ "properties": { "anyOf": [ { - "$ref": "#/components/schemas/Properties" + "$ref": "#/components/schemas/langflow__schema__properties__Properties" }, { "type": "null" @@ -11048,7 +11440,7 @@ "anyOf": [ { "items": { - "$ref": "#/components/schemas/ContentBlock-Output" + "$ref": "#/components/schemas/lfx__schema__content_block__ContentBlock" }, "type": "array" }, @@ -11115,6 +11507,17 @@ ], "title": "Session Id" }, + "context_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Context Id" + }, "files": { "anyOf": [ { @@ -11154,7 +11557,7 @@ "properties": { "anyOf": [ { - "$ref": "#/components/schemas/Properties" + "$ref": "#/components/schemas/langflow__schema__properties__Properties" }, { "type": "null" @@ -11165,61 +11568,6 @@ "type": "object", "title": "MessageUpdate" }, - "NodeData": { - "properties": { - "id": { - "type": "string", - "title": "Id" - }, - "data": { - "type": "object", - "title": "Data" - }, - "dragging": { - "type": "boolean", - "title": "Dragging" - }, - "height": { - "type": "integer", - "title": "Height" - }, - "width": { - "type": "integer", - "title": "Width" - }, - "position": { - "$ref": "#/components/schemas/Position" - }, - "positionAbsolute": { - "$ref": "#/components/schemas/Position" - }, - "selected": { - "type": "boolean", - "title": "Selected" - }, - "parent_node_id": { - "type": "string", - "title": "Parent Node Id" - }, - "type": { - "$ref": "#/components/schemas/NodeTypeEnum" - } - }, - "type": "object", - "required": [ - "id", - "data" - ], - "title": "NodeData" - }, - "NodeTypeEnum": { - "type": "string", - "enum": [ - "noteNode", - "genericNode" - ], - "title": "NodeTypeEnum" - }, "OpenAIResponsesRequest": { "properties": { "model": { @@ -11386,6 +11734,20 @@ "title": "Allows Loop", "default": false }, + "loop_types": { + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Loop Types" + }, "group_outputs": { "type": "boolean", "title": "Group Outputs", @@ -11441,6 +11803,7 @@ "$ref": "#/components/schemas/StreamURL" }, { + "additionalProperties": true, "type": "object" }, { @@ -11465,7 +11828,7 @@ ], "title": "OutputValue" }, - "Page_FlowRead_-Input": { + "Page_FlowRead_": { "properties": { "items": { "items": { @@ -11505,87 +11868,7 @@ ], "title": "Page[FlowRead]" }, - "Page_FlowRead_-Output": { - "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_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": { + "Page_Flow_": { "properties": { "items": { "items": { @@ -11629,7 +11912,7 @@ "properties": { "items": { "items": { - "$ref": "#/components/schemas/TransactionTable-Output" + "$ref": "#/components/schemas/TransactionTable" }, "type": "array", "title": "Items" @@ -11665,12 +11948,12 @@ ], "title": "Page[TransactionTable]" }, - "PlaygroundEvent-Input": { + "PlaygroundEvent": { "properties": { "properties": { "anyOf": [ { - "$ref": "#/components/schemas/Properties" + "$ref": "#/components/schemas/langflow__schema__properties__Properties" }, { "type": "null" @@ -11692,7 +11975,7 @@ "anyOf": [ { "items": { - "$ref": "#/components/schemas/ContentBlock-Input" + "$ref": "#/components/schemas/lfx__schema__content_block__ContentBlock" }, "type": "array" }, @@ -11762,121 +12045,6 @@ "type": "object", "title": "PlaygroundEvent" }, - "PlaygroundEvent-Output": { - "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-Output" - }, - "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" - }, - "Position": { - "properties": { - "x": { - "type": "number", - "title": "X" - }, - "y": { - "type": "number", - "title": "Y" - } - }, - "type": "object", - "required": [ - "x", - "y" - ], - "title": "Position" - }, "PromptValidationResponse": { "properties": { "input_variables": { @@ -11901,85 +12069,34 @@ ], "title": "PromptValidationResponse" }, - "Properties": { + "RegisterRequest": { "properties": { - "text_color": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Text Color" - }, - "background_color": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Background Color" - }, - "edited": { - "type": "boolean", - "title": "Edited", - "default": false - }, - "source": { - "$ref": "#/components/schemas/Source" - }, - "icon": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Icon" - }, - "allow_markdown": { - "type": "boolean", - "title": "Allow Markdown", - "default": false - }, - "positive_feedback": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "title": "Positive Feedback" - }, - "state": { + "email": { "type": "string", - "enum": [ - "partial", - "complete" - ], - "title": "State", - "default": "complete" - }, - "targets": { - "items": {}, - "type": "array", - "title": "Targets", - "default": [] + "format": "email", + "title": "Email" } }, "type": "object", - "title": "Properties" + "required": [ + "email" + ], + "title": "RegisterRequest" }, - "ResultData-Input": { + "RegisterResponse": { + "properties": { + "email": { + "type": "string", + "title": "Email" + } + }, + "type": "object", + "required": [ + "email" + ], + "title": "RegisterResponse" + }, + "ResultData": { "properties": { "results": { "anyOf": [ @@ -12002,6 +12119,7 @@ "outputs": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -12013,6 +12131,7 @@ "logs": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -12095,212 +12214,14 @@ "type": "object", "title": "ResultData" }, - "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": { + "ResultDataResponse": { + "additionalProperties": true, "type": "object" }, - "RunOutputs-Input": { + "RunOutputs": { "properties": { "inputs": { + "additionalProperties": true, "type": "object", "title": "Inputs" }, @@ -12308,31 +12229,7 @@ "items": { "anyOf": [ { - "$ref": "#/components/schemas/ResultData-Input" - }, - { - "type": "null" - } - ] - }, - "type": "array", - "title": "Outputs" - } - }, - "type": "object", - "title": "RunOutputs" - }, - "RunOutputs-Output": { - "properties": { - "inputs": { - "type": "object", - "title": "Inputs" - }, - "outputs": { - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/ResultData-Output" + "$ref": "#/components/schemas/ResultData" }, { "type": "null" @@ -12352,7 +12249,7 @@ "anyOf": [ { "items": { - "$ref": "#/components/schemas/RunOutputs-Output" + "$ref": "#/components/schemas/RunOutputs" }, "type": "array" }, @@ -12470,87 +12367,6 @@ "type": "object", "title": "SimplifiedAPIRequest" }, - "Source": { - "properties": { - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Id", - "description": "The id of the source component." - }, - "display_name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Display Name", - "description": "The display name of the source component." - }, - "source": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Source", - "description": "The source of the message. Normally used to display the model name (e.g. 'gpt-4o')" - } - }, - "type": "object", - "title": "Source" - }, - "SourceHandleDict": { - "properties": { - "baseClasses": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Baseclasses" - }, - "dataType": { - "type": "string", - "title": "Datatype" - }, - "id": { - "type": "string", - "title": "Id" - }, - "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Name" - }, - "output_types": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Output Types" - } - }, - "type": "object", - "title": "SourceHandleDict" - }, "StoreComponentCreate": { "properties": { "name": { @@ -12569,6 +12385,7 @@ "title": "Description" }, "data": { + "additionalProperties": true, "type": "object", "title": "Data" }, @@ -12682,44 +12499,6 @@ ], "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": { @@ -12743,50 +12522,6 @@ "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": { @@ -12810,162 +12545,7 @@ ], "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." - }, - "ToolContent-Output": { - "type": "object" - }, - "TransactionTable-Input": { - "properties": { - "timestamp": { - "type": "string", - "format": "date-time", - "title": "Timestamp" - }, - "vertex_id": { - "type": "string", - "title": "Vertex Id" - }, - "target_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Target Id" - }, - "inputs": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ], - "title": "Inputs" - }, - "outputs": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ], - "title": "Outputs" - }, - "status": { - "type": "string", - "title": "Status" - }, - "error": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Error" - }, - "flow_id": { - "type": "string", - "format": "uuid", - "title": "Flow Id" - }, - "id": { - "anyOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "type": "null" - } - ], - "title": "Id" - } - }, - "type": "object", - "required": [ - "vertex_id", - "status", - "flow_id" - ], - "title": "TransactionTable" - }, - "TransactionTable-Output": { + "TransactionTable": { "properties": { "timestamp": { "type": "string", @@ -12988,10 +12568,12 @@ "title": "Target Id" }, "inputs": { + "additionalProperties": true, "type": "object", "title": "Inputs" }, "outputs": { + "additionalProperties": true, "type": "object", "title": "Outputs" }, @@ -13043,6 +12625,7 @@ "type": "string" }, { + "additionalProperties": true, "type": "object" } ] @@ -13129,6 +12712,7 @@ "frontend_node": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -13156,6 +12740,7 @@ "type": "boolean" }, { + "additionalProperties": true, "type": "object" }, { @@ -13169,6 +12754,7 @@ "title": "Field Value" }, "template": { + "additionalProperties": true, "type": "object", "title": "Template" }, @@ -13199,6 +12785,7 @@ "optins": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -13286,6 +12873,7 @@ "optins": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -13380,6 +12968,7 @@ "optins": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -13458,6 +13047,7 @@ "custom_fields": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -13713,7 +13303,7 @@ "vertex_builds": { "additionalProperties": { "items": { - "$ref": "#/components/schemas/VertexBuildTable-Output" + "$ref": "#/components/schemas/VertexBuildTable" }, "type": "array" }, @@ -13796,6 +13386,7 @@ "title": "Params" }, "data": { + "additionalProperties": true, "type": "object" }, "timestamp": { @@ -13818,81 +13409,7 @@ ], "title": "VertexBuildResponse" }, - "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": { + "VertexBuildTable": { "properties": { "timestamp": { "type": "string", @@ -13904,10 +13421,12 @@ "title": "Id" }, "data": { + "additionalProperties": true, "type": "object", "title": "Data" }, "artifacts": { + "additionalProperties": true, "type": "object", "title": "Artifacts" }, @@ -14060,7 +13579,193 @@ "title": "UploadFileResponse", "description": "Upload file response schema." }, - "langflow__utils__schemas__File": { + "langflow__schema__content_types__CodeContent": { + "additionalProperties": true, + "type": "object" + }, + "langflow__schema__properties__Properties": { + "properties": { + "text_color": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Text Color" + }, + "background_color": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Background Color" + }, + "edited": { + "type": "boolean", + "title": "Edited", + "default": false + }, + "source": { + "$ref": "#/components/schemas/langflow__schema__properties__Source" + }, + "icon": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Icon" + }, + "allow_markdown": { + "type": "boolean", + "title": "Allow Markdown", + "default": false + }, + "positive_feedback": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "title": "Positive Feedback" + }, + "state": { + "type": "string", + "enum": [ + "partial", + "complete" + ], + "title": "State", + "default": "complete" + }, + "targets": { + "items": {}, + "type": "array", + "title": "Targets", + "default": [] + } + }, + "type": "object", + "title": "Properties" + }, + "langflow__schema__properties__Source": { + "properties": { + "id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Id", + "description": "The id of the source component." + }, + "display_name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Display Name", + "description": "The display name of the source component." + }, + "source": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Source", + "description": "The source of the message. Normally used to display the model name (e.g. 'gpt-4o')" + } + }, + "type": "object", + "title": "Source" + }, + "lfx__schema__content_block__ContentBlock": { + "properties": { + "title": { + "type": "string", + "title": "Title" + }, + "contents": { + "items": { + "additionalProperties": true, + "type": "object" + }, + "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." + }, + "lfx__schema__content_types__ErrorContent": { + "additionalProperties": true, + "type": "object" + }, + "lfx__schema__content_types__JSONContent": { + "additionalProperties": true, + "type": "object" + }, + "lfx__schema__content_types__MediaContent": { + "additionalProperties": true, + "type": "object" + }, + "lfx__schema__content_types__TextContent": { + "additionalProperties": true, + "type": "object" + }, + "lfx__schema__content_types__ToolContent": { + "additionalProperties": true, + "type": "object" + }, + "lfx__utils__schemas__File": { "properties": { "path": { "type": "string",