Claude Platform Docs

Compliance Settings

Get Compliance Settings
client.Organization.ComplianceSettings.Get(ctx) (*OrganizationComplianceSettings, error)
GET/v1/organizations/compliance_settings

Retrieve your organization's Compliance Settings.

Update Compliance Settings
client.Organization.ComplianceSettings.Update(ctx, body) (*OrganizationComplianceSettings, error)
POST/v1/organizations/compliance_settings

Update your organization's Compliance Settings.

Models
type ComplianceSettingsStateUnion interface{…}
One of the following:
type ComplianceSettingsStateEnabled struct { Type: "enabled" }
Type Enabled
defaultenabled
type ComplianceSettingsStateDisabled struct { Type: "disabled" }
Type Disabled
defaultdisabled
type ComplianceSettingsStateDisabled struct { Type: "disabled" }
Type Disabled
defaultdisabled
type ComplianceSettingsStateDisabledParam struct { Type: "disabled" }
Type Disabled
type ComplianceSettingsStateEnabled struct { Type: "enabled" }
Type Enabled
defaultenabled
type ComplianceSettingsStateEnabledParam struct { Type: "enabled" }
Type Enabled
type ComplianceSettingsStateParamUnion interface{…}
One of the following:
type ComplianceSettingsStateEnabledParam struct { Type: "enabled" }
Type Enabled
type ComplianceSettingsStateDisabledParam struct { Type: "disabled" }
Type Disabled
type OrganizationComplianceSettings struct { Type: "compliance_settings"; State }
Type ComplianceSettings
defaultcompliance_settings

Whether the Compliance API is enabled for this organization.

One of the following:
type ComplianceSettingsStateEnabled struct { Type: "enabled" }
Type Enabled
defaultenabled
type ComplianceSettingsStateDisabled struct { Type: "disabled" }
Type Disabled
defaultdisabled