import requests
import json

url = "https://api.stack-ai.com/inference/v0/run/{org_id}/{flow_id}"
headers = {
"Authorization": "Bearer <your-public-key>",
"Content-Type": "application/json"
}
params = json.dumps({"run_id": run_id})

response = requests.get(url, headers=headers, params=params)

print(response.json())

import requests
import json

url = "https://api.stack-ai.com/inference/v0/run/{org_id}/{flow_id}"
headers = {
"Authorization": "Bearer <your-public-key>",
"Content-Type": "application/json"
}
params = json.dumps({"run_id": run_id})

response = requests.get(url, headers=headers, params=params)

print(response.json())