Commands
Get Metadata
Retrieve all document metadata or a specific key:Set Metadata
Set or update a metadata key:Standard Metadata Fields
KDDB documents typically include these standard metadata fields:Output Formats
Use the global-o flag for different output formats:
Use Cases
Document Identification
Get the unique identifier for a document:Update Custom Properties
Add custom metadata for tracking:Batch Metadata Updates
Update metadata across multiple documents:Scripting Integration
Use metadata in automated workflows:Export Metadata
Export metadata for documentation or reporting:Notes
Metadata is stored in a compressed format (MessagePack) in older KDDB files and as JSON in newer versions. The CLI handles both formats transparently.
Related
SDK: Metadata
Work with metadata programmatically
Document Overview
Back to document commands overview
