Overview
kdx run exposes resource-specific API operations discovered from the platform OpenAPI specification. Use it when you need an operation that is not covered by a stable top-level command.
kdx run use cases:
- Inspect operations available for
activities,activity-plans,document-families, orprojects. - Call a document-family export, external-data, label, touch, or status endpoint.
- Run administrative project operations exposed by the current platform.
- Prototype an integration before turning it into application code.
How Discovery Works
List available operations for a resource:Executing An Operation
Path and query parameters are passed as dynamic flags. Request bodies are passed as JSON with--body.
Common Operations
Document Families
Activities
activities when you need to inspect the business process run itself. Use activity-plans when you need to inspect the reusable workflow definition.
Projects
Data Definitions
Use the currentdata-definitions resource name for new work:
data-definition and data-definitions.
Service Bridges
BRIDGE_CALL step in an Activity Plan. Use kdx run for inspection, troubleshooting, and one-off administrative calls exposed by the API.
Output And Scripting
When To Use run
Use kdx run when:
- You need an API operation that is not modeled as a top-level CLI command.
- You want to inspect what the current server supports.
- You are building an automation and want to verify the API call shape.
Troubleshooting
Operation Not Found
List the operations exposed by the current environment:Missing Required Parameter
The operation list shows required path and body parameters. Add the corresponding dynamic flag:Invalid JSON Body
Validate the body withjq before passing it:
