UpdateAiRoleLimitRequest

A request or response body; the type column links to the schemas it refers to.

UpdateAiRoleLimitRequest

FieldTypeRequiredDescription
agents_enabledbooleanyes

May start agent sessions.

mcp_enabledbooleanyes

May call the MCP server with a token of their own.

daily_turn_limitinteger | nullyes

Agent turns a day (UTC). Null for no limit.

minimum 0 · maximum 2000000000

daily_token_limitinteger | nullyes

Model tokens a day (UTC), input and output together. Null for no limit.

minimum 0 · maximum 2000000000

max_sessionsinteger | nullyes

Open agent sessions at once; archived ones do not count. Null for no limit.

minimum 0 · maximum 2000000000

allowed_model_idsarray of stringyes

The models agents may run on; empty for every model the deployment offers.

at most 50 items

delegated_scopesarray of stringyes

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"
  ]
}