Claude Platform Docs

Dapatkan Pengaturan Kepatuhan

GET/v1/organizations/compliance_settings

Ambil Pengaturan Kepatuhan (Compliance Settings) organisasi Anda.

Compliance Settings adalah resource singleton: hanya ada tepat satu per organisasi, yang diakses tanpa pengidentifikasi. Field state mencerminkan apakah Compliance API diaktifkan. Organisasi yang memiliki organisasi induk membaca status yang diwarisi dari konfigurasi induknya.

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
OrganizationComplianceSettings object{ type: "compliance_settings", state }
type: "compliance_settings"
defaultcompliance_settings

Whether the Compliance API is enabled for this organization.

One of the following:
ComplianceSettingsStateEnabled object{ type: "enabled" }
type: "enabled"
defaultenabled
ComplianceSettingsStateDisabled object{ type: "disabled" }
type: "disabled"
defaultdisabled
Dapatkan Pengaturan Kepatuhan
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"
}