Claude Platform Docs

取得合規設定

$ ant beta:organization:compliance-settings retrieve
GET/v1/organizations/compliance_settings

擷取您組織的合規設定。

合規設定是單例資源:每個組織恰好有一個,無需識別碼即可存取。state 欄位反映 Compliance API 是否已啟用。具有上層組織的組織會讀取從上層組織設定繼承的狀態。

Returns
beta_compliance_settings: object{ state, type }

Whether the Compliance API is enabled for this organization.

One of the following:
beta_compliance_settings_state_enabled: object{ type }
type: "enabled"
beta_compliance_settings_state_disabled: object{ type }
type: "disabled"
type: "compliance_settings"
取得合規設定
ant beta:organization:compliance-settings retrieve \
  --api-key my-anthropic-api-key
Returns Examples
Response 200
{
  "state": {
    "type": "enabled"
  },
  "type": "compliance_settings"
}