import requests
url = "https://app.langwatch.ai/api/scenario-events"
payload = {
"type": "<string>",
"timestamp": 123,
"batchRunId": "<string>",
"scenarioId": "<string>",
"scenarioRunId": "<string>",
"metadata": {
"name": "<string>",
"description": "<string>"
}
}
headers = {
"X-Auth-Token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())