Class ShareListParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class ShareListParams implements Params
List the shares the owner of a member-owned Plugin has given — to every member of the organization, to an RBAC Group, or to one member — most recently granted first.
Shares are read-only in this API: members give and withdraw them in claude.ai, and who gave a share is recorded on the Compliance API activity feed rather than on the share. An organization-owned Plugin has installation settings instead, so this path returns 404 for one.
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 classShareListParams.BuilderA builder for ShareListParams.
public final classShareListParams.TargetTypeOnly shares with this kind of target:
organization(every member),rbac_group(one RBAC Group), ororganization_member(one member).
-
Method Summary
Modifier and Type Method Description final Optional<String>pluginId()ID of the Plugin (prefixed plugin_).final Optional<Long>limit()Number of items to return per page. 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<String>page()Optionally set to the next_pagetoken from the previous response.final Optional<ShareListParams.TargetType>targetType()Only shares with this kind of target: organization(every member),rbac_group(one RBAC Group), ororganization_member(one member).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 ShareListParams.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 ShareListParamsnone()final static ShareListParams.Builderbuilder()Returns a mutable builder for constructing an instance of ShareListParams. -
-
Method Detail
-
limit
final Optional<Long> limit()
Number of items to return per page.
Defaults to
20. Ranges from1to100.
-
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.
-
page
final Optional<String> page()
Optionally set to the
next_pagetoken from the previous response.
-
targetType
final Optional<ShareListParams.TargetType> targetType()
Only shares with this kind of target:
organization(every member),rbac_group(one RBAC Group), ororganization_member(one member).
-
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 ShareListParams.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.
-
none
final static ShareListParams none()
-
builder
final static ShareListParams.Builder builder()
Returns a mutable builder for constructing an instance of ShareListParams.
-
-
-
-