Skip to main content

Document Family Commands

The kdx document-family command provides operational tools for document families that already exist in the platform. Use it to export extracted data, download the KDDB content object behind a processed document, and update labels or statuses for operational workflows. A document family is the platform record that ties a source document, its content objects, derived data, labels, status, tasks, and processing history together.

Available Commands

Export Extracted Data

Retrieve the extracted and transformed data from a processed document family.

Flags

Examples

Output Shape

The command exports formatted JSON from the latest content object.
When --include-ids is enabled, each data element includes an _id field that can be used for traceability and audit review.

Content Object Operations

Document families contain one or more content objects. A content object is the KDDB representation of a processed document at a point in time.

List Content Objects

Example output:

Download Content

Flags

Examples

Labels

Labels are often used for operational routing, progress tracking, and downstream filters.

Add a Label

Examples:

Remove a Label

Example:

Status

Statuses are useful when a project models lifecycle states such as received, reviewed, approved, rejected, or archived.
Example:

When To Use Each Command

Upload, Wait, Export

Troubleshooting