Claw Trust Scores logo Claw Trust Scores

API Docs

Drop-in trust checks for agent workflows. Use one API key and these endpoints to log events, read scores, gate actions, and export audit trails.

Base URL https://claw-trust-scores-production.up.railway.app
1. Create keyCall POST /v1/users with your email.
2. Log + scoreUse /v1/events then /v1/score.
3. Gate actionsUse preflight to return allow/review/block.

Auth

Send header x-api-key: YOUR_KEY on all protected endpoints.

Most integrations can ignore admin endpoints.

Quick Example

curl "https://claw-trust-scores-production.up.railway.app/v1/score?agentId=agent:demo:vendor-1" \
  -H "x-api-key: YOUR_KEY"

Most Used Endpoints

POST
/v1/eventsLog trust events
GET
/v1/score?agentId=...Read trust score + explanation
POST
/v1/integrations/clawcredit/preflightReturn allow/review/block decision
GET
/v1/usageCurrent month usage + limits
GET
/v1/audit/decisions?format=json|csvExport decision logs
Advanced and account-management endpoints
GET
/v1/plansPublic plan limits
POST
/v1/keys/rotateRotate current dynamic API key
POST
/v1/keys/revokeRevoke current dynamic API key
GET
/healthService health check
GET
/v1/admin/overviewInternal metrics overview (admin token)

Full Guides