Skip to main content
Use the CLI’s built-in help as the source of truth for the version installed on your machine.
For example:

Global flags

Global flags can be used with subcommands:

Authentication and Server profiles

Browser login is available for ShengSuanYun and CogFoundry. Custom Servers use an API Token verified through doctor.

Staged execution commands

Programmatic official-template execution is intentionally separated into three commands:
--callback-url is optional. run execute does not replace the confirmation step in your application or agent. Run it only after the same input has been validated, prechecked, shown to the user with its estimate, and explicitly confirmed.
The old combined run submit command is legacy and hidden. New integrations should use run validate, run precheck, and run execute. --idempotency-key is a deprecated alias for --client-request-id.

TemplateSpec documentation language

Available topics include spec, authoring, examples, conversation, metadata, inputs, steps, bindings, and execution-units; all prints the complete bundled set. Omit the topic to print the index. The --lang flag defaults to en; use zh-CN for Simplified Chinese. For machine-to-machine chaining, use JSON output and preserve returned IDs exactly.