Claude Platform Docs

合规设置

获取合规设置
BetaComplianceSettings beta().organization().complianceSettings().retrieve(params = ComplianceSettingRetrieveParams.none(), requestOptions = RequestOptions.none())
GET/v1/organizations/compliance_settings

检索您组织的合规设置。

更新合规设置
BetaComplianceSettings beta().organization().complianceSettings().update(params, requestOptions = RequestOptions.none())
POST/v1/organizations/compliance_settings

更新您组织的合规设置。

Models
class BetaComplianceSettings { type = "compliance_settings"; state; }
JsonValue type = "compliance_settings"

Whether the Compliance API is enabled for this organization.

One of the following:
class BetaComplianceSettingsStateEnabled { type = "enabled"; }
JsonValue type = "enabled"
class BetaComplianceSettingsStateDisabled { type = "disabled"; }
JsonValue type = "disabled"
class BetaComplianceSettingsState: union
class BetaComplianceSettingsStateEnabled { type = "enabled"; }
JsonValue type = "enabled"
class BetaComplianceSettingsStateDisabled { type = "disabled"; }
JsonValue type = "disabled"
class BetaComplianceSettingsStateDisabled { type = "disabled"; }
JsonValue type = "disabled"
class BetaComplianceSettingsStateDisabledParam { type = "disabled"; }
JsonValue type = "disabled"
class BetaComplianceSettingsStateEnabled { type = "enabled"; }
JsonValue type = "enabled"
class BetaComplianceSettingsStateEnabledParam { type = "enabled"; }
JsonValue type = "enabled"
class BetaComplianceSettingsStateParam: union
class BetaComplianceSettingsStateEnabledParam { type = "enabled"; }
JsonValue type = "enabled"
class BetaComplianceSettingsStateDisabledParam { type = "disabled"; }
JsonValue type = "disabled"