Class DocumentArtifactItem
java.lang.Object
ai.docling.serve.api.convert.response.DocumentArtifactItem
Represents the conversion outcome and artifact references for a single source document.
Serialization uses JsonInclude.Include.NON_EMPTY, so nulls and empty
collections are omitted from JSON output.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for creatingDocumentArtifactIteminstances. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull DocumentArtifactItem.Builderbuilder()Presigned URLs for each requested output format.Errors encountered while converting this document.@NonNull StringFilename used as the stem of each output artifact.Zero-based index of the source document within the originating task.@NonNull StringCanonical identifier of the source document.@NonNull ConversionStatusTerminal conversion outcome for this document.Per-stage timing breakdown keyed by stage name.@NonNull DocumentArtifactItem.Builder@NonNull StringtoString()
-
Method Details
-
builder
-
toBuilder
-
getSourceIndex
Zero-based index of the source document within the originating task.- Returns:
- the source index
-
getSourceUri
Canonical identifier of the source document.- Returns:
- the source URI
-
getFilename
Filename used as the stem of each output artifact.- Returns:
- the source filename
-
getStatus
Terminal conversion outcome for this document.- Returns:
- the conversion status
-
getErrors
Errors encountered while converting this document.- Returns:
- the list of errors
-
getTimings
Per-stage timing breakdown keyed by stage name.- Returns:
- the timings map
-
getArtifacts
Presigned URLs for each requested output format.- Returns:
- the list of artifact references
-
toString
-