---
title: "Refine Extra View"
method: POST
path: "/questionnaires/jobs/{job_id}/extra-views/{view_id}/refine"
tags: ["questionnaires"]
---

# Refine Extra View

`POST /questionnaires/jobs/{job_id}/extra-views/{view_id}/refine`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/questionnaires/jobs/{job_id}/extra-views/{view_id}/refine`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Refine the single 2D image of a ready extra view (same operation as the 2D flat refine,
targeting an extra view by id). Multipart, mirroring ``POST /jobs/{job_id}/refine``:
at least one of comment, annotated_image, or reference_image is required.

## Path parameters

- `job_id` string, uuid, required
- `view_id` string, required

## Request body `multipart/form-data`

- BodyRefineExtraViewQuestionnairesJobsJobIdExtraViewsViewIdRefinePost
  - `comment` string: Optional: Refinement instructions/notes
  - `annotated_image` string, binary, nullable: Optional: Current view with circles/marks showing WHERE to change
  - `reference_image` string, binary, nullable: Optional: Reference image showing WHAT to change to
  - `refine_mode` string: Which refine prompt to use: 'oval' (circled regions), 'freehand' (drawn marks), 'reference' (reference image as target), 'text' (notes only).

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
