---
title: "Get Public Assessment"
method: GET
path: "/api/coding-assessment/{magic_token}"
tags: ["coding-assessment"]
---

# Get Public Assessment

`GET /api/coding-assessment/{magic_token}`

## Request

- Base URL: `https://api.ruzora.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ruzora.com/api/coding-assessment/{magic_token}`
- Auth: none declared

Public — no auth. Strips hidden tests.

## Path parameters

- `magic_token` string, required

## Response `200`

Successful Response

- CandidateAssessmentView: Public payload candidates see at /assessment/{token}. Critically excludes: - hidden_tests (inputs never leave the server) - score / ai_reasoning (recruiter-only signal — see ADR on recruiter-controlled feedback) - question expected_signal_md (rubric — recruiter-only)
  - `title` string, required
  - `kind` 'coding' | 'questions'
  - `language` string, nullable
  - `difficulty` string, nullable
  - `problem_md` string, nullable
  - `starter_code` string, nullable
  - `visible_tests` TestCase[]
    - `name` string, nullable
    - `stdin` string
    - `expected_stdout` string, required
  - `time_limit_s` integer, nullable
  - `status` 'sent' | 'in_progress' | 'submitted' | 'graded' | 'expired' | 'errored', required
  - `submitted_code` string, nullable
  - `expires_at` string, date-time, required
  - `submitted_at` string, date-time, nullable
  - `candidate_first_name` string, nullable
  - `draft_code` string, nullable
  - `draft_answers` object, nullable
  - `draft_saved_at` string, date-time, nullable
  - `elapsed_seconds` integer
  - `budget_seconds` integer, nullable
  - `remaining_seconds` integer, nullable
  - `package_name` string, nullable
  - `estimated_minutes` integer, nullable
  - `package_questions` PackageQuestionView[]
    - `slug` string, required
    - `prompt_md` string, required
    - `category` string, required
    - `estimated_minutes` integer, required
    - `order_index` integer, required
    - `question_type` string
    - `choices` PublicChoice[], nullable
      - `value` string, required
      - `label` string, required
    - `answer_md` string, nullable
    - `selected_values` string[], nullable
  - `question_count` integer
  - `page_options` object, nullable
  - `context` string, nullable
  - `integrity` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ruzora/apis/ruzora-candidate-crm-api.md) · [All operations](https://skmtc.dev/ruzora/apis/ruzora-candidate-crm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ruzora/apis/ruzora-candidate-crm-api/revisions/f9b8223f3ac4?raw)
