site/docs/usage/web-ui.md
After running an eval, view results in your browser:
npx promptfoo@latest view
See promptfoo view for CLI options.
| Shortcut | Action |
|---|---|
Ctrl+K / Cmd+K | Open eval selector |
Esc | Clear search |
Shift (hold) | Show extra cell actions |
=, contains, >, <Hover to reveal actions. Hold Shift for more:
| Action | Description | |
|---|---|---|
| 🔍 | Details | Full output, prompt, variables, grading results |
| 👍 | Pass | Mark as passed (score = 1.0) |
| 👎 | Fail | Mark as failed (score = 0.0) |
| 🔢 | Score | Set custom score (0-1) |
| ✏️ | Comment | Add notes |
| ⭐ | Highlight | Mark for review (Shift) |
| 📋 | Copy | Copy to clipboard (Shift) |
| 🔗 | Share | Link to this output (Shift) |
Ratings and comments persist and are included in exports—use them to build training datasets.
| Export | Use case |
|---|---|
| YAML config | Re-run the eval |
| Failed tests only | Debug failures |
| CSV / JSON | Analysis, reporting |
| DPO JSON | Preference training data |
| Human Eval YAML | Human labeling workflows |
| Burp payloads | Security testing (red team only) |
Toggle with Show Charts.
Percentage of tests where all assertions passed.
Histogram of scores per prompt. Each test score = mean of its assertion scores. See weighted assertions.
Compare two prompts head-to-head. Click to select prompts.
Eval actions → Share generates a URL.
Free at promptfoo.app. Links are private to your organization.
promptfoo auth login -k YOUR_API_KEY
promptfoo share
sharing:
apiBaseUrl: http://your-server:3000
appBaseUrl: http://your-server:3000
Or set via API Settings in the top-right menu. See sharing docs for auth and CI/CD.
Viewer state syncs to the URL—bookmark or share filtered views:
| Parameter | Values |
|---|---|
filterMode | all, failures, passes, errors, different, highlights |
search | Any text |
/eval/abc123?filterMode=failures&search=timeout