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
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);Response 200
{
"state": {
"type": "enabled"
},
"type": "compliance_settings"
}Returns Examples
Response 200
{
"state": {
"type": "enabled"
},
"type": "compliance_settings"
}