Claude Platform Docs

Get Compliance Settings

$client->beta->organization->complianceSettings->retrieve(): ComplianceSettings
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 ComplianceSettings { $type = 'compliance_settings'; $state; }
"compliance_settings" type

Whether the Compliance API is enabled for this organization.

Get Compliance Settings
<?php

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

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

$betaComplianceSettings = $client
  ->beta
  ->organization
  ->complianceSettings
  ->retrieve();

var_dump($betaComplianceSettings);
Returns Examples
Response 200
{
  "state": {
    "type": "enabled"
  },
  "type": "compliance_settings"
}