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