Skip to content

Commands ​

Every command, its flags, and its output shape. mise run check enforces that this file matches the command tree.

Global flags ​

FlagEnvDescription
--jsonQUALTRICS_JSONmachine-readable envelope on stdout
--prettyQUALTRICS_PRETTYpretty-print JSON
--read-onlyQUALTRICS_READ_ONLYblock all remote writes
--dry-runQUALTRICS_DRY_RUNprint the planned write, do not execute
--confirmQUALTRICS_CONFIRMexecute a remote write
--timeoutQUALTRICS_TIMEOUTper-request timeout (default 30s)
--profileQUALTRICS_PROFILEconfig profile (default default)
--configQUALTRICS_CONFIGconfig file path
--fullQUALTRICS_FULLprint full payloads instead of summaries

auth ​

CommandDescription
auth statusProbe the API and report token state: ok / invalid_token / no_api_access
auth set-token [--token T]Store a token (prompts if absent; falls back to QUALTRICS_TOKEN)
auth set-datacenter <id>Store the datacenter ID (e.g. pdx1)
auth logoutRemove the stored token

doctor ​

Local checks only (no API call): config file, profile, datacenter, base URL, token source.

raw ​

raw <METHOD> <path> [--data JSON] [--method M] — authenticated passthrough. Output is the raw result payload inside the standard envelope. Non-GET methods go through the safety gates: POST/PUT need --confirm, DELETE is destructive.

version / completion ​

version prints build info. completion bash|zsh|fish|powershell emits shell scripts.

Survey Platform ​

CommandTier
surveys list|show|create|deleteread / read / mutation / destructive
definitions show|export|importread / read / mutation
definitions build <spec.md> [-o out.qsf]local offline compiler
definitions qsf summary|convert <file.qsf>local offline inspection / conversion
definitions questions list|show|create|update|deleteread…destructive
definitions blocks list|show|create|update|deleteread…destructive
definitions flow show|updateread / mutation
definitions options show|updateread / mutation
responses export start|status|downloadremote_action / read / read
responses import start|status|uploadremote_action / read / remote_action
distributions list|show|create|deleteread…destructive
distributions links list|create|show|update|deleteread…destructive
directories list|create|show|update|deleteread…destructive
directories mailinglists list|create|show|update|deleteread…destructive
directories mailinglists contacts list|create|show|update|deleteread…destructive
events subscriptions create|get|deletemutation / read / destructive

Export options: --format csv|json|spss|tsv, --use-labels, --timezone, --compress, --breakout-set (repeatable), --seen-unanswered-recode. export start --wait polls (--interval, default 5s) and downloads; --extract unzips the archive (zip-slip checked). import start --wait polls import progress (--interval, default 5s).

List commands accept --limit, --offset, and --all. Deeply nested payloads default to a summary view; --full prints everything. Payload-accepting commands read JSON from -f <file> (- for stdin). surveys delete requires typing the survey ID when interactive, or --confirm when piped.

Built with VitePress