규정 준수 설정 조회
GET/v1/organizations/compliance_settings
조직의 Compliance Settings(규정 준수 설정)를 조회합니다.
Compliance Settings는 싱글톤 리소스입니다. 조직당 정확히 하나만 존재하며 식별자 없이 지정됩니다. state 필드는 Compliance API의 활성화 여부를 나타냅니다. 상위 조직이 있는 조직은 상위 조직의 구성에서 상속된 상태를 읽습니다.
Returns
규정 준수 설정 조회
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ.get(
"ANTHROPIC_API_KEY"
), # This is the default and can be omitted
)
organization_compliance_settings = client.organization.compliance_settings.retrieve()
print(organization_compliance_settings.state)Response 200
{
"state": {
"type": "enabled"
},
"type": "compliance_settings"
}Returns Examples
Response 200
{
"state": {
"type": "enabled"
},
"type": "compliance_settings"
}