Class BatchListParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class BatchListParams implements Params
List all Message Batches within a Workspace. Most recently created batches are returned first.
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 classBatchListParams.BuilderA builder for BatchListParams.
-
Method Summary
Modifier and Type Method Description final Optional<String>afterId()ID of the object to use as a cursor for pagination. final Optional<String>beforeId()ID of the object to use as a cursor for pagination. final Optional<Long>limit()Number of items to return per page. 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 BatchListParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BatchListParamsnone()final static BatchListParams.Builderbuilder()Returns a mutable builder for constructing an instance of BatchListParams. -
-
Method Detail
-
afterId
final Optional<String> afterId()
ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object.
-
beforeId
final Optional<String> beforeId()
ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object.
-
limit
final Optional<Long> limit()
Number of items to return per page.
Defaults to
20. Ranges from1to1000.
-
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.
-
toBuilder
final BatchListParams.Builder toBuilder()
-
none
final static BatchListParams none()
-
builder
final static BatchListParams.Builder builder()
Returns a mutable builder for constructing an instance of BatchListParams.
-
-
-
-