Interface PluginService
-
- All Implemented Interfaces:
public interface PluginService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePluginService.WithRawResponseA view of PluginService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract PluginService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract PluginServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. PluginListPagelist()Get per-plugin install + invocation usage for a given day, with pagination. abstract PluginListPagelist(PluginListParams params, RequestOptions requestOptions)PluginListPagelist(PluginListParams params)PluginListPagelist(RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract PluginService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract PluginService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
PluginListPage list()
Get per-plugin install + invocation usage for a given day, with pagination.
Returns plugin usage metrics for the organization across Cowork and Claude Code, sorted by plugin name. The
plugin_namevaluethird-partyis an aggregate bucket, not a plugin: it collects plugin activity, from either surface, for which the reporting client did not provide a plugin name — so an organization's own plugins can contribute both to their own named rows and to this bucket. Usegroup_by[]to break usage out per member, per RBAC group, or per product surface (Cowork / Claude Code), andfilter[]to scope results; the parameter descriptions list the supported dimensions. Requires an API key with theread:analyticsscope.starting_date/ending_dateselect range-rollup mode like/skills.
-
list
abstract PluginListPage list(PluginListParams params, RequestOptions requestOptions)
-
list
PluginListPage list(PluginListParams params)
-
list
PluginListPage list(RequestOptions requestOptions)
-
-
-
-