Claude Platform Docs

Obtener configuración de cumplimiento

GET/v1/organizations/compliance_settings

Recupera la configuración de cumplimiento (Compliance Settings) de tu organización.

Compliance Settings es un recurso singleton: existe exactamente uno por organización y se accede a él sin un identificador. El campo state refleja si la Compliance API está habilitada. Una organización con una organización principal lee el estado heredado de la configuración de la organización principal.

Headers
"anthropic-version": optional string

The version of the Claude API you want to use.

Read more about versioning and our version history here.

Returns
BetaComplianceSettings object{ type: "compliance_settings", state }
type: "compliance_settings"
defaultcompliance_settings

Whether the Compliance API is enabled for this organization.

One of the following:
BetaComplianceSettingsStateEnabled object{ type: "enabled" }
type: "enabled"
defaultenabled
BetaComplianceSettingsStateDisabled object{ type: "disabled" }
type: "disabled"
defaultdisabled
Obtener configuración de cumplimiento
curl https://api.anthropic.com/v1/organizations/compliance_settings \
    -H 'anthropic-version: 2023-06-01' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
Returns Examples
Response 200
{
  "state": {
    "type": "enabled"
  },
  "type": "compliance_settings"
}