Claude Platform Docs

Plugins

Create Plugin
BetaPlugin Beta.Organization.Plugins.Create(parameters, cancellationToken = default)
POST/v1/organizations/plugins

Create an organization-owned Plugin and its first version by uploading the version's files.

Get Plugin
BetaPlugin Beta.Organization.Plugins.Retrieve(parameters, cancellationToken = default)
GET/v1/organizations/plugins/{plugin_id}

Retrieve a Plugin by ID.

Update Plugin
BetaPlugin Beta.Organization.Plugins.Update(parameters, cancellationToken = default)
POST/v1/organizations/plugins/{plugin_id}

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 are stored but no longer change what is served, and pinning cannot currently be undone, here or in claude.ai.

List Plugins
PluginListPage Beta.Organization.Plugins.List(parameters, cancellationToken = default)
GET/v1/organizations/plugins

List the Plugins created under the organization, newest first: those in the organization's own plugin marketplaces and those in members' personal plugin marketplaces.

Delete Plugin
BetaDeletedPlugin Beta.Organization.Plugins.Delete(parameters, cancellationToken = default)
DELETE/v1/organizations/plugins/{plugin_id}

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.

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.

PluginsVersions

Create Plugin Version
BetaPluginVersion Beta.Organization.Plugins.Versions.Create(parameters, cancellationToken = default)
POST/v1/organizations/plugins/{plugin_id}/versions

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.

List Plugin Versions
VersionListPage Beta.Organization.Plugins.Versions.List(parameters, cancellationToken = default)
GET/v1/organizations/plugins/{plugin_id}/versions

List a Plugin's versions, newest first.

Get Plugin Version
BetaPluginVersion Beta.Organization.Plugins.Versions.Retrieve(parameters, cancellationToken = default)
GET/v1/organizations/plugins/{plugin_id}/versions/{version}

Retrieve one version of a Plugin by its ID, or the Plugin's newest version.

Download Plugin Version Archive
HttpResponse Beta.Organization.Plugins.Versions.Download(parameters, cancellationToken = default)
GET/v1/organizations/plugins/{plugin_id}/versions/{version}/content

Download one version's .zip archive, exactly as stored. Each download of a Plugin from a member's personal plugin marketplace is recorded on the Compliance API activity feed.

List Plugin Installation Settings
InstallationSettingListPage Beta.Organization.Plugins.InstallationSettings.List(parameters, cancellationToken = default)
GET/v1/organizations/plugins/{plugin_id}/installation_settings

List an organization-owned Plugin's installation settings, which say which members it is for, most recently created first.

Set Plugin Installation Setting
BetaPluginInstallationSetting Beta.Organization.Plugins.InstallationSettings.Set(parameters, cancellationToken = default)
POST/v1/organizations/plugins/{plugin_id}/installation_settings/{target}

Set or change an organization-owned Plugin's installation setting for the whole organization or for one RBAC Group.

Remove Plugin Installation Setting
BetaDeletedPluginInstallationSetting Beta.Organization.Plugins.InstallationSettings.Remove(parameters, cancellationToken = default)
DELETE/v1/organizations/plugins/{plugin_id}/installation_settings/{target}

Remove an organization-owned Plugin's own installation setting for the whole organization or for one RBAC Group.

PluginsShares

List Plugin Shares
ShareListPage Beta.Organization.Plugins.Shares.List(parameters, cancellationToken = default)
GET/v1/organizations/plugins/{plugin_id}/shares

List the shares the owner of a member-owned Plugin has given — to every member of the organization, to an RBAC Group, or to one member — most recently granted first.