Claude Platform Docs

外掛程式市集

列出外掛程式市集
beta.organization.plugin_marketplaces.list(**kwargs) -> SyncPageCursor[BetaPluginMarketplace]
GET/v1/organizations/plugin_marketplaces

列出 Plugin 所在的外掛程式市集,依最新優先排序:包括組織自有的市集及其成員的個人市集。

取得外掛程式市集
beta.organization.plugin_marketplaces.retrieve(marketplace_id, **kwargs) -> BetaPluginMarketplace
GET/v1/organizations/plugin_marketplaces/{marketplace_id}

依 ID 擷取外掛程式市集。

更新外掛程式市集
beta.organization.plugin_marketplaces.update(marketplace_id, **kwargs) -> BetaPluginMarketplace
POST/v1/organizations/plugin_marketplaces/{marketplace_id}

設定組織自有外掛程式市集之一的預設安裝設定。該市集中每個沒有自身設定的 Plugin(包括之後新增的 Plugin)都會以此預設值作為其全組織設定。

驗證外掛程式市集儲存庫
beta.organization.plugin_marketplaces.validate_repository(**kwargs) -> BetaPluginMarketplaceValidationReport
POST/v1/organizations/plugin_marketplaces/validate_repository

檢查存放於公開 GitHub 儲存庫中的外掛程式市集是否能同步至 claude.ai,而不會連接或儲存該市集。

驗證外掛程式市集封存檔
beta.organization.plugin_marketplaces.validate_archive(**kwargs) -> BetaPluginMarketplaceValidationReport
POST/v1/organizations/plugin_marketplaces/validate_archive

檢查以市集目錄 .zip 形式上傳的外掛程式市集是否能同步至 claude.ai,而不會連接或儲存該市集。

Models
class BetaPluginMarketplace: type: "plugin_marketplace"; id; created_at; ... # 7 more
class BetaPluginMarketplaceValidationPluginError: error; error_code; name
error: str

Why the plugin would be skipped by a synchronization.

error_code: str

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

name: str

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

class BetaPluginMarketplaceValidationPluginWarning: error_code; message
error_code: str

A stable identifier for the kind of warning.

message: str

What would be left out, and why.

class BetaPluginMarketplaceValidationPluginWarnings: name; warnings
name: str

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

The parts of the plugin a synchronization would leave out.

error_code: str

A stable identifier for the kind of warning.

message: str

What would be left out, and why.

class BetaPluginMarketplaceValidationReport: type: "plugin_marketplace_validation_report"; commit_sha; manifest_error; ... # 6 more

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