Get Compliance Settings
GET /v1/organizations/compliance_settings
Retrieve your organization's Compliance Settings.
Compliance Settings is a singleton resource: there is exactly one per organization, addressed without an identifier. The state field reflects whether the Compliance API is enabled. An organization with a parent organization reads the state inherited from the parent's configuration.
Returns
BetaComplianceSettings objecttype: "compliance_settings"default: compliance_settings
state: BetaComplianceSettingsStateWhether the Compliance API is enabled for this organization.
BetaComplianceSettingsStateEnabled objecttype: "enabled"default: enabled
BetaComplianceSettingsStateDisabled objecttype: "disabled"default: disabled
Example
bash
curl https://api.anthropic.com/v1/organizations/compliance_settings \
-H 'anthropic-version: 2023-06-01' \
-H "X-Api-Key: $ANTHROPIC_API_KEY"Response (200)
json
{
"state": {
"type": "enabled"
},
"type": "compliance_settings"
}