Integration APIs
lenses-judge-verdicts
Record Lenses Answer-Judge Verdict
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.
post/api/v1/integration/lenses-judge-verdicts
Request body
Example request
{
"answered": true,
"judge_model": "claude-haiku-4-5-20251001",
"question": "What was Walmart's card spend in Q1?",
"reason": "States a specific figure for the requested metric.",
"response_excerpt": "Walmart card spend was $1.2B in Q1 2026.",
"session_id": "lenses-7abf23dd-2eb7-424a-a9e5-b764cae0e88e",
"trace_id": "11045182356319810459",
"trace_timestamp": "2026-06-29T15:00:00Z",
"user_email": "karl.deek@carbonarc.co"
}Response
Successful Response
Example response
{
"trace_id": "11045182356319810459"
}