插件
创建插件
client.beta.organization.plugins.create(params, options?): BetaPluginanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Create an organization-owned Plugin and its first version by uploading the version's files.
获取插件
client.beta.organization.plugins.retrieve(pluginID, params?, options?): BetaPluginanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.按 ID 检索插件。
更新插件
client.beta.organization.plugins.update(pluginID, params, options?): BetaPluginanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Change which stored version of an organization-owned Plugin is served to members, for example to roll back to an earlier one. This pins the served version: later uploads through this API are stored but no longer change what is served, and pinning cannot currently be undone, here or in claude.ai.
列出插件
client.beta.organization.plugins.list(params?, options?): PageCursor<BetaPlugin>anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.List the Plugins created under the organization, newest first: those in the organization's own plugin marketplaces and those in members' personal plugin marketplaces.
删除插件
client.beta.organization.plugins.delete(pluginID, params?, options?): BetaDeletedPluginanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Permanently delete a Plugin and every version it holds, exactly as when an administrator deletes it in claude.ai. The Plugin may belong to the organization or to a member, including a member who has since left the organization. Do not delete a Plugin only because your pipeline did not create it: a member or an administrator might have added it in claude.ai.
Models
Errors
插件版本
创建插件版本
client.beta.organization.plugins.versions.create(pluginID, params, options?): BetaPluginVersionanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Add a version to an organization-owned Plugin by uploading the new version's files; it becomes the version served to members unless the Plugin's served version has been pinned.
列出插件版本
client.beta.organization.plugins.versions.list(pluginID, params?, options?): PageCursor<BetaPluginVersion>anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.列出插件的版本,按从新到旧排序。
获取插件版本
client.beta.organization.plugins.versions.retrieve(version, params, options?): BetaPluginVersionanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.按 ID 检索插件的某个版本,或检索插件的最新版本。
下载插件版本归档
client.beta.organization.plugins.versions.download(version, params, options?): Responseanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Download one version's .zip archive, exactly as stored. Downloads of Plugins from
members' personal plugin marketplaces can be recorded on the Compliance API activity
feed.
插件安装设置
列出插件安装设置
client.beta.organization.plugins.installationSettings.list(pluginID, params?, options?): PageCursor<BetaPluginInstallationSetting>anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.列出组织所有插件的安装设置(这些设置说明插件面向哪些成员),按创建时间从新到旧排序。
设置插件安装设置
client.beta.organization.plugins.installationSettings.set(target, params, options?): BetaPluginInstallationSettinganthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.为整个组织或某个 RBAC 组设置或更改组织所有插件的安装设置。
移除插件安装设置
client.beta.organization.plugins.installationSettings.remove(target, params, options?): BetaDeletedPluginInstallationSettinganthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.移除组织所有插件针对整个组织或某个 RBAC 组的自身安装设置。