import requests
url = "https://{FUSION HOST}/api/recommend/_changed"
payload = {
"name": "<string>",
"collectionId": "<string>",
"params": {},
"enabled": True
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)