| new_session_id required | string (New Session Id) https://docs.langflow.org/api/v1/monitor/messages/{message_id} Request samples Content typeapplication/json {"text": "string", "sender": "string", "sender_name": "string", "session_id": "string", "context_id": "string", "edit": true, "error": true, "properties": {"text_color": "string", "background_color": "string", "edited": false, "icon": "string", "allow_markdown": false, "positive_feedback": true, "state": "partial", "targets": [ ] } } Response samples Content typeapplication/json {"timestamp": "2019-08-24T14:15:22Z", "sender": "string", "sender_name": "string", "session_id": "string", "context_id": "string", "text": "string", "error": false, "edit": false, "properties": {"text_color": "string", "background_color": "string", "edited": false, "icon": "string", "allow_markdown": false, "positive_feedback": true, "state": "partial", "targets": [ ] }, "category": "message", "content_blocks": [{"title": "string", "allow_markdown": true, } ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "flow_id": "0746f03b-16cc-49fb-9833-df3713d407d2" }Update Session Id OAuth2PasswordBearerAPI key queryAPI key header query Parameters| new_session_id required | string (New Session Id) The new session ID to update to
|
https://docs.langflow.org/api/v1/monitor/messages/session/{old_session_id} Response samples Content typeapplication/json [{"id": "string", "flow_id": "0746f03b-16cc-49fb-9833-df3713d407d2", "timestamp": "2019-08-24T14:15:22Z", "sender": "string", "sender_name": "string", "session_id": "string", "text": "string", "files": [ ], "edit": true, "duration": 0, "properties": {"text_color": "string", "background_color": "string", "edited": false, "icon": "string", "allow_markdown": false, "positive_feedback": true, "state": "partial", "targets": [ ] }, "category": "string", "content_blocks": [{"title": "string", "allow_markdown": true, } ] } ]Delete Messages Session ResponsesDelete Messages Session OAuth2PasswordBearerAPI key queryAPI key header delete/api/v1/monitor/messages/session/{session_id}https://docs.langflow.org/api/v1/monitor/messages/session/{session_id} Response samples Content typeapplication/json Copy Expand all Collapse all {"detail": [{"msg": "string", "type": "string" } ] }Get Transactions query Parameters| flow_id required | | | page | integer (Page) >= 1 Default: 1 delete/api/v1/monitor/messages/session/{session_id}https://docs.langflow.org/api/v1/monitor/messages/session/{session_id} Response samples Content typeapplication/json Copy Expand all Collapse all {"detail": [{"msg": "string", "type": "string" } ] }Get Transactions OAuth2PasswordBearerAPI key queryAPI key header query Parameters| flow_id required | | | page | integer (Page) >= 1 Default: 1 | | size | integer (Size) [ 1 .. 100 ] Default: 50 Page size
@@ -1461,21 +1463,69 @@ html([data-theme='dark']) data-styled.g138[id="sc-enPhjR"]{content:"fdfgWT,"}/*!
" class="sc-eVqvcJ sc-fszimp sc-etsjJW gvxaTx dmtfed eEseFw"> Successful Response
get/api/v1/mcp/ssehttps://docs.langflow.org/api/v1/mcp/sse post/api/v1/mcp/https://docs.langflow.org/api/v1/mcp/ Response samples Content typeapplication/json Handle Sse OAuth2PasswordBearerAPI key queryAPI key header Responses200 post/api/v1/mcp/https://docs.langflow.org/api/v1/mcp/ Response samples Content typeapplication/json Handle Streamable Http Streamable HTTP endpoint for MCP clients that support the new transport.
+ OAuth2PasswordBearerAPI key queryAPI key header get/api/v1/mcp/streamable/https://docs.langflow.org/api/v1/mcp/streamable/ Handle Streamable Http Streamable HTTP endpoint for MCP clients that support the new transport.
+ OAuth2PasswordBearerAPI key queryAPI key header post/api/v1/mcp/streamable/https://docs.langflow.org/api/v1/mcp/streamable/ Handle Streamable Http Streamable HTTP endpoint for MCP clients that support the new transport.
+ OAuth2PasswordBearerAPI key queryAPI key header delete/api/v1/mcp/streamable/https://docs.langflow.org/api/v1/mcp/streamable/ Handle Streamable Http Streamable HTTP endpoint for MCP clients that support the new transport.
+ OAuth2PasswordBearerAPI key queryAPI key header get/api/v1/mcp/streamablehttps://docs.langflow.org/api/v1/mcp/streamable Handle Streamable Http Streamable HTTP endpoint for MCP clients that support the new transport.
+ OAuth2PasswordBearerAPI key queryAPI key header post/api/v1/mcp/streamablehttps://docs.langflow.org/api/v1/mcp/streamable Handle Streamable Http Streamable HTTP endpoint for MCP clients that support the new transport.
+ OAuth2PasswordBearerAPI key queryAPI key header delete/api/v1/mcp/streamablehttps://docs.langflow.org/api/v1/mcp/streamable Handle Sse OAuth2PasswordBearerAPI key queryAPI key header get/api/mcp/ssehttps://docs.langflow.org/api/mcp/sse post/api/mcp/https://docs.langflow.org/api/mcp/ Response samples Content typeapplication/json Get Elevenlabs Voice Ids post/api/mcp/https://docs.langflow.org/api/mcp/ Response samples Content typeapplication/json Handle Streamable Http Streamable HTTP endpoint for MCP clients that support the new transport.
+ OAuth2PasswordBearerAPI key queryAPI key header get/api/mcp/streamable/https://docs.langflow.org/api/mcp/streamable/ Handle Streamable Http Streamable HTTP endpoint for MCP clients that support the new transport.
+ OAuth2PasswordBearerAPI key queryAPI key header post/api/mcp/streamable/https://docs.langflow.org/api/mcp/streamable/ Handle Streamable Http Streamable HTTP endpoint for MCP clients that support the new transport.
+ OAuth2PasswordBearerAPI key queryAPI key header delete/api/mcp/streamable/https://docs.langflow.org/api/mcp/streamable/ Handle Streamable Http Streamable HTTP endpoint for MCP clients that support the new transport.
+ OAuth2PasswordBearerAPI key queryAPI key header get/api/mcp/streamablehttps://docs.langflow.org/api/mcp/streamable Handle Streamable Http Streamable HTTP endpoint for MCP clients that support the new transport.
+ OAuth2PasswordBearerAPI key queryAPI key header post/api/mcp/streamablehttps://docs.langflow.org/api/mcp/streamable Handle Streamable Http Streamable HTTP endpoint for MCP clients that support the new transport.
+ OAuth2PasswordBearerAPI key queryAPI key header delete/api/mcp/streamablehttps://docs.langflow.org/api/mcp/streamable Get Elevenlabs Voice Ids Get available voice IDs from ElevenLabs API.
OAuth2PasswordBearerAPI key queryAPI key header get/api/v1/voice/elevenlabs/voice_idshttps://docs.langflow.org/api/v1/voice/elevenlabs/voice_ids Response samples Content typeapplication/json Handle Project Messages get/api/v1/mcp/project/{project_id}https://docs.langflow.org/api/v1/mcp/project/{project_id} Response samples Content typeapplication/json Handle Project Messages Handle POST messages for a project-specific MCP server.
path Parameters| project_id required | string <uuid> (Project Id) |
Responses200 Successful Response
@@ -1493,31 +1543,67 @@ html([data-theme='dark']) data-styled.g138[id="sc-enPhjR"]{content:"fdfgWT,"}/*!
" class="sc-eVqvcJ sc-fszimp sc-etsjJW gvxaTx dmtfed eEseFw"> Successful Response
get/api/v1/mcp/project/{project_id}/ssehttps://docs.langflow.org/api/v1/mcp/project/{project_id}/sse Response samples Content typeapplication/json Copy Expand all Collapse all {"detail": [{"msg": "string", "type": "string" } ] }Handle Project Messages With Slash Handle POST messages for a project-specific MCP server with trailing slash.
+ get/api/v1/mcp/project/{project_id}/ssehttps://docs.langflow.org/api/v1/mcp/project/{project_id}/sse Response samples Content typeapplication/json Copy Expand all Collapse all {"detail": [{"msg": "string", "type": "string" } ] }Handle Project Messages Handle POST messages for a project-specific MCP server.
path Parameters| project_id required | string <uuid> (Project Id) |
post/api/v1/mcp/project/{project_id}/https://docs.langflow.org/api/v1/mcp/project/{project_id}/ Response samples Content typeapplication/json Install Mcp Config Install MCP server configuration for Cursor, Windsurf, or Claude.
- OAuth2PasswordBearerAPI key queryAPI key header path Parameters| project_id required | string <uuid> (Project Id) |
Request Body schema: application/jsonrequired Responses200 post/api/v1/mcp/project/{project_id}/https://docs.langflow.org/api/v1/mcp/project/{project_id}/ Response samples Content typeapplication/json Handle Project Streamable Http Handle Streamable HTTP connections for a specific project.
+ path Parameters| project_id required | string <uuid> (Project Id) |
post/api/v1/mcp/project/{project_id}/installhttps://docs.langflow.org/api/v1/mcp/project/{project_id}/install Request samples Content typeapplication/json Response samples Content typeapplication/json Get Project Composer Url get/api/v1/mcp/project/{project_id}/streamable/https://docs.langflow.org/api/v1/mcp/project/{project_id}/streamable/ Response samples Content typeapplication/json Copy Expand all Collapse all {"detail": [{"msg": "string", "type": "string" } ] }Handle Project Streamable Http Handle Streamable HTTP connections for a specific project.
+ path Parameters| project_id required | string <uuid> (Project Id) |
post/api/v1/mcp/project/{project_id}/streamable/https://docs.langflow.org/api/v1/mcp/project/{project_id}/streamable/ Response samples Content typeapplication/json Copy Expand all Collapse all {"detail": [{"msg": "string", "type": "string" } ] }Handle Project Streamable Http Handle Streamable HTTP connections for a specific project.
+ path Parameters| project_id required | string <uuid> (Project Id) |
delete/api/v1/mcp/project/{project_id}/streamable/https://docs.langflow.org/api/v1/mcp/project/{project_id}/streamable/ Response samples Content typeapplication/json Copy Expand all Collapse all {"detail": [{"msg": "string", "type": "string" } ] }Handle Project Streamable Http Handle Streamable HTTP connections for a specific project.
+ path Parameters| project_id required | string <uuid> (Project Id) |
get/api/v1/mcp/project/{project_id}/streamablehttps://docs.langflow.org/api/v1/mcp/project/{project_id}/streamable Response samples Content typeapplication/json Copy Expand all Collapse all {"detail": [{"msg": "string", "type": "string" } ] }Handle Project Streamable Http Handle Streamable HTTP connections for a specific project.
+ path Parameters| project_id required | string <uuid> (Project Id) |
post/api/v1/mcp/project/{project_id}/streamablehttps://docs.langflow.org/api/v1/mcp/project/{project_id}/streamable Response samples Content typeapplication/json Copy Expand all Collapse all {"detail": [{"msg": "string", "type": "string" } ] }Handle Project Streamable Http Handle Streamable HTTP connections for a specific project.
+ path Parameters| project_id required | string <uuid> (Project Id) |
delete/api/v1/mcp/project/{project_id}/streamablehttps://docs.langflow.org/api/v1/mcp/project/{project_id}/streamable Response samples Content typeapplication/json Copy Expand all Collapse all {"detail": [{"msg": "string", "type": "string" } ] }Install Mcp Config Install MCP server configuration for Cursor, Windsurf, or Claude.
+ OAuth2PasswordBearerAPI key queryAPI key header path Parameters| project_id required | string <uuid> (Project Id) |
Request Body schema: application/jsonrequired | client required | | | transport | Transport (string) or Transport (null) (Transport) |
post/api/v1/mcp/project/{project_id}/installhttps://docs.langflow.org/api/v1/mcp/project/{project_id}/install Request samples Content typeapplication/json {"client": "string", "transport": "sse" } Response samples Content typeapplication/json Get Project Composer Url Get the MCP Composer URL for a specific project.
On failure, this endpoint should return with a 200 status code and an error message in the body of the response to display to the user.
OAuth2PasswordBearerAPI key queryAPI key header path Parameters| project_id required | string <uuid> (Project Id) |
get/api/v1/mcp/project/{project_id}/composer-urlhttps://docs.langflow.org/api/v1/mcp/project/{project_id}/composer-url Response samples Content typeapplication/json Check Installed Mcp Servers get/api/v1/mcp/project/{project_id}/composer-urlhttps://docs.langflow.org/api/v1/mcp/project/{project_id}/composer-url Response samples Content typeapplication/json {"project_id": "string", "uses_composer": true, "streamable_http_url": "string", "legacy_sse_url": "string", "error_message": "string" }Check Installed Mcp Servers Check if MCP server configuration is installed for this project in Cursor, Windsurf, or Claude.
OAuth2PasswordBearerAPI key queryAPI key header path Parameters| project_id required | string <uuid> (Project Id) |
get/api/v1/mcp/project/{project_id}/installedhttps://docs.langflow.org/api/v1/mcp/project/{project_id}/installed Response samples Content typeapplication/json Create Response get/api/v1/mcp/project/{project_id}/installedhttps://docs.langflow.org/api/v1/mcp/project/{project_id}/installed Response samples Content typeapplication/json Create Response Create a response using OpenAI Responses API format.
This endpoint accepts a flow_id in the model parameter and processes the input through the specified Langflow flow.
Args: request: OpenAI Responses API request with model (flow_id) and input background_tasks: FastAPI background task manager api_key_user: Authenticated user from API key http_request: The incoming HTTP request telemetry_service: Telemetry service for logging
Returns: OpenAI-compatible response or streaming response
Raises: HTTPException: For validation errors or flow execution issues
API key queryAPI key header Request Body schema: application/jsonrequired | model required | string (Model) The flow ID to execute (used instead of OpenAI model)
@@ -1549,11 +1635,11 @@ html([data-theme='dark']) data-styled.g138[id="sc-enPhjR"]{content:"fdfgWT,"}/*!
" class="sc-eVqvcJ sc-fszimp sc-etsjJW gvxaTx dmtfed eEseFw"> Successful Response
get/api/v2/mcp/servers/{server_name}https://docs.langflow.org/api/v2/mcp/servers/{server_name} Response samples Content typeapplication/json Add Server OAuth2PasswordBearerAPI key queryAPI key header Request Body schema: application/jsonrequired Responses200 get/api/v2/mcp/servers/{server_name}https://docs.langflow.org/api/v2/mcp/servers/{server_name} Response samples Content typeapplication/json Add Server OAuth2PasswordBearerAPI key queryAPI key header Request Body schema: application/jsonrequired | property name* additional property | |
post/api/v2/mcp/servers/{server_name}https://docs.langflow.org/api/v2/mcp/servers/{server_name} Request samples Content typeapplication/json Response samples Content typeapplication/json Update Server Endpoint OAuth2PasswordBearerAPI key queryAPI key header Request Body schema: application/jsonrequired Responses200 post/api/v2/mcp/servers/{server_name}https://docs.langflow.org/api/v2/mcp/servers/{server_name} Request samples Content typeapplication/json Response samples Content typeapplication/json Update Server Endpoint OAuth2PasswordBearerAPI key queryAPI key header Request Body schema: application/jsonrequired | property name* additional property | |
Responses422 Validation Error
@@ -1561,15 +1647,27 @@ html([data-theme='dark']) data-styled.g138[id="sc-enPhjR"]{content:"fdfgWT,"}/*!
" class="sc-eVqvcJ sc-fszimp sc-etsjJW gvxaTx dmtfed eEseFw"> Successful Response
delete/api/v2/mcp/servers/{server_name}https://docs.langflow.org/api/v2/mcp/servers/{server_name} Response samples Content typeapplication/json Health Responses200 delete/api/v2/mcp/servers/{server_name}https://docs.langflow.org/api/v2/mcp/servers/{server_name} Response samples Content typeapplication/json Get Registration Get the registered user (if any).
+ OAuth2PasswordBearerAPI key queryAPI key header get/healthhttps://docs.langflow.org/health Response samples Content typeapplication/json Health Check Responses200 get/api/v2/registration/https://docs.langflow.org/api/v2/registration/ Response samples Content typeapplication/json Register User Register the single user with email.
Note: Only one registration is allowed.
+ Request Body schema: application/jsonrequired get/health_checkhttps://docs.langflow.org/health_check Response samples Content typeapplication/json Stream Logs 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".
- post/api/v2/registration/https://docs.langflow.org/api/v2/registration/ Request samples Content typeapplication/json Response samples Content typeapplication/json get/logs-streamhttps://docs.langflow.org/logs-stream Response samples Content typeapplication/json Logs query Parameters| lines_before | integer (Lines Before) Default: 0 get/healthhttps://docs.langflow.org/health Response samples Content typeapplication/json get/health_checkhttps://docs.langflow.org/health_check Response samples Content typeapplication/json Stream Logs 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".
+ OAuth2PasswordBearerAPI key queryAPI key header get/logs-streamhttps://docs.langflow.org/logs-stream Response samples Content typeapplication/json Logs Retrieve application logs with authentication required.
SECURITY: Logs may contain sensitive information and require authentication.
+ OAuth2PasswordBearerAPI key queryAPI key header query Parameters| lines_before | integer (Lines Before) Default: 0 The number of logs before the timestamp or the last log
| | lines_after | integer (Lines After) Default: 0 The number of logs after the timestamp
@@ -1579,7 +1677,7 @@ html([data-theme='dark']) data-styled.g138[id="sc-enPhjR"]{content:"fdfgWT,"}/*!
" class="sc-eVqvcJ sc-fszimp sc-etsjJW gvxaTx dmtfed eEseFw"> Successful Response
get/logshttps://docs.langflow.org/logs Response samples Content typeapplication/json |
|
|
|
|
|