Dynamic API Operations
Thekdx run command allows you to discover and execute API operations that go beyond standard CRUD operations.
Overview
Whilekdx get, kdx create, kdx delete handle standard operations, many resources have additional specialized operations. The kdx run command provides access to these.
Discovering Operations
To see available operations for a resource type:Example: Document Families Operations
Executing Operations
Basic Syntax
Path Parameters
Path parameters (marked with*) are required and passed as flags:
Query Parameters
Query parameters are optional and passed as flags:Request Body
For POST/PUT operations, use--body with JSON:
Common Operations
Document Families
Projects
Stores
Taxonomies
Output Formats
Control output format with the-o flag:
Piping and Processing
Combine with standard tools for data processing:Available Resources
To see all resources that support dynamic operations:| Resource | Description |
|---|---|
document-families | Document processing and data |
projects | Project management |
stores | Document and data stores |
taxonomies | Data definitions |
assistants | Processing pipelines |
executions | Pipeline executions |
tasks | User tasks |
Examples
Get Document Processing Status
Get External Data
Bulk Operations
Troubleshooting
Operation Not Found
kdx run document-families
Missing Required Parameter
--id <value>
Invalid JSON Body
Resource Not Found
kdx api-resources