Documentation Index
Fetch the complete documentation index at: https://developer.kodexa.ai/llms.txt
Use this file to discover all available pages before exploring further.

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:
| Area | CLI surface | Use it for |
|---|---|---|
| Resource discovery | kdx api-resources | See which resource types and schemes your platform exposes |
| Resource operations | kdx get, kdx describe, kdx apply, kdx delete | Read and change individual platform resources |
| Dynamic operations | kdx run | Call resource-specific API operations discovered from OpenAPI |
| GitOps metadata | kdx sync | Pull, review, push, and deploy version-controlled metadata |
| Activity projects | kdx project, kdx store, kdx document-family | Create projects, upload documents, watch processing, export results |
| Knowledge | kdx knowledge | Upload and download knowledge item attachments |
| Secrets | kdx secret | Manage write-only organization secrets without echoing values |
| Local KDDB inspection | kdx document | Inspect document text, nodes, tags, data objects, exceptions, and native files |
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.
