Claude Platform Docs

コンプライアンス設定を取得

GET/v1/organizations/compliance_settings

組織のコンプライアンス設定を取得します。

コンプライアンス設定はシングルトンリソースです。組織ごとに 1 つだけ存在し、識別子なしでアドレス指定されます。state フィールドは Compliance API が有効かどうかを反映します。親組織を持つ組織は、親の構成から継承された状態を読み取ります。

Returns
BetaComplianceSettings object{ state, type }

Whether the Compliance API is enabled for this organization.

One of the following:
BetaComplianceSettingsStateEnabled object{ type }
type: "enabled"
defaultenabled
BetaComplianceSettingsStateDisabled object{ type }
type: "disabled"
defaultdisabled
type: "compliance_settings"
defaultcompliance_settings
コンプライアンス設定を取得
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"
}