Claude Platform Docs

Plugin Marketplaces

List Plugin Marketplaces
client.Beta.Organization.PluginMarketplaces.List(ctx, params) (*PageCursor[BetaPluginMarketplace], error)
GET/v1/organizations/plugin_marketplaces

List the plugin marketplaces Plugins live in, newest first: the organization's own and its members' personal ones.

Get Plugin Marketplace
client.Beta.Organization.PluginMarketplaces.Get(ctx, marketplaceID, params) (*BetaPluginMarketplace, error)
GET/v1/organizations/plugin_marketplaces/{marketplace_id}

Retrieve a plugin marketplace by ID.

Update Plugin Marketplace
client.Beta.Organization.PluginMarketplaces.Update(ctx, marketplaceID, params) (*BetaPluginMarketplace, error)
POST/v1/organizations/plugin_marketplaces/{marketplace_id}

Set the default installation setting of one of the organization's own plugin marketplaces. Every Plugin in it without a setting of its own gets this default as its organization-wide setting, including Plugins added later.

Validate Plugin Marketplace Repository
client.Beta.Organization.PluginMarketplaces.ValidateRepository(ctx, params) (*BetaPluginMarketplaceValidationReport, error)
POST/v1/organizations/plugin_marketplaces/validate_repository

Check whether a plugin marketplace held in a public GitHub repository would synchronize into claude.ai, without connecting or storing it.

Validate Plugin Marketplace Archive
client.Beta.Organization.PluginMarketplaces.ValidateArchive(ctx, params) (*BetaPluginMarketplaceValidationReport, error)
POST/v1/organizations/plugin_marketplaces/validate_archive

Check whether a plugin marketplace, uploaded as a .zip of the marketplace directory, would synchronize into claude.ai, without connecting or storing it.

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.