Webhooks
Webhooks Overview
Receive real-time notifications for events.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Receive real-time notifications for events.
| Event | Description |
|---|---|
evaluation.completed | Evaluation finished |
evaluation.failed | Evaluation failed |
review.submitted | Human review completed |
review.escalated | Review escalated |
webhook = client.webhooks.create(
url="https://your-app.com/webhooks/akhara",
events=["evaluation.completed", "review.submitted"],
secret="your_secret"
)
from akhara.webhooks import verify_signature
is_valid = verify_signature(
payload=request.body,
signature=request.headers["X-Akhara-Signature"],
secret=webhook_secret
)
