---
title: "Exact declared-exposure audit with a clean exam export."
method: POST
path: "/api/leakage"
---

# Exact declared-exposure audit with a clean exam export.

`POST /api/leakage`

## Request

- Base URL: `https://whetstone.cyberelf.link`
- URL: `https://whetstone.cyberelf.link/api/leakage`
- Auth: none declared

## Request body

- object: Audit declared exposure against an exam and export the clean remainder.
  - `enable_behavioral_fingerprint` boolean
  - `enable_text_similarity` boolean
  - `exam` object[], required: Exam rows. Each row needs item_id (or id) plus prompt/content/input/task/question/expression.
  - `exposure` object[]: Declared exposure rows carrying identity/content fields and an optional source or path.
  - `fingerprint_max_n` integer
  - `similarity_threshold` number

## Response `200`

Deterministic receipt with item-level decision path and SHA-256 hashes.

## Other responses

- `400`: Input error (a hint points at /api/examples).
- `429`: Rate limited.

---

[API](https://skmtc.dev/cyberelf/apis/whetstone-tools.md) · [All operations](https://skmtc.dev/cyberelf/apis/whetstone-tools/llms.txt) · [OpenAPI document](https://skmtc.dev/cyberelf/apis/whetstone-tools/revisions/4c656180ee4d?raw)
