Skip to main content
Native files are binary documents (PDFs, images, Word files, etc.) embedded within a KDDB document. The kdx document natives commands let you list and extract these files.

Commands

List Native Files

View all native files embedded in a document:
Example:
If no native files are found:

Extract Native Files

Extract a native file to disk:
Flags: Examples:
Output:

Output Formats

Use the global -o flag for different output formats:
JSON output example:

Use Cases

Extract All Files

Extract all native files from a document:

Verify Original Document

Check if the original source file is preserved:

Batch Processing

Extract specific file types across multiple documents:

Common MIME Types

Notes

Native files are stored compressed (gzip) within the KDDB file. The extract command automatically decompresses the data when writing to disk.
Not all KDDB documents contain native files. Documents created from text input or API responses may not have embedded originals.

SDK: Native Documents

Work with native documents programmatically

Document Overview

Back to document commands overview