Trust Scores & Analytics
Every agent builds a trust score over time based on its verification history. The score uses a Bayesian model — successful verifications increase trust, violations and revocations decrease it.
Analytics API
GET
/api/analyticsJWTGet dashboard analytics — overview stats, hourly breakdown, and agent trust scores.
curl
curl https://aip.synthexai.tech/api/analytics -H "Authorization: Bearer YOUR_JWT"
# {
# "overview": {
# "total_agents": 5,
# "active_agents": 4,
# "total_verifications": 1247,
# "revoked_agents": 1
# },
# "trust_scores": [
# {"agent_id": "did:web:yourco.com:agents:reader", "score": 0.92},
# {"agent_id": "did:web:yourco.com:agents:writer", "score": 0.71}
# ]
# }GET
/api/verifications?limit=50JWTGet verification history (audit log). Max 200 per request.
curl
curl "https://aip.synthexai.tech/api/verifications?limit=10" -H "Authorization: Bearer YOUR_JWT"
# {
# "verifications": [
# {
# "id": "vrf_abc123",
# "agent_id": "did:web:yourco.com:agents:bot",
# "action": "read_data",
# "passed": true,
# "trust_score": 0.85,
# "latency_ms": 2.4,
# "timestamp": "2026-02-14T10:30:00Z"
# }
# ]
# }