Class BatchConvertDocumentRequest
java.lang.Object
ai.docling.serve.api.convert.request.BatchConvertDocumentRequest
Represents a request to batch convert document sources. The batch endpoint processes multiple
documents asynchronously and returns a task ID for tracking progress. Sources can be HTTP URLs
or S3 buckets, and results are delivered to a presigned URL or S3 target.
This class is serialized into JSON to conform to the API specification using
JsonProperty annotations. Fields with null values or empty collections
are omitted from the serialized JSON using JsonInclude.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for creatingBatchConvertDocumentRequestinstances. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull BatchConvertDocumentRequest.Builderbuilder()Webhook callbacks for receiving progress notifications during batch processing.@NonNull ConvertDocumentOptionsOptions controlling the document conversion process.List of document sources to be converted.@NonNull TargetTarget specification for where the converted documents should be delivered.@NonNull BatchConvertDocumentRequest.Builder@NonNull StringtoString()
-
Method Details
-
builder
-
toBuilder
-
getSources
List of document sources to be converted. Each source can be an HTTP URL or S3 reference.- Returns:
- the list of document sources
-
getTarget
Target specification for where the converted documents should be delivered. Must be either aPresignedUrlTargetorS3Target.- Returns:
- the output target
-
getOptions
Options controlling the document conversion process. Includes settings for OCR, output formats, processing pipelines, and more.- Returns:
- the conversion options
-
getCallbacks
Webhook callbacks for receiving progress notifications during batch processing.- Returns:
- the list of callback specifications
-
toString
-