@praxa/cli. Each section includes a description of what the command does, the full flag set, which environment variables it reads, and a runnable example. All commands write JSON to stdout and errors to stderr, exiting with code 1 on failure.
praxa version
Prints the CLI version, the embedded OpenAPI spec version, the wire contract version, and a SHA-256 fingerprint of the OpenAPI source. This command makes no network connection and requires no configuration, making it a reliable smoke test after installation.
Syntax
praxa doctor
Makes an authenticated read-only request to your gateway to verify that the URL is reachable, the TLS certificate is valid, and the access token is accepted. It fetches reference coverage data and returns it alongside an ok: true field on success.
Syntax
Environment variables
Example
praxa mission get
Retrieves an authoritative mission projection for the given run ID. Use this command to poll mission status, inspect the current state, or retrieve output after a mission completes.
Syntax
Environment variables
Example
jq to extract a specific field:
praxa mission create
Submits a new mission to the Praxa Integration Gateway by reading a JSON file from disk. The response contains the assigned run ID and the initial mission state.
Syntax
Environment variables
Mission file format
Your
--input file must be valid JSON with at minimum a goalSpec object and a resourceBudget object:
get or cancel calls:
praxa mission cancel
Requests durable cancellation of a running mission. The reason string is recorded in the mission audit log. You must provide a unique idempotency key so the cancellation request is safely retryable in the event of a network failure.
Syntax
Environment variables
Example
All commands write their result as pretty-printed JSON to stdout. This makes it easy to pipe output to
jq for scripting. Errors are written to stderr and the process exits with code 1.