Claude Platform Docs

Plugins

Crear plugin
$ ant beta:organization:plugins create
POST/v1/organizations/plugins
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Crea un plugin propiedad de la organización y su primera versión cargando los archivos de la versión.

Obtener plugin
$ ant beta:organization:plugins retrieve
GET/v1/organizations/plugins/{plugin_id}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Recupera un plugin por ID.

Actualizar plugin
$ ant beta:organization:plugins update
POST/v1/organizations/plugins/{plugin_id}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Cambia qué versión almacenada de un Plugin propiedad de la organización se sirve a los miembros, por ejemplo, para revertir a una anterior. Esto fija la versión servida: las cargas posteriores a través de esta API se almacenan, pero ya no cambian lo que se sirve, y actualmente la fijación no se puede deshacer, ni aquí ni en claude.ai.

Listar Plugins
$ ant beta:organization:plugins list
GET/v1/organizations/plugins
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Lista los Plugins creados en la organización, del más reciente al más antiguo: los de los marketplaces de plugins propios de la organización y los de los marketplaces de plugins personales de los miembros.

Eliminar Plugin
$ ant beta:organization:plugins delete
DELETE/v1/organizations/plugins/{plugin_id}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Elimina permanentemente un Plugin y todas las versiones que contiene, exactamente como cuando un administrador lo elimina en claude.ai. El Plugin puede pertenecer a la organización o a un miembro, incluido un miembro que ya haya dejado la organización. No elimines un Plugin solo porque tu pipeline no lo creó: un miembro o un administrador podría haberlo agregado en claude.ai.

Models
beta_deleted_plugin: object{ type: "plugin_deleted", id }
type: "plugin_deleted"

Always plugin_deleted.

id: string

The deleted Plugin's ID.

beta_plugin: object{ type: "plugin", id, components, 16 more }
beta_plugin_api_actor: object{ type: "api_actor", api_key_id }
type: "api_actor"

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

api_key_id: string

The key's ID.

beta_plugin_component: object{ type, description, name }
type: "agent" or "cli" or "command" or 3 more

The kind of component.

One of the following:
"agent"
"cli"
"command"
"hook"
"mcp_server"
"skill"
description: string

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

name: string

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.

beta_plugin_content_scan: object{ assessment, reason, status }
assessment: "fail" or "pass" or "unknown" or "warn"

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"
"pass"
"unknown"
"warn"
reason: string

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. Read status first: on an errored scan it is not a finding but why there is no verdict: scan-invalid-archive, the scan refused the version's archive, or could not process it, before checking what its files say, and running it again will not help, so change the files and store a new version; scan-did-not-finish, the scan did not finish or its result is no longer available, so retry the scan in claude.ai if it offers a retry; scan-unavailable, the scan could not run or its result cannot be read right now, so read the version again later, then retry the scan in claude.ai if it offers a retry. If these steps do not help, contact support. Null on a pass, while a scan runs, and when no mechanism is reported for the verdict. On an errored scan, null means that a compliance configuration ruled out the scan.

status: "completed" or "errored" or "processing"

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"
"errored"
"processing"
beta_plugin_name_taken_error_details: object{ error_code, plugin_id }
error_code: "plugin_name_taken"
plugin_id: optional string
beta_plugin_owner_organization: object{ type: "organization" }
type: "organization"

The Plugin lives in a plugin marketplace the organization owns.

beta_plugin_owner_user: object{ type: "user", user_id }
type: "user"

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

user_id: string

The member's User ID.

beta_plugin_target_organization: object{ type: "organization" }
type: "organization"

Every member of the organization.

beta_plugin_target_organization_member: object{ type: "organization_member", user_id }
type: "organization_member"

One member of the organization.

user_id: string

The member's User ID.

beta_plugin_target_rbac_group: object{ type: "rbac_group", rbac_group_id }
type: "rbac_group"

An RBAC Group.

rbac_group_id: string

The RBAC Group's ID.

beta_plugin_user_actor: object{ type: "user_actor", email_address, user_id }
type: "user_actor"

A member of the organization.

email_address: string

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

user_id: string

The member's User ID.

beta_registration_pending_error_details: object{ error_code, plugin_id, plugin_version_id }
error_code: "registration_pending"
plugin_id: string
plugin_version_id: string
beta_scan_failed_error_details: object{ error_code, plugin_version_id }
error_code: "scan_failed"
plugin_version_id: string
beta_scan_pending_error_details: object{ error_code, plugin_version_id }
error_code: "scan_pending"
plugin_version_id: string
beta_skill_name_taken_error_details: object{ error_code, skill_name }
error_code: "skill_name_taken"
skill_name: string
Errors
"scan_failed"⁠HTTP status 400

The version in plugin_version_id did not pass its content scan, so it cannot be served.

details: object{ error_code, plugin_version_id }
error_code: "scan_failed"
plugin_version_id: string
"plugin_name_taken"⁠HTTP status 409

The marketplace already holds this name. plugin_id is the Plugin that holds it, and can be absent.

details: object{ error_code, plugin_id }
error_code: "plugin_name_taken"
plugin_id: optional string
"scan_pending"⁠HTTP status 409

The content scan of the version in plugin_version_id is still running. Retry once the scan finishes.

details: object{ error_code, plugin_version_id }
error_code: "scan_pending"
plugin_version_id: string
"skill_name_taken"⁠HTTP status 409

One of the Plugin's skills has the name of an organization skill. skill_name is that name.

details: object{ error_code, skill_name }
error_code: "skill_name_taken"
skill_name: string
"registration_pending"⁠HTTP status 503

The Plugin version was stored but is not yet usable in claude.ai. plugin_id and plugin_version_id identify what was stored.

details: object{ error_code, plugin_id, plugin_version_id }
error_code: "registration_pending"
plugin_id: string
plugin_version_id: string

PluginsVersiones

Crear versión de Plugin
$ ant beta:organization:plugins:versions create
POST/v1/organizations/plugins/{plugin_id}/versions
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Agrega una versión a un Plugin propiedad de la organización cargando los archivos de la nueva versión; se convierte en la versión que se sirve a los miembros, a menos que la versión servida del Plugin se haya fijado.

Listar versiones de Plugin
$ ant beta:organization:plugins:versions list
GET/v1/organizations/plugins/{plugin_id}/versions
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Lista las versiones de un Plugin, de la más reciente a la más antigua.

Obtener versión de Plugin
$ ant beta:organization:plugins:versions retrieve
GET/v1/organizations/plugins/{plugin_id}/versions/{version}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Recupera una versión de un Plugin por su ID, o la versión más reciente del Plugin.

Descargar archivo de versión de Plugin
$ ant beta:organization:plugins:versions download
GET/v1/organizations/plugins/{plugin_id}/versions/{version}/content
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Descarga el archivo .zip de una versión, exactamente como está almacenado. Las descargas de Plugins de los marketplaces de plugins personales de los miembros se pueden registrar en el feed de actividad de la Compliance API.

Listar configuraciones de instalación de Plugin
$ ant beta:organization:plugins:installation-settings list
GET/v1/organizations/plugins/{plugin_id}/installation_settings
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Lista las configuraciones de instalación de un Plugin propiedad de la organización, que indican para qué miembros es, de la creada más recientemente a la más antigua.

Establecer configuración de instalación de Plugin
$ ant beta:organization:plugins:installation-settings set
POST/v1/organizations/plugins/{plugin_id}/installation_settings/{target}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Establece o cambia la configuración de instalación de un Plugin propiedad de la organización para toda la organización o para un grupo RBAC.

Eliminar configuración de instalación de Plugin
$ ant beta:organization:plugins:installation-settings remove
DELETE/v1/organizations/plugins/{plugin_id}/installation_settings/{target}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Elimina la configuración de instalación propia de un Plugin propiedad de la organización para toda la organización o para un grupo RBAC.

PluginsComparticiones

Listar comparticiones de Plugin
$ ant beta:organization:plugins:shares list
GET/v1/organizations/plugins/{plugin_id}/shares
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Lista las comparticiones que ha otorgado el propietario de un Plugin propiedad de un miembro (a todos los miembros de la organización, a un grupo RBAC o a un miembro), de la otorgada más recientemente a la más antigua.