Public API v1 — Comparison
Public API v1 — Comparison

Compare candidates side by side

Compare 2-4 candidates with overall ranking, competency matrix, head-to-head on overlapping rounds, communication comparison, and risk assessment. Handles candidates at different interview stages with confidence flags and warnings.

post/api/public/v1/compare

Request

  • Base URL: https://api.thebetterhire.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.thebetterhire.ai/api/public/v1/compare
  • Auth: HTTP bearer

Request body

candidate_idsstring[] required

List of 2-4 candidate IDs to compare. All must belong to your organization.

Response

Successful Response

rolestring nullable

Primary role being compared.

candidates_comparedinteger required

Number of candidates in comparison.

warningsstring[]

Warnings about comparison fairness (e.g., different round counts).

ai_summarystring nullable

AI-generated comparison narrative.

Changes

No recorded changes to this operation across all 1 revision of this API.