Skip to main content
PATCH
Update an agent's per-queue routing weights

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Headers

X-Test-Mode
enum<string>

Sandbox opt-in for Clerk-session-authenticated requests — see Test mode explained for the full credential-header matrix and worked samples. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.

Available options:
true,
false

Path Parameters

id
string
required

Body

application/json
queueWeights
object
required

Map of queue id to the agent's per-queue cross-queue routing weight (integer 1-100; higher biases the blended agent toward that queue's head-of-line calls). null clears the queue's weight; at least one entry is required.

Example:

Response

The agent's identifier and full per-queue weight profile after the merge.