UpdateAiRoleLimitRequest
A request or response body; the type column links to the schemas it refers to.
UpdateAiRoleLimitRequest
| Field | Type | Required | Description |
|---|---|---|---|
| agents_enabled | boolean | yes | May start agent sessions. |
| mcp_enabled | boolean | yes | May call the MCP server with a token of their own. |
| daily_turn_limit | integer | null | yes | Agent turns a day (UTC). Null for no limit. minimum 0 · maximum 2000000000 |
| daily_token_limit | integer | null | yes | Model tokens a day (UTC), input and output together. Null for no limit. minimum 0 · maximum 2000000000 |
| max_sessions | integer | null | yes | Open agent sessions at once; archived ones do not count. Null for no limit. minimum 0 · maximum 2000000000 |
| allowed_model_ids | array of string | yes | The models agents may run on; empty for every model the deployment offers. at most 50 items |
| delegated_scopes | array of string | yes | The most an agent's delegated token may carry, before it is cut down to the person's own token's scopes. Empty: agents get no learning record tools. at most 100 items |
jsonExample
{
"agents_enabled": true,
"mcp_enabled": true,
"daily_turn_limit": 0,
"daily_token_limit": 0,
"max_sessions": 0,
"allowed_model_ids": [
"string"
],
"delegated_scopes": [
"records:read",
"certifications:read"
]
}