Claude Platform Docs

合规设置

获取合规设置
beta.organization.compliance_settings.retrieve() -> BetaComplianceSettings
GET/v1/organizations/compliance_settings

检索您组织的合规设置。

更新合规设置
beta.organization.compliance_settings.update(**kwargs) -> BetaComplianceSettings
POST/v1/organizations/compliance_settings

更新您组织的合规设置。

Models
class BetaComplianceSettings: type: "compliance_settings"; state
type: Literal["compliance_settings"]
defaultcompliance_settings

Whether the Compliance API is enabled for this organization.

One of the following:
class BetaComplianceSettingsStateEnabled: type: "enabled"
type: Literal["enabled"]
defaultenabled
class BetaComplianceSettingsStateDisabled: type: "disabled"
type: Literal["disabled"]
defaultdisabled
type BetaComplianceSettingsState = ...
One of the following:
class BetaComplianceSettingsStateEnabled: type: "enabled"
type: Literal["enabled"]
defaultenabled
class BetaComplianceSettingsStateDisabled: type: "disabled"
type: Literal["disabled"]
defaultdisabled
class BetaComplianceSettingsStateDisabled: type: "disabled"
type: Literal["disabled"]
defaultdisabled
class BetaComplianceSettingsStateDisabledParam: type: "disabled"
type: Literal["disabled"]
class BetaComplianceSettingsStateEnabled: type: "enabled"
type: Literal["enabled"]
defaultenabled
class BetaComplianceSettingsStateEnabledParam: type: "enabled"
type: Literal["enabled"]
type BetaComplianceSettingsStateParam = ...
One of the following:
class BetaComplianceSettingsStateEnabledParam: type: "enabled"
type: Literal["enabled"]
class BetaComplianceSettingsStateDisabledParam: type: "disabled"
type: Literal["disabled"]