Interface IncreaseRequestService
-
- All Implemented Interfaces:
public interface IncreaseRequestService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceIncreaseRequestService.WithRawResponseA view of IncreaseRequestService that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract IncreaseRequestService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract IncreaseRequestService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
BetaSpendLimitIncreaseRequest retrieve(String spendLimitIncreaseRequestId)
Retrieve a spend limit increase request.
While
pending, the response includes a livespend_summaryfor the requester at the request's period.
-
retrieve
BetaSpendLimitIncreaseRequest retrieve(String spendLimitIncreaseRequestId, IncreaseRequestRetrieveParams params, RequestOptions requestOptions)
-
retrieve
BetaSpendLimitIncreaseRequest retrieve(String spendLimitIncreaseRequestId, IncreaseRequestRetrieveParams params)
-
retrieve
abstract BetaSpendLimitIncreaseRequest retrieve(IncreaseRequestRetrieveParams params, RequestOptions requestOptions)
-
retrieve
BetaSpendLimitIncreaseRequest retrieve(IncreaseRequestRetrieveParams params)
-
retrieve
BetaSpendLimitIncreaseRequest retrieve(String spendLimitIncreaseRequestId, RequestOptions requestOptions)
-
list
IncreaseRequestListPage list()
List spend limit increase requests, most recent first.
Pending requests include a live
spend_summaryfor the requester. Requests whose requester is no longer a member are excluded.
-
list
abstract IncreaseRequestListPage list(IncreaseRequestListParams params, RequestOptions requestOptions)
-
list
IncreaseRequestListPage list(IncreaseRequestListParams params)
-
list
IncreaseRequestListPage list(RequestOptions requestOptions)
-
approve
IncreaseRequestApproveResponse approve(String spendLimitIncreaseRequestId, IncreaseRequestApproveParams params)
Approve a pending spend limit increase request.
Writes a per-user spend limit at
amountfor the requester and transitions the request toapproved.perioddefaults to the period the member was blocked on. Anthropic emails the requester unlesssuppress_notificationis set.
-
approve
IncreaseRequestApproveResponse approve(String spendLimitIncreaseRequestId, IncreaseRequestApproveParams params, RequestOptions requestOptions)
-
approve
IncreaseRequestApproveResponse approve(IncreaseRequestApproveParams params)
-
approve
abstract IncreaseRequestApproveResponse approve(IncreaseRequestApproveParams params, RequestOptions requestOptions)
-
deny
BetaSpendLimitIncreaseRequest deny(String spendLimitIncreaseRequestId)
Deny a pending spend limit increase request.
Idempotent on
denied; denying an already-approvedrequest returnsAnthropic emails the requester unless
suppress_notificationis set.
-
deny
BetaSpendLimitIncreaseRequest deny(String spendLimitIncreaseRequestId, IncreaseRequestDenyParams params, RequestOptions requestOptions)
-
deny
BetaSpendLimitIncreaseRequest deny(String spendLimitIncreaseRequestId, IncreaseRequestDenyParams params)
-
deny
abstract BetaSpendLimitIncreaseRequest deny(IncreaseRequestDenyParams params, RequestOptions requestOptions)
-
deny
BetaSpendLimitIncreaseRequest deny(IncreaseRequestDenyParams params)
-
deny
BetaSpendLimitIncreaseRequest deny(String spendLimitIncreaseRequestId, RequestOptions requestOptions)
-
-
-
-