Claude Platform Docs

合規設定

取得合規設定
client.Beta.Organization.ComplianceSettings.Get(ctx, query) (*BetaComplianceSettings, error)
GET/v1/organizations/compliance_settings

擷取您組織的合規設定。

更新合規設定
client.Beta.Organization.ComplianceSettings.Update(ctx, params) (*BetaComplianceSettings, error)
POST/v1/organizations/compliance_settings

更新您組織的合規設定。

Models
type BetaAccessTransparency struct { Type }

Whether Access Transparency is on. Read-only.

Type BetaAccessTransparencyType
One of the following:
const BetaAccessTransparencyTypeDisabled BetaAccessTransparencyType = "disabled"
const BetaAccessTransparencyTypeEnabled BetaAccessTransparencyType = "enabled"
type BetaComplianceSettings struct { Type: "compliance_settings"; State; AccessTransparency }
type BetaComplianceSettingsStateUnion interface{…}
One of the following:
type BetaComplianceSettingsStateEnabled struct { Type: "enabled" }
Type Enabled
defaultenabled
type BetaComplianceSettingsStateDisabled struct { Type: "disabled" }
Type Disabled
defaultdisabled
type BetaComplianceSettingsStateDisabled struct { Type: "disabled" }
Type Disabled
defaultdisabled
type BetaComplianceSettingsStateDisabledParam struct { Type: "disabled" }
Type Disabled
type BetaComplianceSettingsStateEnabled struct { Type: "enabled" }
Type Enabled
defaultenabled
type BetaComplianceSettingsStateEnabledParam struct { Type: "enabled" }
Type Enabled
type BetaComplianceSettingsStateParamUnion interface{…}
One of the following:
type BetaComplianceSettingsStateEnabledParam struct { Type: "enabled" }
Type Enabled
type BetaComplianceSettingsStateDisabledParam struct { Type: "disabled" }
Type Disabled