Skip to main content

setCopilotAutoApproveLow

Requires permission catalog:copilot:chat.

Turn the CALLER'S own auto mode on or off: low-tier cards Minori asks about are approved without asking. Never applies at medium or above.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation SetCopilotAutoApproveLow($enabled: Boolean!) {
setCopilotAutoApproveLow(enabled: $enabled) {
autoApproveAvailable
autoApproveLow
sessionLowTier
textApprovalAvailable
}
}

Variables:

{
"enabled": true
}

Response:

{
"data": {
"setCopilotAutoApproveLow": {
"autoApproveAvailable": true,
"autoApproveLow": true,
"sessionLowTier": true,
"textApprovalAvailable": true
}
}
}
setCopilotAutoApproveLow(
enabled: Boolean!
): CopilotApprovalRulesType!

Arguments​

setCopilotAutoApproveLow.enabled ● Boolean! non-null scalar​

True to approve low-risk Copilot actions automatically.

Type​

CopilotApprovalRulesType object​

The caller's standing approval rules, for low-risk proposals only. The available flags say whether the organization has switched the feature on.