
What KDX Does
kdx is the command-line interface for the Kodexa Platform. It is used for four jobs:
- Operate platform resources with
get,describe,apply,delete,validate, andrun. - Manage GitOps metadata with
kdx sync pull,kdx sync push, andkdx sync deploy. - Inspect documents locally with
kdx documentagainst KDDB files. - Run focused operational commands for projects, stores, document families, knowledge item attachments, and organization secrets.
Current Mental Model
Usekdx to manage the resources that make a Kodexa project work:
Key Capabilities
Activity-Ready Metadata
Version Activity Plans, task templates, task statuses, data definitions, data forms, modules, Service Bridges, project templates, and project bindings.
Schema-Aware Apply
Validate YAML against the live API schema and use
kdx apply -f as the standard create-or-update path.OpenAPI Operation Access
Discover specialized API operations with
kdx run <resource> and execute them with typed path, query, and body parameters.Document Inspection
Work with KDDB files locally: text, selectors, nodes, data objects, exceptions, metadata, native files, and delta binaries.
Operational Workflows
Upload documents, watch document-family progress, export extracted data, attach knowledge assets, and manage secrets.
Deep Command Reference
See the current non-legacy command groups, arguments, flags, outputs, and recommended use cases.
Who Uses It
- Solution developers use
kdxto inspect resources, download KDDB files, test document output, and iterate on metadata. - Platform engineers use
kdx syncto move Activity-centered configuration through development, staging, and production. - Project administrators use focused commands to create projects from templates, upload documents, watch processing, and export results.
- Automation teams use JSON/YAML output,
kdx run, and CI/CD sync reports to integrate Kodexa into scripts and deployment pipelines.
Important Conventions
- Use current resource names in new metadata:
data-definition,activity-plan,task-template,task-status,data-form,service-bridge,module, andproject-template. - Use
kdx apply -ffor declarative create-or-update. There is no generalkdx createcommand. - Use
kdx project createonly for the project-template workflow. - Use profiles for interactive CLI work and sync environments for GitOps deployments.
- Treat
kdx runas an escape hatch for resource-specific API operations that are not covered by stable top-level commands.
Start Here
Install
Install or update the CLI.
Quick Start
Authenticate, discover resources, and run the first useful commands.
Profiles & Configuration
Manage profiles, command overrides, and sync environment credentials.
Sync & GitOps
Put Kodexa metadata under version control.
