---
title: "Calculate Kappa"
method: POST
path: "/api/v1/calibration/runs/{run_id}/calculate"
tags: ["calibration"]
---

# Calculate Kappa

`POST /api/v1/calibration/runs/{run_id}/calculate`

## Request

- Base URL: `https://geo.sig.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://geo.sig.ai/api/v1/calibration/runs/{run_id}/calculate`
- Auth: HTTP bearer

Calculate Cohen's Kappa scores for a calibration run.

Compares human ratings (ground truth) with judge predictions
for all three judge types: mention, recommendation, stance.

Args:
    run_id: Calibration run UUID
    current_user: Authenticated user
    db: Database session

Returns:
    Kappa scores and metadata for each judge type

Raises:
    HTTPException: If run not found or access denied

## Path parameters

- `run_id` string, uuid, required

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sig/apis/ai-visibility-intelligence-api.md) · [All operations](https://skmtc.dev/sig/apis/ai-visibility-intelligence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sig/apis/ai-visibility-intelligence-api/revisions/3ec39f9be9e0?raw)
