Documentation
API Reference
Base URL
https://api.phishmind.com Auth
X-API-Key: pm_... POST
/api/v1/analyze Submit a URL for analysis
Body
{"url": "https://...", "reflow": true} Response
202 — {"id": "uuid", "status": "pending"} POST
/api/v1/analyze/email Submit an .eml file for email analysis
Body
multipart/form-data with file + options Response
202 — {"id": "uuid", "input_type": "email"} GET
/api/v1/results/{id} Get analysis results with verdict, indicators, and reasoning
Response
200 — Full verdict JSON GET
/api/v1/reflow/{id} Get human-facing explanation (requires reflow: true)
Response
200 — {"markdown_content": "...", "html_content": "..."} GET
/api/v1/trace/{id} Get Flow Trace — visual replay timeline
Response
200 — {"steps": [...], "duration_ms": 8200} GET
/api/v1/usage Get current usage stats for your API key
Response
200 — {"today": 12, "this_month": 340}