Claude Platform Docs

合规设置

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

检索您组织的合规设置。

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

更新您组织的合规设置。

Models
type ComplianceSettingsState = ...
One of the following:
class ComplianceSettingsStateEnabled: type: "enabled"
type: Literal["enabled"]
defaultenabled
class ComplianceSettingsStateDisabled: type: "disabled"
type: Literal["disabled"]
defaultdisabled
class ComplianceSettingsStateDisabled: type: "disabled"
type: Literal["disabled"]
defaultdisabled
class ComplianceSettingsStateDisabledParam: type: "disabled"
type: Literal["disabled"]
class ComplianceSettingsStateEnabled: type: "enabled"
type: Literal["enabled"]
defaultenabled
class ComplianceSettingsStateEnabledParam: type: "enabled"
type: Literal["enabled"]
type ComplianceSettingsStateParam = ...
One of the following:
class ComplianceSettingsStateEnabledParam: type: "enabled"
type: Literal["enabled"]
class ComplianceSettingsStateDisabledParam: type: "disabled"
type: Literal["disabled"]
class OrganizationComplianceSettings: type: "compliance_settings"; state
type: Literal["compliance_settings"]
defaultcompliance_settings

Whether the Compliance API is enabled for this organization.

One of the following:
class ComplianceSettingsStateEnabled: type: "enabled"
type: Literal["enabled"]
defaultenabled
class ComplianceSettingsStateDisabled: type: "disabled"
type: Literal["disabled"]
defaultdisabled