Skip to main content
GET
Get org security profile settings
Returns the organization’s default security-profile selections: default for new sessions in the organization, and automations_default for sessions started by automations.

Permissions

Requires a service user or personal access token with the ManageSecureModeProfiles permission at the organization level. Tokens used by a running Devin session are rejected, so a session cannot change the profiles that govern it.

Behavior

  • selection is inherit (no binding of its own; the enterprise default applies), none (explicit opt-out), or profile (pinned to profile_id).
  • profile_scope is org or enterprise when a profile is pinned, since an organization can pin one of its enterprise’s shared profiles.
  • An opt-out has no effect while a mandatory profile applies above it.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Path Parameters

org_id
string
required

Organization ID (prefix: org-)

Example:

"org-abc123def456"

Response

Successful Response

automations_default
SecurityProfileDefaultState · object
required

Default for automation-triggered sessions. Sits between the org/enterprise defaults and each automation's own binding.

default
SecurityProfileDefaultState · object
required

Read view of one stored default binding.