text, tabular, image, audio,
or metadata — which determines how it is analyzed and which redaction
operators apply.
Formats
- Text
- Tabular
- Image
- Audio
Filtering by extension expands to the whole format’s extension set — passing
jpg also matches jpeg, and tif also matches tiff.metadata event on its audit trail — so a photo’s GPS coordinates or a Word
file’s author are findings like any other.
Container Formats
Formats likedocx and xlsx are containers: they hold parts that may have
their own modality. An image embedded in a Word document is analyzed as an
image, in its own right.
The detection’s analysis reflects this. The audit’s report carries a list of
parts, each tagged by modality and identified by an id — a path of one or
more segments naming where the part sits inside the document:
id segment is its zip entry name.
This is why one document can produce both text and image findings from a
single detection, each redacted with operators appropriate to its modality.
OCR
Scanned documents have no selectable text layer and must be rendered to images before recognition. This is a codec setting, carried on the detection’s audit ascodec.rasterMode:
always is for documents whose text layer is missing, garbled, or a
watermark. Under auto, the text-layer-versus-scanned decision defers to the
text path today; per-page rendering of scanned pages lands with OCR.Filtering Documents
List endpoints filter by format, modality, name, or content hash:Document Roles
Each document records the role it plays, which drives retention:
Machine byproducts — detection audits, review audits, and enrichment
intermediates — are not documents. They are reached through their own
endpoints and never appear in a document listing.
A redacted output is reached from the redaction that produced it, through its
outputDocumentId, so the original is never overwritten.
Next Steps
Redaction Workflow
How modality drives redaction
API Reference
Document endpoints and filters