Skip to main content

Store Commands

The kdx store command provides operational commands for document stores. Use it when you need to upload source documents, watch processing progress, inspect store health, or rebuild store indexes. Document stores are where document families enter a project. The CLI is useful for scripted test uploads, smoke tests after an Activity Plan change, and operational checks in non-production environments.

Available Commands

Upload Documents

Upload a PDF, image, or document to a document store. The platform creates a document family and queues it for the store’s configured processing.

Parameters

Examples

Output

The command returns the document family ID which you can use with kdx store watch or kdx document-family data.

Watch Processing Progress

Monitor a document family until it reaches a label such as PREPARED, LABELED, or PROCESSED. This is useful in local smoke tests and CI jobs that upload a document and need to wait for processing to finish before exporting data.

Flags

Processing Labels

Labels depend on the store and processing design. Common labels include:

Examples

Output

The command also detects failed executions and exits with a non-zero status.

Store Statistics

View statistics for a document store. This command is useful for operational checks and dashboards where you want a quick CLI view of document count, storage size, index status, and any performance metrics the server returns.

Example

Output

Reindex Store

Trigger a reindexing operation for a store. Reindexing is an administrative operation used when store search or derived indexes need to be rebuilt.

Flags

Examples

Output

Common Workflows

Smoke Test a Store

Inspect Store Health