Documentation
One base-URL change to adopt DriftWatch. Pick a topic to see the exact snippet.
API reference
Read proxy logs, savings aggregates and drift events over REST using a DriftWatch secret key.
api.sh
curl https://api.driftwatchproxy.com/v1/logs?limit=50 \ -H "Authorization: Bearer dw_live_secret_..." curl https://api.driftwatchproxy.com/v1/savings?window=30d \ -H "Authorization: Bearer dw_live_secret_..." curl -X POST https://api.driftwatchproxy.com/v1/schema-rules \ -H "Authorization: Bearer dw_live_secret_..." \ -H "Content-Type: application/json" \ -d '{"name":"invoice","mode":"strict","schema":{"type":"object"}}'