mirror of
https://github.com/hanzoai/flow.git
synced 2026-10-17 01:29:18 +00:00
Document flow's API under /v1
Claude-Session: https://claude.ai/code/session_011i2AG9nwpiKUCVxAdDzYuU
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ api_key = os.environ.get("FLOW_API_KEY", "")
|
||||
headers = {"Content-Type": "application/json", "x-api-key": api_key}
|
||||
|
||||
start = requests.post(
|
||||
f"{base}/api/v2/workflows",
|
||||
f"{base}/v1/workflows",
|
||||
headers=headers,
|
||||
json={"flow_id": flow_id, "background": True, "stream": False, "inputs": {}},
|
||||
timeout=60,
|
||||
|
||||
Reference in New Issue
Block a user