Interface PluginServiceAsync
-
- All Implemented Interfaces:
public interface PluginServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePluginServiceAsync.WithRawResponseA view of PluginServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract PluginServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract PluginServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<PluginListPageAsync>list()Get per-plugin install + invocation usage for a given day, with pagination. abstract CompletableFuture<PluginListPageAsync>list(PluginListParams params, RequestOptions requestOptions)CompletableFuture<PluginListPageAsync>list(PluginListParams params)CompletableFuture<PluginListPageAsync>list(RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract PluginServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract PluginServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
CompletableFuture<PluginListPageAsync> 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 CompletableFuture<PluginListPageAsync> list(PluginListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<PluginListPageAsync> list(PluginListParams params)
-
list
CompletableFuture<PluginListPageAsync> list(RequestOptions requestOptions)
-
-
-
-