列出 Plugin 分享
GET/v1/organizations/plugins/{plugin_id}/shares
列出成員擁有的 Plugin 的擁有者所提供的分享(分享給組織的所有成員、某個 RBAC 群組或單一成員),依授予時間由新到舊排序。
在此 API 中,分享為唯讀:成員在 claude.ai 中提供及撤回分享,而分享者的資訊會記錄在 Compliance API 活動摘要中,而非記錄在分享上。組織擁有的 Plugin 使用的是安裝設定,因此對此類 Plugin,此路徑會傳回 404。
**接受的憑證:**具有 read:plugins 或 read:org_audit 範圍的 Admin API 金鑰,或具有 read:compliance_org_data 範圍的 Compliance Access Key。
每個請求都必須包含 beta 標頭 anthropic-beta: ce-plugins-2026-09-01。缺少此標頭的請求會傳回 404,與端點不存在時完全相同。Plugins API 目前為 beta 版,僅供 Claude Enterprise 組織使用。Claude Platform(Claude Console)組織或已啟用 HIPAA 就緒功能的組織無法使用。
Parameters
Returns
列出 Plugin 分享
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ.get(
"ANTHROPIC_API_KEY"
), # This is the default and can be omitted
)
page = client.beta.organization.plugins.shares.list(
plugin_id="plugin_id",
)
page = page.data[0]
print(page.plugin_id)Response 200
{
"data": [
{
"granted_at": "2026-03-14T09:26:53.589793Z",
"plugin_id": "plugin_01JyHfbRkZvD1gW7oTqXc3Ne",
"target": {
"type": "organization"
},
"type": "plugin_share"
}
],
"next_page": "page_MjAyNi0wOS0xNlQxNDowNTowOVo"
}Returns Examples
Response 200
{
"data": [
{
"granted_at": "2026-03-14T09:26:53.589793Z",
"plugin_id": "plugin_01JyHfbRkZvD1gW7oTqXc3Ne",
"target": {
"type": "organization"
},
"type": "plugin_share"
}
],
"next_page": "page_MjAyNi0wOS0xNlQxNDowNTowOVo"
}