Class EffectiveListParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class EffectiveListParams implements Params
List each member's effective spend limit and period-to-date spend.
Returns one row per (member, period) the member resolves a spend limit for, with the
sourcescope the spend limit was inherited from. Paginates by member, so a member's periods never split across pages. Supported for Claude Enterprise organizations only, not for Claude Console organizations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEffectiveListParams.BuilderA builder for EffectiveListParams.
-
Method Summary
Modifier and Type Method Description final Optional<Long>limit()Maximum number of members per page. final Optional<String>page()Opaque cursor from a previous response's next_pagefield.final Optional<List<BetaSpendLimitPeriod>>period()Restrict the report to these limit periods. final Optional<List<String>>userIds()Restrict the report to these members, by tagged user ID ( user_...).final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final EffectiveListParams.BuildertoBuilder()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 EffectiveListParamsnone()final static EffectiveListParams.Builderbuilder()Returns a mutable builder for constructing an instance of EffectiveListParams. -
-
Method Detail
-
limit
final Optional<Long> limit()
Maximum number of members per page. A member's period rows never split across pages, so a page may carry more rows than this. Defaults to
20.
-
period
final Optional<List<BetaSpendLimitPeriod>> period()
Restrict the report to these limit periods. Omit to return one row per period each member resolves a spend limit for.
-
userIds
final Optional<List<String>> userIds()
Restrict the report to these members, by tagged user ID (
user_...). At most 100 entries.
-
_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 EffectiveListParams.Builder toBuilder()
-
_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 EffectiveListParams none()
-
builder
final static EffectiveListParams.Builder builder()
Returns a mutable builder for constructing an instance of EffectiveListParams.
-
-
-
-