Claude Platform Docs

合規設定

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

擷取您組織的合規設定。

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

更新您組織的合規設定。

Models
type BetaComplianceSettings struct { Type: "compliance_settings"; State }
Type ComplianceSettings
defaultcompliance_settings

Whether the Compliance API is enabled for this organization.

One of the following:
type BetaComplianceSettingsStateEnabled struct { Type: "enabled" }
Type Enabled
defaultenabled
type BetaComplianceSettingsStateDisabled struct { Type: "disabled" }
Type Disabled
defaultdisabled
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