364 promptfoo - configuration reference
365 promptfoo — configuration reference
Configuration surfaces for promptfoo (safety class: requires-target; category: a-02-prompt-injection-jailbreaks) — detected from the upstream documentation at generation time (3 config-surface markers). The invocation reference stays on the main tool page.
365.1 Configuration files
No config-file paths surfaced in the upstream README at generation time — the tool likely takes options through flags or environment instead; see upstream.
365.2 Environment variables
| Variable | Upstream context |
|---|---|
OPENAI_API_KEY |
PI key. Set yours as an environment variable: sh export OPENAI_API_KEY=sk-abc123 Run an eval and view results: ```sh cd |
Names extracted heuristically from upstream docs — verify each against the tool’s own docs before use.
ref: v0.124.1-unstable-2026-10-10 - verified 2026-10-14