Class PluginMarketplaceValidateArchiveParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class PluginMarketplaceValidateArchiveParams implements Params
Check whether a plugin marketplace, uploaded as a
.zipof the marketplace directory, would synchronize into claude.ai, without connecting or storing it.To check a public GitHub repository instead, use Validate Plugin Marketplace Repository.
The report says whether
marketplace.jsonis well-formed, which plugins a synchronization would skip and why, and which plugins would synchronize only in part, with some files left out. An archive that cannot be read as a marketplace is reported, not refused: the response is a report withvalid: false. Plugin sources outside the marketplace are fetched anonymously from GitHub, so a private one is reported as not found or as needing a GitHub sign-in; a source on any other host is not fetched here, and the report notes that it will be checked when the marketplace actually synchronizes.Nothing is recorded on the Compliance API activity feed.
For a worked example, see /docs/en/manage-claude/plugins-api#validate-marketplace-content in the Plugins API guide.
Accepted credentials: an Admin API key with the
read:pluginsorwrite:pluginsscope;read:org_auditandread:compliance_org_datado not grant it.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 classPluginMarketplaceValidateArchiveParams.BuilderA builder for PluginMarketplaceValidateArchiveParams.
public final classPluginMarketplaceValidateArchiveParams.Body
-
Method Summary
Modifier and Type Method Description final Optional<List<AnthropicBeta>>betas()This endpoint is in beta: requests must send ce-plugins-2026-09-01in this header.final InputStreamarchive()A .zip of the marketplace directory (its contents at the root, or wrapped in one folder as a Git host's download produces), sent as a file part with a filename; DEFLATE- or STORE-compressed, at most 32 MB. final MultipartField<InputStream>_archive()Returns the raw multipart value of archive. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final PluginMarketplaceValidateArchiveParams.BuildertoBuilder()final Map<String, MultipartField<?>>_body()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 PluginMarketplaceValidateArchiveParams.Builderbuilder()Returns a mutable builder for constructing an instance of PluginMarketplaceValidateArchiveParams. -
-
Method Detail
-
betas
final Optional<List<AnthropicBeta>> betas()
This endpoint is in beta: requests must send
ce-plugins-2026-09-01in this header.
-
archive
final InputStream archive()
A .zip of the marketplace directory (its contents at the root, or wrapped in one folder as a Git host's download produces), sent as a file part with a filename; DEFLATE- or STORE-compressed, at most 32 MB. A part sent without a filename, a second archive part, or any other form field is a 400; a larger archive is a 413.
-
_archive
final MultipartField<InputStream> _archive()
Returns the raw multipart value of archive.
Unlike archive, this method doesn't throw if the multipart field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_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 PluginMarketplaceValidateArchiveParams.Builder toBuilder()
-
_body
final Map<String, MultipartField<?>> _body()
-
_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 PluginMarketplaceValidateArchiveParams.Builder builder()
Returns a mutable builder for constructing an instance of PluginMarketplaceValidateArchiveParams.
The following fields are required:
.archive()
-
-
-
-