Claude Platform Docs

插件市场

列出插件市场
PluginMarketplaceListPage Beta.Organization.PluginMarketplaces.List(parameters, cancellationToken = default)
GET/v1/organizations/plugin_marketplaces
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

列出插件所在的插件市场,按从新到旧排序:包括组织自有的市场及其成员的个人市场。

获取插件市场
BetaPluginMarketplace Beta.Organization.PluginMarketplaces.Retrieve(parameters, cancellationToken = default)
GET/v1/organizations/plugin_marketplaces/{marketplace_id}
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

按 ID 检索插件市场。

更新插件市场
BetaPluginMarketplace Beta.Organization.PluginMarketplaces.Update(parameters, cancellationToken = default)
POST/v1/organizations/plugin_marketplaces/{marketplace_id}
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

设置组织自有插件市场之一的默认安装设置。该市场中所有没有自身设置的插件(包括之后添加的插件)都会将此默认值作为其组织范围设置。

验证插件市场代码仓库
BetaPluginMarketplaceValidationReport Beta.Organization.PluginMarketplaces.ValidateRepository(parameters, cancellationToken = default)
POST/v1/organizations/plugin_marketplaces/validate_repository
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

检查存放在公共 GitHub 代码仓库中的插件市场能否同步到 claude.ai,而不会连接或存储该市场。

验证插件市场归档
BetaPluginMarketplaceValidationReport Beta.Organization.PluginMarketplaces.ValidateArchive(parameters, cancellationToken = default)
POST/v1/organizations/plugin_marketplaces/validate_archive
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

检查以市场目录 .zip 文件形式上传的插件市场能否同步到 claude.ai,而不会连接或存储该市场。

Models
class BetaPluginMarketplace { Type = "plugin_marketplace"; ID; CreatedAt; /* 7 more */ }
class BetaPluginMarketplaceValidationPluginError { Error; ErrorCode; Name; }
required string Error

Why the plugin would be skipped by a synchronization.

required string ErrorCode

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

required string Name

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

class BetaPluginMarketplaceValidationPluginWarning { ErrorCode; Message; }
required string ErrorCode

A stable identifier for the kind of warning.

required string Message

What would be left out, and why.

class BetaPluginMarketplaceValidationPluginWarnings { Name; Warnings; }
required string Name

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

required IReadOnlyList<BetaPluginMarketplaceValidationPluginWarning> Warnings

The parts of the plugin a synchronization would leave out.

required string ErrorCode

A stable identifier for the kind of warning.

required string Message

What would be left out, and why.

class BetaPluginMarketplaceValidationReport { 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.