Class BatchServiceImpl
-
- All Implemented Interfaces:
-
com.anthropic.services.blocking.messages.BatchService
public final class BatchServiceImpl implements BatchService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBatchServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description BatchService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. MessageBatchcreate(BatchCreateParams params, RequestOptions requestOptions)MessageBatchretrieve(BatchRetrieveParams params, RequestOptions requestOptions)BatchListPagelist(BatchListParams params, RequestOptions requestOptions)DeletedMessageBatchdelete(BatchDeleteParams params, RequestOptions requestOptions)MessageBatchcancel(BatchCancelParams params, RequestOptions requestOptions)StreamResponse<MessageBatchIndividualResponse>resultsStreaming(BatchResultsParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
BatchService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
MessageBatch create(BatchCreateParams params, RequestOptions requestOptions)
-
retrieve
MessageBatch retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
-
list
BatchListPage list(BatchListParams params, RequestOptions requestOptions)
-
delete
DeletedMessageBatch delete(BatchDeleteParams params, RequestOptions requestOptions)
-
cancel
MessageBatch cancel(BatchCancelParams params, RequestOptions requestOptions)
-
resultsStreaming
StreamResponse<MessageBatchIndividualResponse> resultsStreaming(BatchResultsParams params, RequestOptions requestOptions)
-
-
-
-