Claude Platform Docs

Marketplaces de plugins

Listar marketplaces de plugins
client.Beta.Organization.PluginMarketplaces.List(ctx, params) (*PageCursor[BetaPluginMarketplace], error)
GET/v1/organizations/plugin_marketplaces

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

Obtener marketplace de plugins
client.Beta.Organization.PluginMarketplaces.Get(ctx, marketplaceID, params) (*BetaPluginMarketplace, error)
GET/v1/organizations/plugin_marketplaces/{marketplace_id}

Recupera un marketplace de plugins por ID.

Actualizar marketplace de plugins
client.Beta.Organization.PluginMarketplaces.Update(ctx, marketplaceID, params) (*BetaPluginMarketplace, error)
POST/v1/organizations/plugin_marketplaces/{marketplace_id}

Establece la configuración de instalación predeterminada de uno de los marketplaces de plugins propios de la organización. Cada Plugin que contiene sin configuración propia obtiene este valor predeterminado como su configuración para toda la organización, incluidos los Plugins que se agreguen más adelante.

Validar repositorio de marketplace de plugins
client.Beta.Organization.PluginMarketplaces.ValidateRepository(ctx, params) (*BetaPluginMarketplaceValidationReport, error)
POST/v1/organizations/plugin_marketplaces/validate_repository

Comprueba si un marketplace de plugins alojado en un repositorio público de GitHub se sincronizaría en claude.ai, sin conectarlo ni almacenarlo.

Validar archivo de marketplace de plugins
client.Beta.Organization.PluginMarketplaces.ValidateArchive(ctx, params) (*BetaPluginMarketplaceValidationReport, error)
POST/v1/organizations/plugin_marketplaces/validate_archive

Comprueba si un marketplace de plugins, cargado como un .zip del directorio del marketplace, se sincronizaría en claude.ai, sin conectarlo ni almacenarlo.

Models
type BetaPluginMarketplace struct { Type: "plugin_marketplace"; ID; CreatedAt; /* 7 more */ }
type BetaPluginMarketplaceValidationPluginError struct { Error; ErrorCode; Name }
Error string

Why the plugin would be skipped by a synchronization.

ErrorCode string

A stable identifier for the reason — the value to branch on.

Name string

The plugin's name, as its entry in marketplace.json declares it.

type BetaPluginMarketplaceValidationPluginWarning struct { ErrorCode; Message }
ErrorCode string

A stable identifier for the kind of warning.

Message string

What would be left out, and why.

type BetaPluginMarketplaceValidationPluginWarnings struct { Name; Warnings }
Name string

The plugin's name, as its entry in marketplace.json declares it.

The parts of the plugin a synchronization would leave out.

ErrorCode string

A stable identifier for the kind of warning.

Message string

What would be left out, and why.

type BetaPluginMarketplaceValidationReport struct { Type: "plugin_marketplace_validation_report"; CommitSha; ManifestError; /* 6 more */ }

The outcome of validating plugin marketplace content: a report, not a stored object, so nothing in it can be retrieved afterwards.