cURL
curl --request POST \ --url https://connvo-dev.convex.cloud/api/run/monitoring/bandwidthManager/shouldShedLoad \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "args": { "requestPriority": "critical" } } '
{ "status": "success", "errorMessage": "<string>", "errorData": {}, "value": { "shouldShed": true, "systemLoad": { "activeConnections": 123, "cpuUsage": 123, "memoryUsage": 123, "queueDepth": 123 }, "reason": "<string>" } }
Load shedding based on system load
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