---
title: Get Compliance Settings
url: https://platform.claude.com/docs/en/api/ruby/organization/compliance_settings/retrieve
---

# Get Compliance Settings

`organization.compliance_settings.retrieve() -> OrganizationComplianceSettings`

**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

- `class OrganizationComplianceSettings`

  - `type: :compliance_settings`

  - `state: ComplianceSettingsState`

    Whether the Compliance API is enabled for this organization.

    - `class ComplianceSettingsStateEnabled`

      - `type: :enabled`

    - `class ComplianceSettingsStateDisabled`

      - `type: :disabled`

## Example

```ruby
require "anthropic"

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

organization_compliance_settings = anthropic.organization.compliance_settings.retrieve

puts(organization_compliance_settings)
```

### Response (200)

```json
{
  "state": {
    "type": "enabled"
  },
  "type": "compliance_settings"
}
```
