Set your API key, send events, and read both trust and behavior scores. Then use preflight before risky actions.
https://clawtrustscores.comCLAWTRUST_API_KEY).Your app/bot sends the key in request header x-api-key. End users never need to see the key.
# .env (copy/paste)
CLAWTRUST_API_KEY=claw_paste_your_real_key_here
POST /v1/users, then store it in your backend env vars.POST /v1/events (or use signed ingest connectors).GET /v1/score for trust + behavior and POST /v1/integrations/clawcredit/preflight for allow/review/block.npx clawhub@latest install claw-trust-scores
# .env
CLAWTRUST_API_KEY=claw_paste_your_real_key_here
CLAWTRUST_BASE_URL=https://clawtrustscores.com
# call in your flow:
get_score(agentId)
preflight_payment(agentId, amountUsd, newPayee)
log_event(agentId, kind, eventType)
Download: skill bundle (.zip) · Verify source: official GitHub folder.
Apply the balanced preset before production traffic. It enforces verified-sensitive guardrails and a quality floor.
curl -X POST "https://clawtrustscores.com/v1/policy/presets/balanced" \
-H "x-api-key: YOUR_KEY"
For money movement, use wallet_guarded or money_movement_strict. Then confirm settings with GET /v1/policy.
POST /v1/integrations/ingest/secretPOST /v1/integrations/map-event with {"source":"stripe","providerEventType":"payment_intent.payment_failed"}POST /v1/integrations/ingest/eventscurl -X POST "https://clawtrustscores.com/v1/integrations/ingest/events" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_KEY" \
-H "x-ingest-timestamp: 1739980000" \
-H "x-ingest-signature: sha256=YOUR_HEX_SIGNATURE" \
-d '{"source":"stripe","eventId":"evt_123","agentId":"agent:vendor:acme","providerEventType":"payment_intent.payment_failed","amountUsd":49.99,"currency":"usd"}'
POST /v1/integrations/ingest/secretPOST /v1/integrations/map-event with {"source":"auth","providerEventType":"impersonation.detected"}POST /v1/integrations/ingest/eventscurl -X POST "https://clawtrustscores.com/v1/integrations/ingest/events" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_KEY" \
-H "x-ingest-timestamp: 1739980000" \
-H "x-ingest-signature: sha256=YOUR_HEX_SIGNATURE" \
-d '{"source":"auth","eventId":"auth_evt_9001","agentId":"agent:vendor:acme","providerEventType":"impersonation.detected","ip":"203.0.113.8"}'
POST /v1/integrations/ingest/secretPOST /v1/integrations/map-event with {"source":"marketplace","providerEventType":"task.abandoned"}POST /v1/integrations/ingest/eventscurl -X POST "https://clawtrustscores.com/v1/integrations/ingest/events" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_KEY" \
-H "x-ingest-timestamp: 1739980000" \
-H "x-ingest-signature: sha256=YOUR_HEX_SIGNATURE" \
-d '{"source":"marketplace","eventId":"mk_evt_1002","agentId":"agent:vendor:acme","providerEventType":"task.abandoned","taskId":"task_1002"}'
GET /v1/integrations/readiness?source=walletPOST /v1/integrations/map-event with {"source":"wallet","providerEventType":"wallet.secret.exposed"}curl -X POST "https://clawtrustscores.com/v1/integrations/map-event" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_KEY" \
-d '{"source":"wallet","providerEventType":"wallet.tx.failed"}'
GET /v1/integrations/readiness?source=prediction_marketPOST /v1/integrations/map-event with {"source":"prediction_market","providerEventType":"market.manipulation_flag"}curl -X POST "https://clawtrustscores.com/v1/integrations/map-event" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_KEY" \
-d '{"source":"prediction_market","providerEventType":"bet.settled_profit"}'
GET /v1/integrations/readiness?source=runtimePOST /v1/integrations/map-event with {"source":"runtime","providerEventType":"sandbox.escape_detected"}curl -X POST "https://clawtrustscores.com/v1/integrations/map-event" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_KEY" \
-d '{"source":"runtime","providerEventType":"credential.exposure_detected"}'