setCopilotAutonomyLevel
Requires permission settings:organization:update.
Set this organization's Minori autonomy cap. level: null clears it, which resolves back to full. Existing proposal cards are NOT deleted by a tightening — they simply stop being applicable, which the apply path refuses with the reason.
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:
- GraphQL
- cURL
mutation SetCopilotAutonomyLevel {
setCopilotAutonomyLevel {
level
source
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation SetCopilotAutonomyLevel {\n setCopilotAutonomyLevel {\n level\n source\n }\n}"
}
EOF
Response:
{
"data": {
"setCopilotAutonomyLevel": {
"level": "string",
"source": "string"
}
}
}
setCopilotAutonomyLevel(
level: String
): CopilotAutonomyCapType!
Arguments
setCopilotAutonomyLevel.level ● String scalar
The autonomy level. Send null to remove the cap.
Type
CopilotAutonomyCapType object
How much this organization lets the copilot do. It is a ceiling the organization sets beneath the one permissions already give.