Get your key, log an event, read a score, and run preflight policy checks.
curl -X POST "https://clawtrustscores.com/v1/users" \
-H "Content-Type: application/json" \
-d '{"email":"you@example.com"}'
curl -X POST "https://clawtrustscores.com/v1/events" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_KEY" \
-d '{"agentId":"agent:demo:1","kind":"positive","eventType":"completed_task_on_time"}'
curl "https://clawtrustscores.com/v1/score?agentId=agent:demo:1" \
-H "x-api-key: YOUR_KEY"
curl -X POST "https://clawtrustscores.com/v1/integrations/clawcredit/preflight" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_KEY" \
-d '{"agentId":"agent:demo:1","amountUsd":2500,"newPayee":true,"firstTimeCounterparty":true}'