Claude Platform Docs

Compliance-Einstellungen abrufen

beta.organization.compliance_settings.retrieve() -> BetaComplianceSettings
GET/v1/organizations/compliance_settings

Ruft die Compliance Settings deiner Organisation ab.

Compliance Settings ist eine Singleton-Ressource: Es gibt genau eine pro Organisation, die ohne Bezeichner adressiert wird. Das Feld state gibt an, ob die Compliance API aktiviert ist. Eine Organisation mit einer übergeordneten Organisation liest den Status, der von der Konfiguration der übergeordneten Organisation geerbt wird.

Returns
class BetaComplianceSettings { type: :compliance_settings, state }
type: :compliance_settings

Whether the Compliance API is enabled for this organization.

One of the following:
class BetaComplianceSettingsStateEnabled { type: :enabled }
type: :enabled
class BetaComplianceSettingsStateDisabled { type: :disabled }
type: :disabled
Compliance-Einstellungen abrufen
require "anthropic"

anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")

beta_compliance_settings = anthropic.beta.organization.compliance_settings.retrieve

puts(beta_compliance_settings)
Returns Examples
Response 200
{
  "state": {
    "type": "enabled"
  },
  "type": "compliance_settings"
}