列出插件市场
GET/v1/organizations/plugin_marketplaces
列出插件所在的插件市场,按从新到旧排序:包括组织自有的市场及其成员的个人市场。
插件市场在 claude.ai 中创建、连接到代码仓库和删除,而不是通过此 API。组织的库市场(即未指定市场时上传内容所进入的组织所有 manual 市场)会在首次放入内容时创建,此后便会被列出。
接受的凭据:具有 read:plugins 或 read:org_audit 作用域的 Admin API 密钥,或具有 read:compliance_org_data 作用域的 Compliance Access Key。
每个请求都必须包含 beta 标头 anthropic-beta: ce-plugins-2026-09-01。缺少该标头的请求将返回 404,与端点不存在时完全相同。Plugins API 目前处于 beta 阶段,仅适用于 Claude Enterprise 组织。Claude Platform(Claude Console)组织以及启用了 HIPAA 就绪功能的组织无法使用。
Parameters
Returns
列出插件市场
package com.anthropic.example;
import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.models.beta.organization.pluginmarketplaces.PluginMarketplaceListPage;
import com.anthropic.models.beta.organization.pluginmarketplaces.PluginMarketplaceListParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
AnthropicClient client = AnthropicOkHttpClient.fromEnv();
PluginMarketplaceListPage page = client.beta().organization().pluginMarketplaces().list();
}
}Response 200
{
"data": [
{
"id": "marketplace_01HxQ3v9KpZ2mTn8RwLc4Ys7",
"created_at": "2026-03-14T09:26:53.589793Z",
"default_installation_preference": "available",
"last_sync_ended_at": "2026-03-14T09:26:53.589793Z",
"last_sync_read_sha": "9fceb02d0ae598e95dc970b74767f19372d61af8",
"name": "engineering-tools",
"owner": {
"type": "organization"
},
"source": "github",
"sync_status": "success",
"type": "plugin_marketplace"
}
],
"next_page": "page_MjAyNi0wOS0xNlQxNDowNTowOVo"
}Returns Examples
Response 200
{
"data": [
{
"id": "marketplace_01HxQ3v9KpZ2mTn8RwLc4Ys7",
"created_at": "2026-03-14T09:26:53.589793Z",
"default_installation_preference": "available",
"last_sync_ended_at": "2026-03-14T09:26:53.589793Z",
"last_sync_read_sha": "9fceb02d0ae598e95dc970b74767f19372d61af8",
"name": "engineering-tools",
"owner": {
"type": "organization"
},
"source": "github",
"sync_status": "success",
"type": "plugin_marketplace"
}
],
"next_page": "page_MjAyNi0wOS0xNlQxNDowNTowOVo"
}