Class VersionDownloadParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class VersionDownloadParams implements Params
Download one version's
.ziparchive, exactly as stored. Each download of a Plugin from a member's personal plugin marketplace is recorded on the Compliance API activity feed.The response body is the archive (
Content-Type: application/zip), sent as an attachment whose filename is derived from the Plugin's name; name saved files from the IDs in the request path, since that filename is not unique.Accepted credentials: an Admin API key with the
read:pluginsorread:org_auditscope, or a Compliance Access Key with theread:compliance_org_datascope.Every read scope above (
read:plugins,read:org_audit, andread:compliance_org_data) can download the files of plugins in members' personal marketplaces, including files that claude.ai's admin settings do not show, and aread:org_auditorread:compliance_org_datakey created for all of your parent organization's linked organizations can do this in any organization under it that has access to this API, by passingorganization_id. Each such download records aclaude_plugin_archive_accessedevent on the Compliance API activity feed, identifying the key, the plugin, the version, and the member. Downloads of organization-owned plugins are not recorded.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 classVersionDownloadParams.BuilderA builder for VersionDownloadParams.
-
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_).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 VersionDownloadParams.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 VersionDownloadParams.Builderbuilder()Returns a mutable builder for constructing an instance of VersionDownloadParams. -
-
Method Detail
-
version
final Optional<String> version()
ID of the Plugin Version (prefixed
pluginver_).latestis not accepted here.
-
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 VersionDownloadParams.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 VersionDownloadParams.Builder builder()
Returns a mutable builder for constructing an instance of VersionDownloadParams.
The following fields are required:
.pluginId()
-
-
-
-