Class VersionRetrieveParams

  • All Implemented Interfaces:
    com.anthropic.core.Params

    
    public final class VersionRetrieveParams
     implements Params
                        

    Retrieve one version of a Plugin by its ID, or the Plugin's newest version.

    Accepted credentials: an Admin API key with the read:plugins or read:org_audit scope, or a Compliance Access Key with the read:compliance_org_data scope.

    Every request must include the beta header anthropic-beta: ce-plugins-2026-09-01. A request without it returns 404, exactly as if the endpoint did not exist. The Plugins API is in beta and is available to Claude Enterprise organizations only. It is not available to Claude Platform (Claude Console) organizations, or to organizations with HIPAA readiness enabled.

    • Constructor Detail

    • Method Detail

      • pluginId

         final String pluginId()

        ID of the Plugin (prefixed plugin_).

      • version

         final Optional<String> version()

        ID of the Plugin Version (prefixed pluginver_), or latest for the newest one.

      • organizationId

         final Optional<String> organizationId()

        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. A key with no organization of its own must always pass organization_id.

      • _headers

         Headers _headers()

        The full set of headers in the parameters, including both fixed and additional headers.

      • _queryParams

         QueryParams _queryParams()

        The full set of query params in the parameters, including both fixed and additional query params.

      • _spanData

         SpanData _spanData()

        The data for the OpenTelemetry span of a call to the method with these parameters.