Skip to main content
POST
/
api
/
run
/
monitoring
/
bandwidthManager
/
shouldShedLoad
shouldShedLoad
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": {
    "reason": "<string>",
    "shouldShed": true,
    "systemLoad": {
      "activeConnections": 123,
      "cpuUsage": 123,
      "memoryUsage": 123,
      "queueDepth": 123
    }
  }
}

Authorizations

Authorization
string
header
required

Standard user authentication token issued via WorkOS. Provide as Authorization: Bearer <user-token>.

Body

application/json
args
object
required

Response

Convex executed your request and returned a result

status
enum<string>
required
Available options:
success,
error
errorMessage
string
errorData
object
value
object