cURL
curl --request POST \ --url https://connvo-dev.convex.cloud/api/run/monitoring/bandwidthManager/checkBandwidthLimit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "args": { "requestType": "query", "estimatedBytes": 123 } } '
{ "status": "success", "errorMessage": "<string>", "errorData": {}, "value": { "allowed": true, "currentUsage": { "bytes": 123, "requests": 123, "subscriptions": 123 }, "userTier": "<string>", "reason": "<string>", "retryAfterMs": 123 } }
Check bandwidth limits for a user request
Standard user authentication token issued via WorkOS. Provide as Authorization: Bearer <user-token>.
Authorization: Bearer <user-token>
Show child attributes
Convex executed your request and returned a result
success
error