Register webhook
List webhooks
Delete webhook
Events
Signature verification
All requests includeX-AgentRep-Signature: sha256=<hmac>.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Real-time callbacks for outcome and score events.
POST /webhooks
curl -s -X POST https://api.agentrep.com.br/api/v1/webhooks \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"url": "https://your-system.com/hooks/agentrep",
"events": ["outcome.resolved", "score.updated"]
}'
GET /webhooks
curl -s https://api.agentrep.com.br/api/v1/webhooks \
-H "X-API-Key: YOUR_API_KEY"
DELETE /webhooks/{webhookId}
curl -s -X DELETE https://api.agentrep.com.br/api/v1/webhooks/WEBHOOK_ID \
-H "X-API-Key: YOUR_API_KEY"
| Event | Trigger |
|---|---|
outcome.resolved | LLM Judge returns verdict |
score.updated | Reputation score changes |
X-AgentRep-Signature: sha256=<hmac>.
import hmac, hashlib
def verify(secret, payload, signature):
expected = "sha256=" + hmac.new(secret.encode(), payload, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, signature)