Check if a tenant is within their plan’s usage limits.
curl -X POST "https://api.crovver.com/api/public/check-usage-limit" \ -H "Authorization: Bearer sk_live_..." \ -H "Content-Type: application/json" \ -d '{ "requestingEntityId": "workspace_123", "metricKey": "api_calls" }'
{ "success": true, "data": { "withinLimit": true, "current": 4821, "limit": 10000, "percentUsed": 48.21, "metricKey": "api_calls" } }
api_calls
storage_gb
Authorization: Bearer sk_live_...
x-public-key