有効な組織設定の取得
GET/v1/compliance/organizations/{organization_id}/settings
組織の有効な設定を取得します。
指定された組織に現在適用されている設定を返します。これはすべてのポリシーが適用された後の強制状態であり、管理コンソールで構成されている内容とは異なる場合があります。組織の管理者が変更できない設定(たとえば、Anthropic のポリシーによって制御されているものや、その組織で利用できないもの)はリストから除外されます。
組織は APIキーの組織階層に属している必要があります。不明な組織や階層外の組織は 404 を返します。
Path parameters
Headers
Returns
有効な組織設定の取得
cURL
curl https://api.anthropic.com/v1/compliance/organizations/$ORGANIZATION_ID/settings \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response 200
{
"api_keys": [
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"created_by_id": "created_by_id",
"is_active": true,
"name": "name",
"scopes": [
"string"
],
"expires_at": "2019-12-27T18:11:19.117Z",
"type": "compliance_api_key"
}
],
"organization_id": "organization_id",
"settings": [
{
"name": "ai_powered_artifacts_enabled",
"value": true,
"type": "boolean"
}
],
"type": "effective_organization_settings"
}Returns Examples
Response 200
{
"api_keys": [
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"created_by_id": "created_by_id",
"is_active": true,
"name": "name",
"scopes": [
"string"
],
"expires_at": "2019-12-27T18:11:19.117Z",
"type": "compliance_api_key"
}
],
"organization_id": "organization_id",
"settings": [
{
"name": "ai_powered_artifacts_enabled",
"value": true,
"type": "boolean"
}
],
"type": "effective_organization_settings"
}