---
title: "Record Lenses Answer-Judge Verdict"
method: POST
path: "/api/v1/integration/lenses-judge-verdicts"
tags: ["Integration APIs", "lenses-judge-verdicts"]
---

# Record Lenses Answer-Judge Verdict

`POST /api/v1/integration/lenses-judge-verdicts`

Receive a runtime answer-judge verdict from power-api and upsert it into Pancake tracking.llm_judge_results, keyed by trace_id, for use as the historical-replay prod baseline.

## Request body

- LensesJudgeVerdictCreate — Inbound runtime answer-judge verdict from power-api. One verdict per judged lenses turn. CAMS assembles the ``user_questions`` array and upserts a row into Pancake ``tracking.llm_judge_results`` keyed by ``trace_id`` — the same table the historical replay reads as the prod baseline.
  - `trace_id` string, nullable
  - `session_id` string, required
  - `judge_model` string, required
  - `question` string, required — The user question (exact_wording).
  - `answered` boolean, required
  - `reason` string
  - `response_excerpt` string — Relevant excerpt from the assistant response.
  - `user_email` string, email, nullable
  - `trace_timestamp` string, date-time, nullable — Turn timestamp; defaults to now if omitted.

## Response `201`

Successful Response

- LensesJudgeVerdictResponse
  - `trace_id` string, required
  - `message` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/carbonarc/apis/carbon-arc-client-admin-api.md) · [All operations](https://skmtc.net/carbonarc/apis/carbon-arc-client-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/carbonarc/carbon-arc-client-admin-api/revisions/a8ca30023371/schema)
