---
title: "Post Coding Run"
method: POST
path: "/api/interview/join/{token}/coding/run"
tags: ["interview-join"]
---

# Post Coding Run

`POST /api/interview/join/{token}/coding/run`

## 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/interview/join/{token}/coding/run`
- Auth: none declared

ADR-0004 §2b: on-demand snapshot evaluation. Candidate hits Run;
FE shows `n/m visible tests passed`. The brain may also probe
mid-attempt against the same endpoint (no side effects beyond the
evaluation itself).

`activity` is accepted but unused at this hop — it's bundled into
the terminal signal at /finish, where codeval derives anti-cheat
signals from the cumulative blob.

## Path parameters

- `token` string, required

## Request body

- CodingRunRequest
  - `problem_id` string, required
  - `code` string, required
  - `activity` object, nullable

## 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)
