Skip to main content
GET
Get Devin CLI Team Permission Rules

Overview

Returns your team’s account-wide Devin CLI permission rules — the same Terminal Permissions configured in team settings. The response contains only the rules explicitly saved for your team. It does not include organization, group, or user overrides.
This endpoint is in alpha (v2alpha). The response shape may change.

Authentication

Pass a Devin service user API key (cog_...) in the Authorization header:
The service user must have the Use Devin Desktop and Windsurf admin (account.windsurf.admin) permissions, which the built-in Account Admin role includes. Available on Teams and Enterprise plans. Personal tokens are rejected with 403.

Request

This endpoint takes no parameters or request body.

Example Request

Response

string[]
Actions Devin CLI approves automatically without prompting.
string[]
Actions that always prompt the user for approval.
string[]
Actions that are blocked.
The ETag response header identifies the current rule set. Pass it as If-Match when calling Update CLI Permissions. See Permission Syntax for supported rule formats.

Example Response

Error Responses

Errors are returned as {"error": "<message>"}.