---
title: "Compare Candidates Internal"
method: POST
path: "/api/compare"
tags: ["compare-internal"]
---

# Compare Candidates Internal

`POST /api/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/compare`
- Auth: HTTP bearer

Dashboard-facing compare endpoint. Cookie-authenticated.

## Request body

- InternalCompareRequest
  - `candidate_ids` string[], required: List of 2-4 candidate IDs to compare.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api.md) · [All operations](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api/revisions/c8ad03e900ea?raw)
