# Run AIQ Tests from the Command Line

# Run AIQ Tests from the Command Line

**Last reviewed:** September 21, 2026

Use command-line execution when AIQ tests need to run from scripts, schedulers, or CI/CD agents. Keep commands repeatable and avoid embedding secrets in scripts.

## When to use this guidance

- A pipeline or automation host needs to trigger AIQ tests.
- You need reproducible execution commands.
- Results must be returned to the calling process.

## Recommended approach

1. Confirm the supported AIQ command-line or API entry point for your version.
2. Create a dedicated service account or token with least-privilege access.
3. Parameterize project, scenario, environment, dataset, and threshold settings.
4. Capture execution output, logs, and reports in the automation system.
5. Handle non-zero exit codes and failed quality gates clearly.

**Note:** Do not commit credentials, tokens, or environment-specific secrets into source control.

---

Last updated: September 21, 2026

If you have feedback on this topic, contact <documentation@appvance.ai>.