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

# Get Compliance Settings

`$client->organization->complianceSettings->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`

  - `"compliance_settings" type`

  - `ComplianceSettingsState state`

    Whether the Compliance API is enabled for this organization.

## Example

```php
<?php

require_once dirname(__DIR__) . '/vendor/autoload.php';

use Anthropic\Client;

$client = new Client(apiKey: 'my-anthropic-api-key');

$organizationComplianceSettings = $client
  ->organization
  ->complianceSettings
  ->retrieve();

var_dump($organizationComplianceSettings);
```

### Response (200)

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