Claude Platform Docs

규정 준수 설정 조회

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

조직의 Compliance Settings(규정 준수 설정)를 조회합니다.

Compliance Settings는 싱글톤 리소스입니다. 조직당 정확히 하나만 존재하며 식별자 없이 지정됩니다. state 필드는 Compliance API의 활성화 여부를 나타냅니다. 상위 조직이 있는 조직은 상위 조직의 구성에서 상속된 상태를 읽습니다.

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
규정 준수 설정 조회
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"
}