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:pluginsorread:org_auditscope, or a Compliance Access Key with theread:compliance_org_datascope.Every request must include the beta header
anthropic-beta: ce-plugins-2026-09-01. A request without it returns404, 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVersionRetrieveParams.BuilderA builder for VersionRetrieveParams.
-
Method Summary
Modifier and Type Method Description final StringpluginId()ID of the Plugin (prefixed plugin_).final Optional<String>version()ID of the Plugin Version (prefixed pluginver_), orlatestfor the newest one.final Optional<String>organizationId()For a read:org_auditorread:compliance_org_datakey 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 itsorg_-prefixed ID.final Optional<List<AnthropicBeta>>betas()This endpoint is in beta: requests must send ce-plugins-2026-09-01in this header.final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final VersionRetrieveParams.BuildertoBuilder()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. SpanData_spanData()The data for the OpenTelemetry span of a call to the method with these parameters. Booleanequals(Object other)IntegerhashCode()StringtoString()final static VersionRetrieveParams.Builderbuilder()Returns a mutable builder for constructing an instance of VersionRetrieveParams. -
-
Method Detail
-
version
final Optional<String> version()
ID of the Plugin Version (prefixed
pluginver_), orlatestfor the newest one.
-
organizationId
final Optional<String> organizationId()
For a
read:org_auditorread:compliance_org_datakey 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 itsorg_-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 passorganization_id.
-
betas
final Optional<List<AnthropicBeta>> betas()
This endpoint is in beta: requests must send
ce-plugins-2026-09-01in this header.
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final VersionRetrieveParams.Builder toBuilder()
-
_pathParam
final String _pathParam(Integer index)
-
_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.
-
builder
final static VersionRetrieveParams.Builder builder()
Returns a mutable builder for constructing an instance of VersionRetrieveParams.
The following fields are required:
.pluginId()
-
-
-
-