Claude Platform Docs

Lister les Plugins

$client->beta->organization->plugins->list(?\Datetime createdAtGt, ?\Datetime createdAtGte, ?\Datetime createdAtLt, ?\Datetime createdAtLte, ?int limit, ?string marketplaceID, ?string organizationID, ?OwnerType ownerType, ?string ownerUserID, ?string page, ?list<AnthropicBeta> betas): PageCursor<Plugin>
GET/v1/organizations/plugins
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

Listez les Plugins créés au sein de l'organisation, du plus récent au plus ancien : ceux des marketplaces de plugins de l'organisation et ceux des marketplaces de plugins personnelles des membres.

Les Plugins des marketplaces personnelles des membres sont listés avec le même niveau de détail que ceux de l'organisation, et leurs fichiers peuvent être téléchargés via le point de terminaison d'archive de version, qui enregistre chacun de ces téléchargements dans le flux d'activité de l'API Compliance.

Identifiants acceptés : une clé API Admin avec la portée read:plugins ou read:org_audit, ou une clé d'accès Compliance (Compliance Access Key) avec la portée read:compliance_org_data.

Chaque requête doit inclure l'en-tête bêta anthropic-beta: ce-plugins-2026-09-01. Une requête sans cet en-tête renvoie 404, exactement comme si le point de terminaison n'existait pas. L'API Plugins est en bêta et n'est disponible que pour les organisations Claude Enterprise. Elle n'est pas disponible pour les organisations Claude Platform (Claude Console), ni pour les organisations pour lesquelles la préparation HIPAA est activée.

Parameters
createdAtGt?: optional \Datetime⁠Query parameter

RFC 3339 timestamp bound; combine [gte], [gt], [lte], [lt].

createdAtGte?: optional \Datetime⁠Query parameter

RFC 3339 timestamp bound; combine [gte], [gt], [lte], [lt].

createdAtLt?: optional \Datetime⁠Query parameter

RFC 3339 timestamp bound; combine [gte], [gt], [lte], [lt].

createdAtLte?: optional \Datetime⁠Query parameter

RFC 3339 timestamp bound; combine [gte], [gt], [lte], [lt].

limit?: optional int⁠Query parameter

Number of items to return per page.

Defaults to 20. Ranges from 1 to 100.

default20
marketplaceID?: optional string⁠Query parameter

Only Plugins in this plugin marketplace (prefixed marketplace_).

organizationID?: optional string⁠Query parameter

For a read:org_audit or read:compliance_org_data key created for all of a parent organization's linked organizations: a child organization of that parent to read instead of the organization the key was created in, given as the organization's UUID or its org_-prefixed ID. A value that is neither returns a 400; an organization that is not a child of the key's parent, or where the Plugins API is not available, returns a 404. Any other key may pass only its own organization's ID here; another organization returns a 404.

ownerType?: optional OwnerType⁠Query parameter

organization for Plugins in the organization's plugin marketplaces, user for Plugins in members' personal plugin marketplaces.

ownerUserID?: optional string⁠Query parameter

Only Plugins in this member's personal plugin marketplaces (prefixed user_); a removed member's ID is accepted.

page?: optional string⁠Query parameter

Optionally set to the next_page token from the previous response.

betas?: optional list<AnthropicBeta>⁠Header parameter

This endpoint is in beta: requests must send ce-plugins-2026-09-01 in this header.

Returns
class Plugin { $type = 'plugin'; $id; $components; /* 16 more */ }
Lister les Plugins
<?php

require_once dirname(__DIR__) . '/vendor/autoload.php';

use Anthropic\Client;
use Anthropic\Beta\AnthropicBeta;

$client = new Client(apiKey: 'my-anthropic-api-key');

$page = $client->beta->organization->plugins->list(
  createdAtGt: new \DateTimeImmutable('2019-12-27T18:11:19.117Z'),
  createdAtGte: new \DateTimeImmutable('2019-12-27T18:11:19.117Z'),
  createdAtLt: new \DateTimeImmutable('2019-12-27T18:11:19.117Z'),
  createdAtLte: new \DateTimeImmutable('2019-12-27T18:11:19.117Z'),
  limit: 1,
  marketplaceID: 'marketplace_id',
  organizationID: 'organization_id',
  ownerType: 'organization',
  ownerUserID: 'owner_user_id',
  page: 'page',
  betas: [AnthropicBeta::MESSAGE_BATCHES_2024_09_24],
);

var_dump($page);
Returns Examples
Response 200
{
  "data": [
    {
      "id": "plugin_01JyHfbRkZvD1gW7oTqXc3Ne",
      "components": [
        {
          "description": "description",
          "name": "review-pr",
          "type": "skill"
        }
      ],
      "content_scan": {
        "assessment": "warn",
        "reason": "credential-exposure",
        "status": "completed"
      },
      "created_at": "2026-03-14T09:26:53.589793Z",
      "created_by": {
        "email_address": "user@example.com",
        "type": "user_actor",
        "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
      },
      "description": "Reviews pull requests against your team's conventions.",
      "display_name": "Code Review Helper",
      "latest_version_id": "pluginver_01KaZmQpRsTuVwXyZ2b4c6d8",
      "manifest_version": "1.2.0",
      "marketplace_id": "marketplace_01HxQ3v9KpZ2mTn8RwLc4Ys7",
      "name": "code-review-helper",
      "organization_installation_preference": "available",
      "organization_installation_preference_inherited": true,
      "owner": {
        "type": "organization"
      },
      "reach": "contained",
      "served_version_id": "pluginver_01K9wPcHd4Rm2Tx8Vq6Ln3Sb",
      "served_version_pinned": true,
      "type": "plugin",
      "updated_at": "2026-03-14T09:26:53.589793Z"
    }
  ],
  "next_page": "page_MjAyNi0wOS0xNlQxNDowNTowOVo"
}