diff --git a/404.html b/404.html index db44687ccf..6ebb7a0e3b 100644 --- a/404.html +++ b/404.html @@ -10,7 +10,7 @@ - +
diff --git a/Concepts/concepts-flows.html b/Concepts/concepts-flows.html index 3e8d2565e4..2fc4b80f6e 100644 --- a/Concepts/concepts-flows.html +++ b/Concepts/concepts-flows.html @@ -10,7 +10,7 @@ - + diff --git a/Deployment/deployment-docker.html b/Deployment/deployment-docker.html index 7379826c5c..485ba48833 100644 --- a/Deployment/deployment-docker.html +++ b/Deployment/deployment-docker.html @@ -10,7 +10,7 @@ - + diff --git a/agents-overview.html b/agents-overview.html index df6ded5d2f..a0fb45865c 100644 --- a/agents-overview.html +++ b/agents-overview.html @@ -10,7 +10,7 @@ - + diff --git a/agents-tool-calling-agent-component.html b/agents-tool-calling-agent-component.html index 4445e12e7a..9739c922e4 100644 --- a/agents-tool-calling-agent-component.html +++ b/agents-tool-calling-agent-component.html @@ -10,7 +10,7 @@ - + diff --git a/api-reference-api-examples.html b/api-reference-api-examples.html index b15160038c..7b720153a3 100644 --- a/api-reference-api-examples.html +++ b/api-reference-api-examples.html @@ -10,7 +10,7 @@ - + diff --git a/api.html b/api.html index 4077b9dbc3..7829c9f876 100644 --- a/api.html +++ b/api.html @@ -10,7 +10,7 @@ - + diff --git a/api/add-user.html b/api/add-user.html index 121651fde6..2390382d65 100644 --- a/api/add-user.html +++ b/api/add-user.html @@ -10,7 +10,7 @@ - + diff --git a/api/auto-login.html b/api/auto-login.html index 5b32ecd412..07b1cd0f73 100644 --- a/api/auto-login.html +++ b/api/auto-login.html @@ -10,7 +10,7 @@ - + diff --git a/api/build-flow.html b/api/build-flow.html index 0c928cd36f..2e056bd0e4 100644 --- a/api/build-flow.html +++ b/api/build-flow.html @@ -10,7 +10,7 @@ - + diff --git a/api/build-vertex-stream.html b/api/build-vertex-stream.html index ba96fef44b..759a77aadc 100644 --- a/api/build-vertex-stream.html +++ b/api/build-vertex-stream.html @@ -10,7 +10,7 @@ - + diff --git a/api/build-vertex.html b/api/build-vertex.html index b099d9faef..4ea0158cd5 100644 --- a/api/build-vertex.html +++ b/api/build-vertex.html @@ -10,7 +10,7 @@ - + diff --git a/api/check-if-store-has-api-key.html b/api/check-if-store-has-api-key.html index 373a7371fa..fba1dd9103 100644 --- a/api/check-if-store-has-api-key.html +++ b/api/check-if-store-has-api-key.html @@ -10,7 +10,7 @@ - + diff --git a/api/check-if-store-is-enabled.html b/api/check-if-store-is-enabled.html index 9b3f96a7d4..368ab4b8b3 100644 --- a/api/check-if-store-is-enabled.html +++ b/api/check-if-store-is-enabled.html @@ -10,7 +10,7 @@ - + diff --git a/api/create-api-key-route.html b/api/create-api-key-route.html index bf787cf3fb..487359d31b 100644 --- a/api/create-api-key-route.html +++ b/api/create-api-key-route.html @@ -10,7 +10,7 @@ - + diff --git a/api/create-flow.html b/api/create-flow.html index 286e9f0241..cad16fd894 100644 --- a/api/create-flow.html +++ b/api/create-flow.html @@ -10,7 +10,7 @@ - + diff --git a/api/create-flows.html b/api/create-flows.html index 85f294d3f3..baccbd5e9f 100644 --- a/api/create-flows.html +++ b/api/create-flows.html @@ -10,7 +10,7 @@ - + diff --git a/api/create-folder.html b/api/create-folder.html index b5ed134e62..b24720ac98 100644 --- a/api/create-folder.html +++ b/api/create-folder.html @@ -10,7 +10,7 @@ - + diff --git a/api/create-upload-file.html b/api/create-upload-file.html index 5a06822304..30a42ea4d7 100644 --- a/api/create-upload-file.html +++ b/api/create-upload-file.html @@ -10,7 +10,7 @@ - + diff --git a/api/create-variable.html b/api/create-variable.html index f848ff60e9..abad88c435 100644 --- a/api/create-variable.html +++ b/api/create-variable.html @@ -10,7 +10,7 @@ - + diff --git a/api/custom-component-update.html b/api/custom-component-update.html index 1d189ad387..909b1a96bd 100644 --- a/api/custom-component-update.html +++ b/api/custom-component-update.html @@ -10,7 +10,7 @@ - + diff --git a/api/custom-component.html b/api/custom-component.html index fec4b27aca..fa943bdbc2 100644 --- a/api/custom-component.html +++ b/api/custom-component.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-api-key-route.html b/api/delete-api-key-route.html index 78c157bea2..43d8d1becb 100644 --- a/api/delete-api-key-route.html +++ b/api/delete-api-key-route.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-file.html b/api/delete-file.html index 108dd44a5e..00f01da42a 100644 --- a/api/delete-file.html +++ b/api/delete-file.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-flow.html b/api/delete-flow.html index b427166275..b41e385995 100644 --- a/api/delete-flow.html +++ b/api/delete-flow.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-folder.html b/api/delete-folder.html index 30c218ddfb..b851e107e8 100644 --- a/api/delete-folder.html +++ b/api/delete-folder.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-messages-session.html b/api/delete-messages-session.html index 777a9dd9c7..5182de6007 100644 --- a/api/delete-messages-session.html +++ b/api/delete-messages-session.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-messages.html b/api/delete-messages.html index f5d2c2dc8c..b219accfad 100644 --- a/api/delete-messages.html +++ b/api/delete-messages.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-multiple-flows.html b/api/delete-multiple-flows.html index 4d6830b2cd..1159a42e20 100644 --- a/api/delete-multiple-flows.html +++ b/api/delete-multiple-flows.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-user.html b/api/delete-user.html index 14072d400c..92ca2975bb 100644 --- a/api/delete-user.html +++ b/api/delete-user.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-variable.html b/api/delete-variable.html index f02d4d2e4c..6669bec466 100644 --- a/api/delete-variable.html +++ b/api/delete-variable.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-vertex-builds.html b/api/delete-vertex-builds.html index e2d5ad695f..7ab6c6e126 100644 --- a/api/delete-vertex-builds.html +++ b/api/delete-vertex-builds.html @@ -10,7 +10,7 @@ - + diff --git a/api/download-component.html b/api/download-component.html index b060e3a988..717a0ba166 100644 --- a/api/download-component.html +++ b/api/download-component.html @@ -10,7 +10,7 @@ - + diff --git a/api/download-file-1.html b/api/download-file-1.html index ebe6c9c518..9c0c802543 100644 --- a/api/download-file-1.html +++ b/api/download-file-1.html @@ -10,7 +10,7 @@ - + diff --git a/api/download-file.html b/api/download-file.html index 2f39bbfaa4..ab346a0a11 100644 --- a/api/download-file.html +++ b/api/download-file.html @@ -10,7 +10,7 @@ - + diff --git a/api/download-image.html b/api/download-image.html index 95e981ef29..b5ea4c7243 100644 --- a/api/download-image.html +++ b/api/download-image.html @@ -10,7 +10,7 @@ - + diff --git a/api/download-multiple-file.html b/api/download-multiple-file.html index 481ce8e5aa..00a9725489 100644 --- a/api/download-multiple-file.html +++ b/api/download-multiple-file.html @@ -10,7 +10,7 @@ - + diff --git a/api/download-profile-picture.html b/api/download-profile-picture.html index 4481c6f9e7..582a9a81f0 100644 --- a/api/download-profile-picture.html +++ b/api/download-profile-picture.html @@ -10,7 +10,7 @@ - + diff --git a/api/experimental-run-flow.html b/api/experimental-run-flow.html index 8d1a61a9a2..51430a3371 100644 --- a/api/experimental-run-flow.html +++ b/api/experimental-run-flow.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-all.html b/api/get-all.html index a78b8d4d0e..a02d94f74e 100644 --- a/api/get-all.html +++ b/api/get-all.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-api-keys-route.html b/api/get-api-keys-route.html index af78a91d95..852bb691e3 100644 --- a/api/get-api-keys-route.html +++ b/api/get-api-keys-route.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-components.html b/api/get-components.html index 059e11718c..d88be79ccb 100644 --- a/api/get-components.html +++ b/api/get-components.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-config.html b/api/get-config.html index 486231ac04..ab642a914e 100644 --- a/api/get-config.html +++ b/api/get-config.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-list-of-components-liked-by-user.html b/api/get-list-of-components-liked-by-user.html index cd7edbc239..2aa45956a7 100644 --- a/api/get-list-of-components-liked-by-user.html +++ b/api/get-list-of-components-liked-by-user.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-messages.html b/api/get-messages.html index a7c86cec8b..1f1922174b 100644 --- a/api/get-messages.html +++ b/api/get-messages.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-starter-projects.html b/api/get-starter-projects.html index 8c2c8ca521..c5454d065f 100644 --- a/api/get-starter-projects.html +++ b/api/get-starter-projects.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-tags.html b/api/get-tags.html index cf1cc9d829..03632a3a0a 100644 --- a/api/get-tags.html +++ b/api/get-tags.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-task-status.html b/api/get-task-status.html index 74d1a001d8..b92fa8678b 100644 --- a/api/get-task-status.html +++ b/api/get-task-status.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-transactions.html b/api/get-transactions.html index a3b54ebbee..2b65925fa9 100644 --- a/api/get-transactions.html +++ b/api/get-transactions.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-version.html b/api/get-version.html index be1621b868..880313291d 100644 --- a/api/get-version.html +++ b/api/get-version.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-vertex-builds.html b/api/get-vertex-builds.html index 997d3c656d..d73da54af5 100644 --- a/api/get-vertex-builds.html +++ b/api/get-vertex-builds.html @@ -10,7 +10,7 @@ - + diff --git a/api/handle-messages.html b/api/handle-messages.html index 72c207de8b..4f2bcfdf5b 100644 --- a/api/handle-messages.html +++ b/api/handle-messages.html @@ -10,7 +10,7 @@ - + diff --git a/api/handle-sse.html b/api/handle-sse.html index 33a971e7f0..6777c445a4 100644 --- a/api/handle-sse.html +++ b/api/handle-sse.html @@ -10,7 +10,7 @@ - + diff --git a/api/health-check.html b/api/health-check.html index 3d93e56ba7..a90c6bc9bb 100644 --- a/api/health-check.html +++ b/api/health-check.html @@ -10,7 +10,7 @@ - + diff --git a/api/health.html b/api/health.html index 21d40a1145..59ee0e43f2 100644 --- a/api/health.html +++ b/api/health.html @@ -10,7 +10,7 @@ - + diff --git a/api/like-component.html b/api/like-component.html index b9571d94b3..d90061ce02 100644 --- a/api/like-component.html +++ b/api/like-component.html @@ -10,7 +10,7 @@ - + diff --git a/api/list-files.html b/api/list-files.html index 93704f0af5..7d3384cbb5 100644 --- a/api/list-files.html +++ b/api/list-files.html @@ -10,7 +10,7 @@ - + diff --git a/api/list-profile-pictures.html b/api/list-profile-pictures.html index 58dc86a79f..6a50c3fa08 100644 --- a/api/list-profile-pictures.html +++ b/api/list-profile-pictures.html @@ -10,7 +10,7 @@ - + diff --git a/api/login-to-get-access-token.html b/api/login-to-get-access-token.html index e6f2426e34..cacd3a61b2 100644 --- a/api/login-to-get-access-token.html +++ b/api/login-to-get-access-token.html @@ -10,7 +10,7 @@ - + diff --git a/api/logout.html b/api/logout.html index 6ea4023f29..4d960305e5 100644 --- a/api/logout.html +++ b/api/logout.html @@ -10,7 +10,7 @@ - + diff --git a/api/logs.html b/api/logs.html index bdd6d25e71..dc1a6b889b 100644 --- a/api/logs.html +++ b/api/logs.html @@ -10,7 +10,7 @@ - + diff --git a/api/patch-user.html b/api/patch-user.html index ba2c3152b6..8c8d0e806b 100644 --- a/api/patch-user.html +++ b/api/patch-user.html @@ -10,7 +10,7 @@ - + diff --git a/api/post-validate-code.html b/api/post-validate-code.html index 8239e6c33f..48d9fa6bb1 100644 --- a/api/post-validate-code.html +++ b/api/post-validate-code.html @@ -10,7 +10,7 @@ - + diff --git a/api/post-validate-prompt.html b/api/post-validate-prompt.html index fe594072d4..777fbd7096 100644 --- a/api/post-validate-prompt.html +++ b/api/post-validate-prompt.html @@ -10,7 +10,7 @@ - + diff --git a/api/process-1.html b/api/process-1.html index b11c089b35..c78e7f8f96 100644 --- a/api/process-1.html +++ b/api/process-1.html @@ -10,7 +10,7 @@ - + diff --git a/api/process.html b/api/process.html index f0a70a42ec..534d67d608 100644 --- a/api/process.html +++ b/api/process.html @@ -10,7 +10,7 @@ - + diff --git a/api/read-all-users.html b/api/read-all-users.html index 70dc50911b..7e1f282cd0 100644 --- a/api/read-all-users.html +++ b/api/read-all-users.html @@ -10,7 +10,7 @@ - + diff --git a/api/read-basic-examples.html b/api/read-basic-examples.html index 077e2348ca..a796f3d952 100644 --- a/api/read-basic-examples.html +++ b/api/read-basic-examples.html @@ -10,7 +10,7 @@ - + diff --git a/api/read-current-user.html b/api/read-current-user.html index f025a9c629..28ee9708da 100644 --- a/api/read-current-user.html +++ b/api/read-current-user.html @@ -10,7 +10,7 @@ - + diff --git a/api/read-flow.html b/api/read-flow.html index dd07e219eb..46c7777962 100644 --- a/api/read-flow.html +++ b/api/read-flow.html @@ -10,7 +10,7 @@ - + diff --git a/api/read-flows.html b/api/read-flows.html index 3535a9fe7d..6f79392c4f 100644 --- a/api/read-flows.html +++ b/api/read-flows.html @@ -10,7 +10,7 @@ - + diff --git a/api/read-folder.html b/api/read-folder.html index dc434373c5..f8fa0ed22d 100644 --- a/api/read-folder.html +++ b/api/read-folder.html @@ -10,7 +10,7 @@ - + diff --git a/api/read-folders.html b/api/read-folders.html index c95ce67618..f78b9b4d71 100644 --- a/api/read-folders.html +++ b/api/read-folders.html @@ -10,7 +10,7 @@ - + diff --git a/api/read-variables.html b/api/read-variables.html index e4fa5805bf..e878811d70 100644 --- a/api/read-variables.html +++ b/api/read-variables.html @@ -10,7 +10,7 @@ - + diff --git a/api/refresh-token.html b/api/refresh-token.html index e6753aba87..9160ca0b33 100644 --- a/api/refresh-token.html +++ b/api/refresh-token.html @@ -10,7 +10,7 @@ - + diff --git a/api/reset-password.html b/api/reset-password.html index cd13b98827..06cc9f95d8 100644 --- a/api/reset-password.html +++ b/api/reset-password.html @@ -10,7 +10,7 @@ - + diff --git a/api/retrieve-vertices-order.html b/api/retrieve-vertices-order.html index 04252924c5..ed575d4d34 100644 --- a/api/retrieve-vertices-order.html +++ b/api/retrieve-vertices-order.html @@ -10,7 +10,7 @@ - + diff --git a/api/save-store-api-key.html b/api/save-store-api-key.html index 1a4d9da7d7..871edb16c7 100644 --- a/api/save-store-api-key.html +++ b/api/save-store-api-key.html @@ -10,7 +10,7 @@ - + diff --git a/api/share-component.html b/api/share-component.html index 338262bba1..1cc11a1335 100644 --- a/api/share-component.html +++ b/api/share-component.html @@ -10,7 +10,7 @@ - + diff --git a/api/simplified-run-flow.html b/api/simplified-run-flow.html index a263be095f..e5f9ceef9f 100644 --- a/api/simplified-run-flow.html +++ b/api/simplified-run-flow.html @@ -10,7 +10,7 @@ - + diff --git a/api/stream-logs.html b/api/stream-logs.html index 79a65e5b40..26686a2cf9 100644 --- a/api/stream-logs.html +++ b/api/stream-logs.html @@ -10,7 +10,7 @@ - + diff --git a/api/update-flow.html b/api/update-flow.html index 81cd84a0ae..67742fae92 100644 --- a/api/update-flow.html +++ b/api/update-flow.html @@ -10,7 +10,7 @@ - + diff --git a/api/update-folder.html b/api/update-folder.html index adc06fd716..9726695314 100644 --- a/api/update-folder.html +++ b/api/update-folder.html @@ -10,7 +10,7 @@ - + diff --git a/api/update-message.html b/api/update-message.html index 1e314ea670..f7d7100503 100644 --- a/api/update-message.html +++ b/api/update-message.html @@ -10,7 +10,7 @@ - + diff --git a/api/update-session-id.html b/api/update-session-id.html index aab9d7686f..19390d7584 100644 --- a/api/update-session-id.html +++ b/api/update-session-id.html @@ -10,7 +10,7 @@ - + diff --git a/api/update-shared-component.html b/api/update-shared-component.html index d6ce7a1efc..28e79e39b8 100644 --- a/api/update-shared-component.html +++ b/api/update-shared-component.html @@ -10,7 +10,7 @@ - + diff --git a/api/update-variable.html b/api/update-variable.html index ddf1461baa..91b231c484 100644 --- a/api/update-variable.html +++ b/api/update-variable.html @@ -10,7 +10,7 @@ - + diff --git a/api/upload-file-1.html b/api/upload-file-1.html index dfddca44d0..6c6a3e4198 100644 --- a/api/upload-file-1.html +++ b/api/upload-file-1.html @@ -10,7 +10,7 @@ - + diff --git a/api/upload-file-2.html b/api/upload-file-2.html index 2a8f82c5aa..81f93c9526 100644 --- a/api/upload-file-2.html +++ b/api/upload-file-2.html @@ -10,7 +10,7 @@ - + diff --git a/api/upload-file.html b/api/upload-file.html index 02ac0dccbc..447c0eb197 100644 --- a/api/upload-file.html +++ b/api/upload-file.html @@ -10,7 +10,7 @@ - + diff --git a/api/webhook-run-flow.html b/api/webhook-run-flow.html index 63813a63db..8b6eae9c03 100644 --- a/api/webhook-run-flow.html +++ b/api/webhook-run-flow.html @@ -10,7 +10,7 @@ - + diff --git a/assets/js/2ab0d4f5.f81eb3ef.js b/assets/js/2ab0d4f5.f81eb3ef.js deleted file mode 100644 index 030a38e920..0000000000 --- a/assets/js/2ab0d4f5.f81eb3ef.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[1845],{83640:(e,n,t)=>{t.r(n),t.d(n,{contentTitle:()=>o,default:()=>c,frontMatter:()=>a,metadata:()=>i,toc:()=>l});const i=JSON.parse('{"type":"api","id":"simplified-run-flow","title":"Simplified Run Flow","description":"","slug":"/simplified-run-flow","frontMatter":{},"api":{"tags":["Base"],"description":"Executes a specified flow by ID with support for streaming and telemetry.\\n\\nThis endpoint executes a flow identified by ID or name, with options for streaming the response\\nand tracking execution metrics. It handles both streaming and non-streaming execution modes.\\n\\nArgs:\\n background_tasks (BackgroundTasks): FastAPI background task manager\\n flow (FlowRead | None): The flow to execute, loaded via dependency\\n input_request (SimplifiedAPIRequest | None): Input parameters for the flow\\n stream (bool): Whether to stream the response\\n api_key_user (UserRead): Authenticated user from API key\\n request (Request): The incoming HTTP request\\n\\nReturns:\\n Union[StreamingResponse, RunResponse]: Either a streaming response for real-time results\\n or a RunResponse with the complete execution results\\n\\nRaises:\\n HTTPException: For flow not found (404) or invalid input (400)\\n APIException: For internal execution errors (500)\\n\\nNotes:\\n - Supports both streaming and non-streaming execution modes\\n - Tracks execution time and success/failure via telemetry\\n - Handles graceful client disconnection in streaming mode\\n - Provides detailed error handling with appropriate HTTP status codes\\n - In streaming mode, uses EventManager to handle events:\\n - \\"add_message\\": New messages during execution\\n - \\"token\\": Individual tokens during streaming\\n - \\"end\\": Final execution result","operationId":"simplified_run_flow_api_v1_run__flow_id_or_name__post","security":[{"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"}],"title":"User Id","nullable":true}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"properties":{"input_value":{"anyOf":[{"type":"string"}],"title":"Input Value","description":"The input value","nullable":true},"input_type":{"anyOf":[{"type":"string","enum":["chat","text","any"]}],"title":"Input Type","description":"The input type","default":"chat","nullable":true},"output_type":{"anyOf":[{"type":"string","enum":["chat","text","any","debug"]}],"title":"Output Type","description":"The output type","default":"chat","nullable":true},"output_component":{"anyOf":[{"type":"string"}],"title":"Output Component","description":"If there are multiple output components, you can specify the component to get the output from.","default":"","nullable":true},"tweaks":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"object"}]},"type":"object","title":"Tweaks","description":"A dictionary of tweaks to adjust the flow\'s execution. Allows customizing flow behavior dynamically. All tweaks are overridden by the input values.","example":{"Component Name":{"parameter_name":"value"},"component_id":{"parameter_name":"value"},"parameter_name":"value"}}],"description":"The tweaks","nullable":true},"session_id":{"anyOf":[{"type":"string"}],"title":"Session Id","description":"The session id","nullable":true}},"type":"object","title":"SimplifiedAPIRequest"}],"title":"Input Request","nullable":true}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}},"method":"post","path":"/api/v1/run/{flow_id_or_name}","securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"api/v1/login"}}},"API key query":{"type":"apiKey","in":"query","name":"x-api-key"},"API key header":{"type":"apiKey","in":"header","name":"x-api-key"}},"info":{"title":"Langflow","version":"1.1.1"},"postman":{"name":"Simplified Run Flow","description":{"content":"Executes a specified flow by ID with support for streaming and telemetry.\\n\\nThis endpoint executes a flow identified by ID or name, with options for streaming the response\\nand tracking execution metrics. It handles both streaming and non-streaming execution modes.\\n\\nArgs:\\n background_tasks (BackgroundTasks): FastAPI background task manager\\n flow (FlowRead | None): The flow to execute, loaded via dependency\\n input_request (SimplifiedAPIRequest | None): Input parameters for the flow\\n stream (bool): Whether to stream the response\\n api_key_user (UserRead): Authenticated user from API key\\n request (Request): The incoming HTTP request\\n\\nReturns:\\n Union[StreamingResponse, RunResponse]: Either a streaming response for real-time results\\n or a RunResponse with the complete execution results\\n\\nRaises:\\n HTTPException: For flow not found (404) or invalid input (400)\\n APIException: For internal execution errors (500)\\n\\nNotes:\\n - Supports both streaming and non-streaming execution modes\\n - Tracks execution time and success/failure via telemetry\\n - Handles graceful client disconnection in streaming mode\\n - Provides detailed error handling with appropriate HTTP status codes\\n - In streaming mode, uses EventManager to handle events:\\n - \\"add_message\\": New messages during execution\\n - \\"token\\": Individual tokens during streaming\\n - \\"end\\": Final execution result","type":"text/plain"},"url":{"path":["api","v1","run",":flow_id_or_name"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"stream","value":"false"},{"disabled":false,"key":"user_id","value":".env file and
That means, if you happen to set the same environment variable in both your terminal and your .env file, Langflow adopts the value from the the .env file.
Langflow CLI options override the value of corresponding environment variables defined in the .env file as well as any environment variables set in your terminal.
The following table lists the environment variables supported by Langflow. -Here's the updated table with the requested changes:
-| Variable | Format / Values | Default | Description |
|---|---|---|---|
DO_NOT_TRACK | Boolean | false | If enabled, Langflow will not track telemetry. |
LANGFLOW_AUTO_LOGIN | Boolean | true | Enable automatic login for Langflow. Set to false to disable automatic login and require the login form to log into the Langflow UI. Setting to false requires LANGFLOW_SUPERUSER and LANGFLOW_SUPERUSER_PASSWORD to be set. |
LANGFLOW_AUTO_SAVING | Boolean | true | Enable flow auto-saving. See --auto-saving option. |
LANGFLOW_AUTO_SAVING_INTERVAL | Integer | 1000 | Set the interval for flow auto-saving in milliseconds. See --auto-saving-interval option. |
LANGFLOW_BACKEND_ONLY | Boolean | false | Only run Langflow's backend server (no frontend). See --backend-only option. |
LANGFLOW_CACHE_TYPE | asyncredismemorydiskcritical | async | Set the cache type for Langflow. If you set the type to redis, then you must also set the following environment variables: LANGFLOW_REDIS_HOST, LANGFLOW_REDIS_PORT, LANGFLOW_REDIS_DB, and LANGFLOW_REDIS_CACHE_EXPIRE. |
LANGFLOW_COMPONENTS_PATH | String | langflow/components | Path to the directory containing custom components. See --components-path option. |
LANGFLOW_CONFIG_DIR | String | Set the Langflow configuration directory where files, logs, and the Langflow database are stored. | |
LANGFLOW_DATABASE_URL | String | Set the database URL for Langflow. If you don't provide one, Langflow uses an SQLite database. | |
LANGFLOW_DEV | Boolean | false | Run Langflow in development mode (may contain bugs). See --dev option. |
LANGFLOW_FALLBACK_TO_ENV_VAR | Boolean | true | If enabled, global variables set in the Langflow UI fall back to an environment variable with the same name when Langflow fails to retrieve the variable value. |
LANGFLOW_FRONTEND_PATH | String | ./frontend | Path to the frontend directory containing build files. This is for development purposes only. See --frontend-path option. |
LANGFLOW_HEALTH_CHECK_MAX_RETRIES | Integer | 5 | Set the maximum number of retries for the health check. See --health-check-max-retries option. |
LANGFLOW_HOST | String | 127.0.0.1 | The host on which the Langflow server will run. See --host option. |
LANGFLOW_LANGCHAIN_CACHE | InMemoryCacheSQLiteCache | InMemoryCache | Type of cache to use. See --cache option. |
LANGFLOW_MAX_FILE_SIZE_UPLOAD | Integer | 100 | Set the maximum file size for the upload in megabytes. See --max-file-size-upload option. |
LANGFLOW_LOG_ENV | container_jsoncontainer_csv | Not set | Set the log environment. Default (Not set) is json with color. If not set a format string can be provided. See LANGFLOW_LOG_FORMAT |
LANGFLOW_LOG_FILE | String | logs/langflow.log | Set the path to the log file for Langflow. See --log-file option. |
LANGFLOW_LOG_FORMAT | String | <green>{time:YYYY-MM-DD HH:mm:ss}</green> - <level>{level: <8}</level> - {module} - <level>{message}</level> | Configure the logformat. For example without colors: {time:YYYY-MM-DD HH:mm:ss.SSS} {level} {file} {line} {function} {message} If LANGFLOW_LOG_ENV is set this configuration will be ignored. |
LANGFLOW_LOG_LEVEL | debuginfowarningerrorcritical | critical | Set the logging level. See --log-level option. |
LANGFLOW_OPEN_BROWSER | Boolean | true | Open the system web browser on startup. See --open-browser option. |
LANGFLOW_PORT | Integer | 7860 | The port on which the Langflow server will run. The server automatically selects a free port if the specified port is in use. See --port option. |
LANGFLOW_PROMETHEUS_ENABLED | Boolean | false | Expose Prometheus metrics. |
LANGFLOW_PROMETHEUS_PORT | Integer | 9090 | Set the port on which Langflow exposes Prometheus metrics. |
LANGFLOW_REDIS_CACHE_EXPIRE | Integer | 3600 | See LANGFLOW_CACHE_TYPE. |
LANGFLOW_REDIS_DB | Integer | 0 | See LANGFLOW_CACHE_TYPE. |
LANGFLOW_REDIS_HOST | String | localhost | See LANGFLOW_CACHE_TYPE. |
LANGFLOW_REDIS_PORT | String | 6379 | See LANGFLOW_CACHE_TYPE. |
LANGFLOW_REMOVE_API_KEYS | Boolean | false | Remove API keys from the projects saved in the database. See --remove-api-keys option. |
LANGFLOW_SAVE_DB_IN_CONFIG_DIR | Boolean | false | Save the Langflow database in LANGFLOW_CONFIG_DIR instead of in the Langflow package directory. Note, when this variable is set to default (false), the database isn't shared between different virtual environments and the database is deleted when you uninstall Langflow. |
LANGFLOW_STORE | Boolean | true | Enable the Langflow Store. See --store option. |
LANGFLOW_STORE_ENVIRONMENT_VARIABLES | Boolean | true | Store environment variables as global variables in the database. |
LANGFLOW_SUPERUSER | String | Not set | Set the name for the superuser. Required if LANGFLOW_AUTO_LOGIN is set to false.See superuser --username option. |
LANGFLOW_SUPERUSER_PASSWORD | String | Not set | Set the password for the superuser. Required if LANGFLOW_AUTO_LOGIN is set to false.See superuser --password option. |
LANGFLOW_VARIABLES_TO_GET_FROM_ENVIRONMENT | String | Not set | Comma-separated list of environment variables to get from the environment and store as global variables. |
LANGFLOW_WORKER_TIMEOUT | Integer | 300 | Worker timeout in seconds. See --worker-timeout option. |
LANGFLOW_WORKERS | Integer | 1 | Number of worker processes. See --workers option. |
The following table lists the environment variables supported by Langflow.
+| Variable | Format / Values | Default | Description |
|---|---|---|---|
DO_NOT_TRACK | Boolean | false | If enabled, Langflow will not track telemetry. |
LANGFLOW_AUTO_LOGIN | Boolean | true | Enable automatic login for Langflow. Set to false to disable automatic login and require the login form to log into the Langflow UI. Setting to false requires LANGFLOW_SUPERUSER and LANGFLOW_SUPERUSER_PASSWORD to be set. |
LANGFLOW_AUTO_SAVING | Boolean | true | Enable flow auto-saving. See --auto-saving option. |
LANGFLOW_AUTO_SAVING_INTERVAL | Integer | 1000 | Set the interval for flow auto-saving in milliseconds. See --auto-saving-interval option. |
LANGFLOW_BACKEND_ONLY | Boolean | false | Only run Langflow's backend server (no frontend). See --backend-only option. |
LANGFLOW_CACHE_TYPE | asyncredismemorydiskcritical | async | Set the cache type for Langflow. If you set the type to redis, then you must also set the following environment variables: LANGFLOW_REDIS_HOST, LANGFLOW_REDIS_PORT, LANGFLOW_REDIS_DB, and LANGFLOW_REDIS_CACHE_EXPIRE. |
LANGFLOW_COMPONENTS_PATH | String | langflow/components | Path to the directory containing custom components. See --components-path option. |
LANGFLOW_CONFIG_DIR | String | Linux/WSL: ~/.cache/langflow/macOS: /Users/<username>/Library/Caches/langflow/Windows: %LOCALAPPDATA%\langflow\langflow\Cache | Set the Langflow configuration directory where files, logs, and the Langflow database are stored. |
LANGFLOW_DATABASE_URL | String | Not set | Set the database URL for Langflow. If not provided, Langflow will use a SQLite database. |
LANGFLOW_DATABASE_CONNECTION_RETRY | Boolean | false | If True, Langflow will retry to connect to the database if it fails. |
LANGFLOW_DB_POOL_SIZE | Integer | 10 | DEPRECATED: Use LANGFLOW_DB_CONNECTION_SETTINGS instead. The number of connections to keep open in the connection pool. |
LANGFLOW_DB_MAX_OVERFLOW | Integer | 20 | DEPRECATED: Use LANGFLOW_DB_CONNECTION_SETTINGS instead. The number of connections to allow that can be opened beyond the pool size. |
LANGFLOW_DB_CONNECT_TIMEOUT | Integer | 20 | The number of seconds to wait before giving up on a lock to be released or establishing a connection to the database. |
LANGFLOW_DB_CONNECTION_SETTINGS | JSON | Not set | A JSON dictionary to centralize database connection parameters. Example: {"pool_size": 10, "max_overflow": 20} |
LANGFLOW_DEV | Boolean | false | Run Langflow in development mode (may contain bugs). See --dev option. |
LANGFLOW_FALLBACK_TO_ENV_VAR | Boolean | true | If enabled, global variables set in the Langflow UI fall back to an environment variable with the same name when Langflow fails to retrieve the variable value. |
LANGFLOW_FRONTEND_PATH | String | ./frontend | Path to the frontend directory containing build files. This is for development purposes only. See --frontend-path option. |
LANGFLOW_HEALTH_CHECK_MAX_RETRIES | Integer | 5 | Set the maximum number of retries for the health check. See --health-check-max-retries option. |
LANGFLOW_HOST | String | 127.0.0.1 | The host on which the Langflow server will run. See --host option. |
LANGFLOW_LANGCHAIN_CACHE | InMemoryCacheSQLiteCache | InMemoryCache | Type of cache to use. See --cache option. |
LANGFLOW_MAX_FILE_SIZE_UPLOAD | Integer | 100 | Set the maximum file size for the upload in megabytes. See --max-file-size-upload option. |
LANGFLOW_MCP_SERVER_ENABLED | Boolean | true | If set to False, Langflow will not enable the MCP server. |
LANGFLOW_MCP_SERVER_ENABLE_PROGRESS_NOTIFICATIONS | Boolean | false | If set to True, Langflow will send progress notifications in the MCP server. |
LANGFLOW_NEW_USER_IS_ACTIVE | Boolean | false | When enabled, new users are automatically activated and can log in without requiring explicit activation by the superuser. |
LANGFLOW_OPEN_BROWSER | Boolean | false | Open the system web browser on startup. See --open-browser option. |
LANGFLOW_PORT | Integer | 7860 | The port on which the Langflow server will run. The server automatically selects a free port if the specified port is in use. See --port option. |
LANGFLOW_PROMETHEUS_ENABLED | Boolean | false | Expose Prometheus metrics. |
LANGFLOW_PROMETHEUS_PORT | Integer | 9090 | Set the port on which Langflow exposes Prometheus metrics. |
LANGFLOW_REDIS_CACHE_EXPIRE | Integer | 3600 | See LANGFLOW_CACHE_TYPE. |
LANGFLOW_REDIS_DB | Integer | 0 | See LANGFLOW_CACHE_TYPE. |
LANGFLOW_REDIS_HOST | String | localhost | See LANGFLOW_CACHE_TYPE. |
LANGFLOW_REDIS_PORT | String | 6379 | See LANGFLOW_CACHE_TYPE. |
LANGFLOW_REMOVE_API_KEYS | Boolean | false | Remove API keys from the projects saved in the database. See --remove-api-keys option. |
LANGFLOW_SAVE_DB_IN_CONFIG_DIR | Boolean | false | Save the Langflow database in LANGFLOW_CONFIG_DIR instead of in the Langflow package directory. Note, when this variable is set to default (false), the database isn't shared between different virtual environments and the database is deleted when you uninstall Langflow. |
LANGFLOW_SECRET_KEY | String | Auto-generated | Key used for encrypting sensitive data like API keys. If not provided, a secure key will be auto-generated. For production environments with multiple instances, you should explicitly set this to ensure consistent encryption across instances. |
LANGFLOW_STORE | Boolean | true | Enable the Langflow Store. See --store option. |
LANGFLOW_STORE_ENVIRONMENT_VARIABLES | Boolean | true | Store environment variables as global variables in the database. |
LANGFLOW_SUPERUSER | String | langflow | Set the name for the superuser. Required if LANGFLOW_AUTO_LOGIN is set to false.See superuser --username option. |
LANGFLOW_SUPERUSER_PASSWORD | String | langflow | Set the password for the superuser. Required if LANGFLOW_AUTO_LOGIN is set to false.See superuser --password option. |
LANGFLOW_VARIABLES_TO_GET_FROM_ENVIRONMENT | String | Not set | Comma-separated list of environment variables to get from the environment and store as global variables. |
LANGFLOW_LOAD_FLOWS_PATH | String | Not set | Path to a directory containing flow JSON files to be loaded on startup. Note that this feature only works if LANGFLOW_AUTO_LOGIN is enabled. |
LANGFLOW_WORKER_TIMEOUT | Integer | 300 | Worker timeout in seconds. See --worker-timeout option. |
LANGFLOW_WORKERS | Integer | 1 | Number of worker processes. See --workers option. |