WP-CLI
bashwp ointel scan # Run a scan now
wp ointel scan --format=json
wp ointel scan --checks=security,performance
wp ointel status # Current score summary
wp ointel snapshot take "Before upgrade"
wp ointel snapshot list
wp ointel snapshot delete 5
wp ointel snapshot diff 3 7
wp ointel snapshot prune --keep=10
wp ointel fix list
wp ointel fix preview --type=clean_transients
wp ointel fix run --type=clean_transients --yes
wp ointel report
wp ointel report --format=executive --file=/tmp/report.html
wp ointel alerts test
wp ointel alerts historyREST endpoint
GET /wp-json/ointel/v1/health
Authentication: WP cookie or Application Passwords (manage_options)Response:
json{
"score": 84,
"categories": {
"environment": { "score": 90, "weight": 0.35 },
"plugins": { "score": 75, "weight": 0.25 },
"performance": { "score": 82, "weight": 0.25 },
"content": { "score": 88, "weight": 0.15 }
},
"failing": [
{ "id": "plugin_updates", "severity": "warning", "label": "3 plugins need updates" }
],
"snapshot_id": 42,
"scanned_at": "2026-05-02T14:30:00Z"
}Useful as a CI smoke test (curl it after deploys and fail the build if score drops).

