---
title: "Report a miss or a false positive"
method: POST
path: "/feedback"
---

# Report a miss or a false positive

`POST /feedback`

## Request

- Base URL: `https://secureai.one/v1`
- URL: `https://secureai.one/v1/feedback`
- Auth: HTTP bearer

Tells the scanner it missed a value, or redacted one it should not have, so the fix reaches every account. Only the shape is kept — which way it was wrong, the kind of characters, a length band and the word in front of it. The value and context are read once to work that out and are never stored. Send one report, or up to 25 as {"reports": [...]}.

## Request body

- union
  - object
    - `type` 'miss' | 'false_positive', required
    - `value` string, required
    - `context` string: The sentence it was in. Used to read the word in front of the value, then dropped.
  - object
    - `reports` object[], required
      - `type` 'miss' | 'false_positive', required
      - `value` string, required
      - `context` string: The sentence it was in. Used to read the word in front of the value, then dropped.

## Response `200`

Recorded. `signals` is everything that was kept.

- object
  - `object` 'feedback'
  - `received` integer
  - `counted` integer: Fewer than received once the account passes its daily allowance.
  - `signals` object[]
    - `signal` 'miss' | 'false-positive'
    - `shape` string
    - `length` string
    - `lead` string

## Other responses

- `400`: A report that is malformed, or more than 25.
- `401`: Missing or invalid API key.
- `502`: It could not be recorded. Safe to retry.

---

[API](https://skmtc.dev/secureai/apis/secure-ai.md) · [All operations](https://skmtc.dev/secureai/apis/secure-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/secureai/apis/secure-ai/revisions/6eefd7f53f8b?raw)
