Class BatchResultsParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class BatchResultsParams implements Params
Streams the results of a Message Batch as a
.jsonlfile.Each line in the file is a JSON object containing the result of a single request in the Message Batch. Results are not guaranteed to be in the same order as requests. Use the
custom_idfield to match results to requests.Learn more about the Message Batches API in our /en/docs/build-with-claude/batch-processing
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBatchResultsParams.BuilderA builder for BatchResultsParams.
-
Method Summary
Modifier and Type Method Description final StringmessageBatchId()ID of the Message Batch. final Optional<List<AnthropicBeta>>betas()Optional header to specify the beta version(s) you want to use. final Headers_additionalHeaders()final QueryParams_additionalQueryParams()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. final StringgetPathParam(Integer index)final BatchResultsParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BatchResultsParams.Builderbuilder()Returns a mutable builder for constructing an instance of BatchResultsParams. -
-
Method Detail
-
messageBatchId
final String messageBatchId()
ID of the Message Batch.
-
betas
final Optional<List<AnthropicBeta>> betas()
Optional header to specify the beta version(s) you want to use.
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
_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.
-
getPathParam
final String getPathParam(Integer index)
-
toBuilder
final BatchResultsParams.Builder toBuilder()
-
builder
final static BatchResultsParams.Builder builder()
Returns a mutable builder for constructing an instance of BatchResultsParams.
The following fields are required:
.messageBatchId()
-
-
-
-