Claude Platform Docs

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

GET/v1/organizations/compliance_settings

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

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

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
コンプライアンス設定を取得
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"
}