1 · Authentication

Create an API key in the workbench (Settings → API Keys). Keys look like ard_live_…, are shown once, and can be revoked anytime.

curl https://airesumedetector.app/api/v1/credits \
  -H "Authorization: Bearer ard_live_xxxxxxxxxxxxxxxxxxxxxxxx"

2 · Submit an analysis

Costs 1 credit. The deterministic pipeline (hidden layers, injections, stylometry, timeline) runs immediately; the LLM audit completes during polling.

curl -X POST https://airesumedetector.app/api/v1/analyze \
  -H "Authorization: Bearer $ARD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "…resume text…", "job_description": "…optional…"}'

# → 202 {"job_id":"…","status":"queued","credits_remaining":9}

3 · Poll for the report

Poll GET /api/v1/jobs/{id} every ~10s until status: "done" (typically 30–90s). The response contains the full JSON report: scores, ATS reality check, findings with verbatim excerpts, and interview probes.

4 · Export PDF

curl -o report.pdf \
  "https://airesumedetector.app/api/v1/jobs/$JOB_ID/report.pdf" \
  -H "Authorization: Bearer $ARD_API_KEY"

5 · MCP server

Point any MCP client at the Streamable HTTP endpoint with your API key. Tools: submit_analysis, get_job, get_report_pdf, get_credits.

# Claude Code
claude mcp add --transport http verihire \
  https://airesumedetector.app/mcp \
  --header "Authorization: Bearer $ARD_API_KEY"

# Generic JSON-RPC (initialize)
curl -X POST https://airesumedetector.app/mcp \
  -H "Authorization: Bearer $ARD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18"}}'

Errors & limits

  • 401 — invalid/missing API key
  • 402 — insufficient credits (buy packs on the Pricing page)
  • 404 — unknown job id; 409 — report requested before done
  • Failed analyses are automatically refunded.