Webhooks
Stratix webhooks — receive events at your endpoint.
Subscribe via SDK
client.notifications.add_webhook(
url="https://hooks.example.com/stratix",
events=["evaluation.completed", "trace_evaluation.threshold_crossed"],
secret="your-shared-secret"
)Verify signatures
import hmac, hashlib
expected = hmac.new(secret.encode(), body, hashlib.sha256).hexdigest()
assert expected == request.headers["X-Stratix-Signature"]See also
Last updated
Was this helpful?