---
title: "Create Admin Review Report"
method: POST
path: "/internal/reports/review"
tags: ["internal"]
---

# Create Admin Review Report

`POST /internal/reports/review`

## Request

- Base URL: `https://api.kobaltlabs.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kobaltlabs.com/internal/reports/review`
- Auth: none declared

Trigger a one-off reporting agent run against any existing review (including
completed ones) using a template uploaded on the spot.

Unlike the customer-facing `/reports/review`, this never touches the target
company's `Files` table: the template and the generated DOCX/PDF live only in
this agent run's own S3 directory (`{company_id}/{agent_run_id}/...`).

`config_variant` lets an admin try a `ReviewReportConfig` experiment (see
`backend/analyses/reporting/review.py`) against a real review without risking
a customer-facing run — every other trigger path is hardcoded to STABLE
(`ReviewReportAgent.execute`).

## Request body `multipart/form-data`

- BodyCreateAdminReviewReportInternalReportsReviewPost
  - `company_id` string, uuid, required
  - `review_id` string, uuid, required
  - `project_id` string, uuid, nullable
  - `config_variant` 'stable' | 'sonnet' | 'no_thinking': Which `ReviewReportConfig` an admin-triggered `review_report` run used. STABLE is the only variant reachable from every trigger path (customer-facing `/reports/review`, the `review_reporting_stage_wf` task, and admin runs that don't opt into an experiment) — see `ReviewReportAgent.execute`. The other members are experiment levers, selectable only from the admin report-runner, so a regression in one never reaches a customer's review. See `ReviewReportConfig.for_variant` (`backend/analyses/reporting/review.py`) for what each one actually changes.
  - `template` string, binary, required

## Response `200`

Successful Response

- AdminCreateReviewReportResponse
  - `agent_run_id` string, uuid, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api.md) - [All operations](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/revisions/8587332d5e43?raw)
