Claude Platform Docs

Plugins

Plugin erstellen
BetaPlugin beta().organization().plugins().create(params, requestOptions = RequestOptions.none())
POST/v1/organizations/plugins

Erstellt ein Plugin im Besitz der Organisation und seine erste Version, indem die Dateien der Version hochgeladen werden.

Plugin abrufen
BetaPlugin beta().organization().plugins().retrieve(params = PluginRetrieveParams.none(), requestOptions = RequestOptions.none())
GET/v1/organizations/plugins/{plugin_id}

Ruft ein Plugin anhand seiner ID ab.

Plugin aktualisieren
BetaPlugin beta().organization().plugins().update(params, requestOptions = RequestOptions.none())
POST/v1/organizations/plugins/{plugin_id}

Ändere, welche gespeicherte Version eines organisationseigenen Plugins an Mitglieder ausgeliefert wird, zum Beispiel um zu einer früheren zurückzukehren. Dadurch wird die ausgelieferte Version fixiert: Spätere Uploads werden gespeichert, ändern aber nicht mehr, was ausgeliefert wird, und die Fixierung kann derzeit nicht rückgängig gemacht werden, weder hier noch in claude.ai.

Plugins auflisten
PluginListPage beta().organization().plugins().list(params = PluginListParams.none(), requestOptions = RequestOptions.none())
GET/v1/organizations/plugins

Listet die unter der Organisation erstellten Plugins auf, die neuesten zuerst: diejenigen in den eigenen Plugin-Marketplaces der Organisation und diejenigen in den persönlichen Plugin-Marketplaces der Mitglieder.

Plugin löschen
BetaDeletedPlugin beta().organization().plugins().delete(params = PluginDeleteParams.none(), requestOptions = RequestOptions.none())
DELETE/v1/organizations/plugins/{plugin_id}

Löscht ein Plugin und jede seiner Versionen dauerhaft, genau so, als würde ein Administrator es in claude.ai löschen. Das Plugin kann der Organisation oder einem Mitglied gehören, auch einem Mitglied, das die Organisation inzwischen verlassen hat.

Models
class BetaDeletedPlugin { type = "plugin_deleted"; id; }
JsonValue type = "plugin_deleted"

Always plugin_deleted.

String id

The deleted Plugin's ID.

class BetaPlugin { type = "plugin"; id; components; /* 16 more */ }
class BetaPluginApiActor { type = "api_actor"; apiKeyId; }
JsonValue type = "api_actor"

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

String apiKeyId

The key's ID.

class BetaPluginComponent { type; description; name; }
Type type

The kind of component.

One of the following:
AGENT("agent")
CLI("cli")
COMMAND("command")
HOOK("hook")
MCP_SERVER("mcp_server")
SKILL("skill")
Optional<String> description

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

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; }
Optional<Assessment> assessment

The scan's verdict; set only when status is completed.

One of the following:
FAIL("fail")
PASS("pass")
UNKNOWN("unknown")
WARN("warn")
Optional<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.

Status status

processing while a scan runs, completed when it ran to completion, errored when it could not run or its outcome cannot be read.

One of the following:
COMPLETED("completed")
ERRORED("errored")
PROCESSING("processing")
class BetaPluginOwnerOrganization { type = "organization"; }
JsonValue type = "organization"

The Plugin lives in a plugin marketplace the organization owns.

class BetaPluginOwnerUser { type = "user"; userId; }
JsonValue type = "user"

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

String userId

The member's User ID.

class BetaPluginTargetOrganization { type = "organization"; }
JsonValue type = "organization"

Every member of the organization.

class BetaPluginTargetOrganizationMember { type = "organization_member"; userId; }
JsonValue type = "organization_member"

One member of the organization.

String userId

The member's User ID.

class BetaPluginTargetRbacGroup { type = "rbac_group"; rbacGroupId; }
JsonValue type = "rbac_group"

An RBAC Group.

String rbacGroupId

The RBAC Group's ID.

class BetaPluginUserActor { type = "user_actor"; emailAddress; userId; }
JsonValue type = "user_actor"

A member of the organization.

Optional<String> emailAddress

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

String userId

The member's User ID.

PluginsVersionen

Plugin-Version erstellen
BetaPluginVersion beta().organization().plugins().versions().create(params, requestOptions = RequestOptions.none())
POST/v1/organizations/plugins/{plugin_id}/versions

Fügt einem organisationseigenen Plugin eine Version hinzu, indem die Dateien der neuen Version hochgeladen werden; sie wird zur an Mitglieder ausgelieferten Version, sofern die ausgelieferte Version des Plugins nicht fixiert wurde.

Plugin-Versionen auflisten
VersionListPage beta().organization().plugins().versions().list(params = VersionListParams.none(), requestOptions = RequestOptions.none())
GET/v1/organizations/plugins/{plugin_id}/versions

Listet die Versionen eines Plugins auf, die neuesten zuerst.

Plugin-Version abrufen
BetaPluginVersion beta().organization().plugins().versions().retrieve(params, requestOptions = RequestOptions.none())
GET/v1/organizations/plugins/{plugin_id}/versions/{version}

Ruft eine Version eines Plugins anhand ihrer ID oder die neueste Version des Plugins ab.

Archiv einer Plugin-Version herunterladen
HttpResponse beta().organization().plugins().versions().download(params, requestOptions = RequestOptions.none())
GET/v1/organizations/plugins/{plugin_id}/versions/{version}/content

Lädt das .zip-Archiv einer Version genau so herunter, wie es gespeichert ist. Jeder Download eines Plugins aus dem persönlichen Plugin-Marketplace eines Mitglieds wird im Aktivitäts-Feed der Compliance API protokolliert.

Plugin-Installationseinstellungen auflisten
InstallationSettingListPage beta().organization().plugins().installationSettings().list(params = InstallationSettingListParams.none(), requestOptions = RequestOptions.none())
GET/v1/organizations/plugins/{plugin_id}/installation_settings

Listet die Installationseinstellungen eines organisationseigenen Plugins auf, die angeben, für welche Mitglieder es bestimmt ist, die zuletzt erstellten zuerst.

Plugin-Installationseinstellung festlegen
BetaPluginInstallationSetting beta().organization().plugins().installationSettings().set(params, requestOptions = RequestOptions.none())
POST/v1/organizations/plugins/{plugin_id}/installation_settings/{target}

Legt die Installationseinstellung eines organisationseigenen Plugins für die gesamte Organisation oder für eine RBAC-Gruppe fest oder ändert sie.

Plugin-Installationseinstellung entfernen
BetaDeletedPluginInstallationSetting beta().organization().plugins().installationSettings().remove(params, requestOptions = RequestOptions.none())
DELETE/v1/organizations/plugins/{plugin_id}/installation_settings/{target}

Entfernt die eigene Installationseinstellung eines organisationseigenen Plugins für die gesamte Organisation oder für eine RBAC-Gruppe.

PluginsFreigaben

Plugin-Freigaben auflisten
ShareListPage beta().organization().plugins().shares().list(params = ShareListParams.none(), requestOptions = RequestOptions.none())
GET/v1/organizations/plugins/{plugin_id}/shares

Listet die Freigaben auf, die der Eigentümer eines mitgliedseigenen Plugins erteilt hat – für jedes Mitglied der Organisation, für eine RBAC-Gruppe oder für ein einzelnes Mitglied –, die zuletzt erteilten zuerst.