Claude Platform Docs

Плагины

Создание плагина
BetaPlugin Beta.Organization.Plugins.Create(parameters, cancellationToken = default)
POST/v1/organizations/plugins
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

Создаёт плагин, принадлежащий организации, и его первую версию путём загрузки файлов версии.

Получение плагина
BetaPlugin Beta.Organization.Plugins.Retrieve(parameters, cancellationToken = default)
GET/v1/organizations/plugins/{plugin_id}
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

Получает плагин по ID.

Обновление плагина
BetaPlugin Beta.Organization.Plugins.Update(parameters, cancellationToken = default)
POST/v1/organizations/plugins/{plugin_id}
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

Изменяет, какая из сохранённых версий плагина, принадлежащего организации, предоставляется участникам, — например, чтобы откатиться к более ранней. Это закрепляет предоставляемую версию: последующие загрузки сохраняются, но больше не меняют предоставляемую версию, а закрепление в настоящее время нельзя отменить ни здесь, ни в claude.ai.

Список плагинов
PluginListPage Beta.Organization.Plugins.List(parameters, cancellationToken = default)
GET/v1/organizations/plugins
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

Возвращает список плагинов, созданных в организации, начиная с самых новых: как находящихся в собственных маркетплейсах плагинов организации, так и в личных маркетплейсах плагинов участников.

Удаление плагина
BetaDeletedPlugin Beta.Organization.Plugins.Delete(parameters, cancellationToken = default)
DELETE/v1/organizations/plugins/{plugin_id}
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

Безвозвратно удаляет плагин и все его версии — точно так же, как при удалении администратором в claude.ai. Плагин может принадлежать организации или участнику, в том числе участнику, который с тех пор покинул организацию.

Models
class BetaDeletedPlugin { Type = "plugin_deleted"; ID; }
JsonElement Type = "plugin_deleted"

Always plugin_deleted.

required string ID

The deleted Plugin's ID.

class BetaPlugin { Type = "plugin"; ID; Components; /* 16 more */ }
class BetaPluginApiActor { Type = "api_actor"; ApiKeyID; }
JsonElement Type = "api_actor"

An Admin API key, in the same form the Compliance API activity feed uses for it.

required string ApiKeyID

The key's ID.

class BetaPluginComponent { Type; Description; Name; }
required Type Type

The kind of component.

One of the following:
Agent("agent")
Cli("cli")
Command("command")
Hook("hook")
McpServer("mcp_server")
Skill("skill")
required string? Description

What the component declares about itself; always null for MCP servers, hooks, and CLIs.

required string Name

The component's name: a skill's, command's or agent's name, an MCP server's key in the manifest, the event a hook runs on, or a CLI's executable.

class BetaPluginContentScan { Assessment; Reason; Status; }
required Assessment? Assessment

The scan's verdict; set only when status is completed. A warn can mean a fail that was allowed in claude.ai.

One of the following:
Fail("fail")
Pass("pass")
Unknown("unknown")
Warn("warn")
required string? Reason

The primary mechanism behind a warn or fail, such as credential-exposure or guardrail-tampering; a mechanism this API does not yet name reads as other. Null on a pass, whenever assessment is null, and when no mechanism is reported for the verdict.

required Status Status

processing while a scan runs, completed when it ran to completion, errored when it could not run. Once a scan of the version has completed, content_scan describes the newest completed scan, even while a later scan runs. While the scan outcome cannot be read, status is errored instead.

One of the following:
Completed("completed")
Errored("errored")
Processing("processing")
class BetaPluginOwnerOrganization { Type = "organization"; }
JsonElement Type = "organization"

The Plugin lives in a plugin marketplace the organization owns.

class BetaPluginOwnerUser { Type = "user"; UserID; }
JsonElement Type = "user"

The Plugin lives in one member's personal plugin marketplace.

required string UserID

The member's User ID.

class BetaPluginTargetOrganization { Type = "organization"; }
JsonElement Type = "organization"

Every member of the organization.

class BetaPluginTargetOrganizationMember { Type = "organization_member"; UserID; }
JsonElement Type = "organization_member"

One member of the organization.

required string UserID

The member's User ID.

class BetaPluginTargetRbacGroup { Type = "rbac_group"; RbacGroupID; }
JsonElement Type = "rbac_group"

An RBAC Group.

required string RbacGroupID

The RBAC Group's ID.

class BetaPluginUserActor { Type = "user_actor"; EmailAddress; UserID; }
JsonElement Type = "user_actor"

A member of the organization.

required string? EmailAddress

The member's email address; may be null, for example when they are no longer a member of the organization.

required string UserID

The member's User ID.

ПлагиныВерсии

Создание версии плагина
BetaPluginVersion Beta.Organization.Plugins.Versions.Create(parameters, cancellationToken = default)
POST/v1/organizations/plugins/{plugin_id}/versions
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

Добавляет версию в плагин, принадлежащий организации, путём загрузки файлов новой версии; она становится версией, предоставляемой участникам, если только предоставляемая версия плагина не была закреплена.

Список версий плагина
VersionListPage Beta.Organization.Plugins.Versions.List(parameters, cancellationToken = default)
GET/v1/organizations/plugins/{plugin_id}/versions
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

Возвращает список версий плагина, начиная с самых новых.

Получение версии плагина
BetaPluginVersion Beta.Organization.Plugins.Versions.Retrieve(parameters, cancellationToken = default)
GET/v1/organizations/plugins/{plugin_id}/versions/{version}
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

Получает одну версию плагина по её идентификатору или самую новую версию плагина.

Скачивание архива версии плагина
HttpResponse Beta.Organization.Plugins.Versions.Download(parameters, cancellationToken = default)
GET/v1/organizations/plugins/{plugin_id}/versions/{version}/content
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

Скачивает архив .zip одной версии точно в том виде, в каком он хранится. Каждое скачивание плагина из личного маркетплейса плагинов участника записывается в ленту активности Compliance API.

Список параметров установки плагина
InstallationSettingListPage Beta.Organization.Plugins.InstallationSettings.List(parameters, cancellationToken = default)
GET/v1/organizations/plugins/{plugin_id}/installation_settings
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

Возвращает список параметров установки плагина, принадлежащего организации, которые определяют, для каких участников он предназначен, начиная с созданных последними.

Задание параметра установки плагина
BetaPluginInstallationSetting Beta.Organization.Plugins.InstallationSettings.Set(parameters, cancellationToken = default)
POST/v1/organizations/plugins/{plugin_id}/installation_settings/{target}
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

Задаёт или изменяет параметр установки плагина, принадлежащего организации, для всей организации или для одной группы RBAC.

Удаление параметра установки плагина
BetaDeletedPluginInstallationSetting Beta.Organization.Plugins.InstallationSettings.Remove(parameters, cancellationToken = default)
DELETE/v1/organizations/plugins/{plugin_id}/installation_settings/{target}
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

Удаляет собственный параметр установки плагина, принадлежащего организации, для всей организации или для одной группы RBAC.

ПлагиныОбщий доступ

Список предоставлений доступа к плагину
ShareListPage Beta.Organization.Plugins.Shares.List(parameters, cancellationToken = default)
GET/v1/organizations/plugins/{plugin_id}/shares
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

Возвращает список предоставлений общего доступа, выданных владельцем плагина, принадлежащего участнику, — всем участникам организации, группе RBAC или одному участнику, — начиная с предоставленных последними.