Document flow's API under /v1

Claude-Session: https://claude.ai/code/session_011i2AG9nwpiKUCVxAdDzYuU
This commit is contained in:
2026-09-29 18:34:39 -07:00
parent db35659c45
commit 8670ff6033
558 changed files with 1038 additions and 1023 deletions
@@ -6,7 +6,7 @@ base = os.environ.get("FLOW_URL") or os.environ.get("FLOW_SERVER_URL", "")
flow_id = os.environ.get("FLOW_ID", "")
api_key = os.environ.get("FLOW_API_KEY", "")
url = f"{base}/api/v1/run/{flow_id}?stream=false"
url = f"{base}/v1/run/{flow_id}?stream=false"
headers = {
"Content-Type": "application/json",
@@ -2,7 +2,7 @@ import os
import requests
url = f"{os.getenv('FLOW_SERVER_URL', '')}/api/v1/all"
url = f"{os.getenv('FLOW_SERVER_URL', '')}/v1/all"
headers = {
"accept": "application/json",
@@ -2,7 +2,7 @@ import os
import requests
url = f"{os.getenv('FLOW_SERVER_URL', '')}/api/v1/config"
url = f"{os.getenv('FLOW_SERVER_URL', '')}/v1/config"
headers = {
"accept": "application/json",
@@ -2,7 +2,7 @@ import os
import requests
url = f"{os.getenv('FLOW_SERVER_URL', '')}/api/v1/version"
url = f"{os.getenv('FLOW_SERVER_URL', '')}/v1/version"
headers = {
"accept": "application/json",