This commit is contained in:
github-merge-queue[bot]
2025-06-16 16:14:06 +00:00
parent f873eb7067
commit 282fdfc37a
232 changed files with 266 additions and 266 deletions

View File

@ -21,7 +21,7 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@550;600&amp;display=swap">
<script>!function(){window.semaphore=window.semaphore||[],window.ketch=function(){window.semaphore.push(arguments)};var e=document.createElement("script");e.type="text/javascript",e.src="https://global.ketchcdn.com/web/v3/config/datastax/langflow_org_web/boot.js",e.defer=e.async=!0,document.getElementsByTagName("head")[0].appendChild(e)}()</script>
<script defer="true">!function(){const e=e=>{if(window.gtag&&e.purposes&&"analytics"in e.purposes&&"targeted_advertising"in e.purposes){const n=!0===e.purposes.analytics?"granted":"denied",t=!0===e.purposes.targeted_advertising?"granted":"denied",a={analytics_storage:n,ad_personalization:t,ad_storage:t,ad_user_data:t};window.gtag("consent","update",a)}};window.ketch&&window.ketch("on","consent",e)}()</script><link rel="stylesheet" href="/assets/css/styles.30cf3ea6.css">
<script src="/assets/js/runtime~main.766a5707.js" defer="defer"></script>
<script src="/assets/js/runtime~main.35999d25.js" defer="defer"></script>
<script src="/assets/js/main.8d713cb6.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
@ -37,15 +37,15 @@
<!-- -->
<p>This page provides examples and practices for managing Langflow using the Langflow API.</p>
<p>The Langflow API&#x27;s OpenAPI spec can be viewed and tested at your Langflow deployment&#x27;s <code>docs</code> endpoint.
For example, <code>http://127.0.0.1:7860/docs</code>.</p>
For example, <code>http://localhost:7860/docs</code>.</p>
<h2 class="anchor anchorWithHideOnScrollNavbar_WYt5" id="export-values">Export values<a href="#export-values" class="hash-link" aria-label="Direct link to Export values" title="Direct link to Export values"></a></h2>
<p>You might find it helpful to set the following environment variables in your terminal.</p>
<p>The examples in this guide use environment variables for these values.</p>
<ul>
<li>Export your Langflow URL in your terminal.
Langflow starts by default at <code>http://127.0.0.1:7860</code>.</li>
Langflow starts by default at <code>http://localhost:7860</code>.</li>
</ul>
<div class="ch-codeblock not-prose" data-ch-theme="github-dark"><div class="ch-code-wrapper ch-code" data-ch-measured="false"><code class="ch-code-scroll-parent"><br><div><span class="ch-code-line-number">_<!-- -->10</span><div style="display:inline-block;margin-left:16px"><span>export LANGFLOW_URL=&quot;http://127.0.0.1:7860&quot;</span></div></div><br></code></div></div>
<div class="ch-codeblock not-prose" data-ch-theme="github-dark"><div class="ch-code-wrapper ch-code" data-ch-measured="false"><code class="ch-code-scroll-parent"><br><div><span class="ch-code-line-number">_<!-- -->10</span><div style="display:inline-block;margin-left:16px"><span>export LANGFLOW_URL=&quot;http://localhost:7860&quot;</span></div></div><br></code></div></div>
<ul>
<li>Export the <code>flow-id</code> in your terminal.
The <code>flow-id</code> is found in the <a href="/concepts-publish">Publish pane</a> or in the flow&#x27;s URL.</li>