Capacity Rules

List capacity rules

get

Retrieve list of capacity rule

Authorizations
AuthorizationstringRequired

Provide the token that is returned upon login

Path parameters
workspaceIdstringRequired
Query parameters
limitinteger · min: 1 · max: 100Optional

Limits the number of results to return

Default: 10
pageTokenstring · max: 8000Optional

Pagination token that keeps of track of the current position in the list

reversebooleanOptional

Order in which to retrieve the results

Default: false
Responses
200

OK

application/json
get
/workspaces/{workspaceId}/inbox/capacity
200

OK

Create Capacity Rule

post
Authorizations
AuthorizationstringRequired

Provide the token that is returned upon login

Path parameters
workspaceIdstringRequired
Body
namestring · min: 1 · max: 255Required
descriptionstring · min: 1 · max: 255Required
defaultbooleanOptional
agentsstring · uuid[]Optional
Responses
post
/workspaces/{workspaceId}/inbox/capacity

Get a Capacity Rule

get
Authorizations
AuthorizationstringRequired

Provide the token that is returned upon login

Path parameters
workspaceIdstringRequired
capacityRuleIdstringRequired
Responses
200

ok

application/json
get
/workspaces/{workspaceId}/inbox/capacity/{capacityRuleId}

Update Capacity Rule

patch
Authorizations
AuthorizationstringRequired

Provide the token that is returned upon login

Path parameters
workspaceIdstringRequired
capacityRuleIdstringRequired
Body
namestringOptional
descriptionstringOptional
defaultbooleanOptional
Responses
200

Updated

application/json
patch
/workspaces/{workspaceId}/inbox/capacity/{capacityRuleId}

Delete a Capacity Rule

delete
Authorizations
AuthorizationstringRequired

Provide the token that is returned upon login

Path parameters
workspaceIdstringRequired
capacityRuleIdstringRequired
Responses
delete
/workspaces/{workspaceId}/inbox/capacity/{capacityRuleId}

No content

Assign Capacity Rule

post
Authorizations
AuthorizationstringRequired

Provide the token that is returned upon login

Path parameters
workspaceIdstringRequired
capacityRuleIdstringRequired
Body
agentsstring · uuid[]Required
Responses
post
/workspaces/{workspaceId}/inbox/capacity/{capacityRuleId}/agents

No content

get agents assigned to Capacity Rule

get
Authorizations
AuthorizationstringRequired

Provide the token that is returned upon login

Path parameters
workspaceIdstringRequired
capacityRuleIdstringRequired
Responses
200

Successful operation

application/json
get
/workspaces/{workspaceId}/inbox/capacity/{capacityRuleId}/agents
200

Successful operation

Last updated

Was this helpful?