Class SpendLimitListParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class SpendLimitListParams implements Params
List the organization's spend limits.
A Claude Console organization's limits, including any read-only
usage_tierlimit, come newest first. Listing them is in an early access preview. To request access, contact your Anthropic account team. A Claude Enterprise organization's limits are grouped by scope type, in the orderorganization,seat_tier,rbac_group,organization_service,user; within a type they come in a fixed order that is not creation order.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSpendLimitListParams.BuilderA builder for SpendLimitListParams.
public final classSpendLimitListParams.ScopeType
-
Method Summary
Modifier and Type Method Description final Optional<Long>limit()Maximum number of limits per page. final Optional<String>page()Opaque cursor from a previous response's next_pagefield.final Optional<List<SpendLimitListParams.ScopeType>>scopeType()Return only limits with these scope types. final Optional<String>workspaceId()Return only the limits whose scope.workspace_idis this workspace (wrkspc_...).final Optional<List<AnthropicBeta>>betas()This endpoint is in beta: requests must send spend-limit-reads-2026-09-26in this header.final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final SpendLimitListParams.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 SpendLimitListParamsnone()final static SpendLimitListParams.Builderbuilder()Returns a mutable builder for constructing an instance of SpendLimitListParams. -
-
Method Detail
-
scopeType
final Optional<List<SpendLimitListParams.ScopeType>> scopeType()
Return only limits with these scope types. Omit for all. A scope type that doesn't apply to the organization gets a 400 error.
-
workspaceId
final Optional<String> workspaceId()
Return only the limits whose
scope.workspace_idis this workspace (wrkspc_...). Claude Console organizations only; other organizations get a 400 error.
-
betas
final Optional<List<AnthropicBeta>> betas()
This endpoint is in beta: requests must send
spend-limit-reads-2026-09-26in 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 SpendLimitListParams.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 SpendLimitListParams none()
-
builder
final static SpendLimitListParams.Builder builder()
Returns a mutable builder for constructing an instance of SpendLimitListParams.
-
-
-
-