docs: cut version 1.9.0 (#12681)

* version-1.9.0-docs

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Mendon Kissling
2026-04-13 22:07:01 -04:00
committed by GitHub
parent 2fa3d1c759
commit 71fbf5ff00
506 changed files with 33466 additions and 10 deletions

View File

@ -0,0 +1,15 @@
import os
import requests
url = f"{os.getenv('LANGFLOW_URL', '')}/api/v1/build/{os.getenv('JOB_ID', '')}/events"
headers = {
"accept": "application/json",
"x-api-key": f"{os.getenv('LANGFLOW_API_KEY', '')}",
}
response = requests.request("GET", url, headers=headers)
response.raise_for_status()
print(response.text)

View File

@ -0,0 +1,18 @@
import os
import requests
base = os.environ.get("LANGFLOW_URL") or os.environ.get("LANGFLOW_SERVER_URL", "")
job_id = os.environ.get("JOB_ID", "")
api_key = os.environ.get("LANGFLOW_API_KEY", "")
# Use the API's `event_delivery` query param to avoid keeping a streaming connection open.
# For local smoke tests, polling returns a finite JSON response.
url = f"{base}/api/v1/build/{job_id}/events?event_delivery=polling"
headers = {"accept": "application/json", "x-api-key": api_key}
response = requests.get(url, headers=headers, timeout=60)
response.raise_for_status()
print(response.text)

View File

@ -0,0 +1,18 @@
import os
import requests
url = f"{os.getenv('LANGFLOW_URL', '')}/api/v1/build/{os.getenv('FLOW_ID', '')}/flow"
headers = {
"accept": "application/json",
"Content-Type": "application/json",
"x-api-key": f"{os.getenv('LANGFLOW_API_KEY', '')}",
}
payload = {"inputs": {"input_value": "Tell me a story"}}
response = requests.request("POST", url, headers=headers, json=payload)
response.raise_for_status()
print(response.text)

View File

@ -0,0 +1,21 @@
import os
import requests
url = f"{os.getenv('LANGFLOW_URL', '')}/api/v1/build/{os.getenv('FLOW_ID', '')}/flow"
headers = {
"accept": "application/json",
"Content-Type": "application/json",
"x-api-key": f"{os.getenv('LANGFLOW_API_KEY', '')}",
}
payload = {
"data": {"nodes": [], "edges": []},
"inputs": {"input_value": "Your custom input here", "session": "session_id"},
}
response = requests.request("POST", url, headers=headers, json=payload)
response.raise_for_status()
print(response.text)

View File

@ -0,0 +1,18 @@
import os
import requests
url = f"{os.getenv('LANGFLOW_URL', '')}/api/v1/build/{os.getenv('FLOW_ID', '')}/flow"
headers = {
"accept": "application/json",
"Content-Type": "application/json",
"x-api-key": f"{os.getenv('LANGFLOW_API_KEY', '')}",
}
payload = {"stop_component_id": "OpenAIModel-Uksag"}
response = requests.request("POST", url, headers=headers, json=payload)
response.raise_for_status()
print(response.text)