---
title: "Cancel Reopen"
method: POST
path: "/api/v1/camera-capture/runs/{run_id}/cancel-reopen"
tags: ["v1", "Camera capture"]
---

# Cancel Reopen

`POST /api/v1/camera-capture/runs/{run_id}/cancel-reopen`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/camera-capture/runs/{run_id}/cancel-reopen`
- Auth: none declared

## Path parameters

- `run_id` string, uuid, required

## Request body

- CancelReopenRun
  - `idempotency_key` string, required
  - `expected_version` integer, required
  - `controller_token` string, nullable

## Response `200`

Successful Response

- CameraRun
  - `id` string, uuid, required
  - `title` string, required
  - `run_code` string, nullable
  - `run_date` string, date, nullable
  - `daily_sequence` integer, nullable
  - `state` 'open' | 'recording' | 'finalizing' | 'ready' | 'accepted' | 'discard_pending' | 'cancel_pending' | 'cancelled' | 'needs_reconciliation', required
  - `version` integer, required
  - `camera_ids` string[], required
  - `current_attempt` CameraAttempt, nullable, required
    - `id` string, uuid, required
    - `run_id` string, uuid, required
    - `attempt_number` integer, required
    - `state` 'created' | 'recording' | 'finalizing' | 'ready' | 'accepted' | 'discard_pending' | 'discarded' | 'cancelled' | 'needs_reconciliation', required
    - `captures` CameraCapture[], required
      - `id` string, uuid, required
      - `camera_id` string, uuid, required
      - `state` 'pending' | 'recording' | 'finalizing' | 'finalized' | 'unknown', required
      - `baseline_path` string, nullable, required
      - `baseline_empty` boolean, required
      - `final_path` string, nullable, required
      - `start_requested` boolean
    - `created_at` string, date-time, required
  - `accepted_attempt_id` string, uuid, nullable, required
  - `transfer_completed_at` string, date-time, nullable
  - `transfer_status` 'unverified' | 'error' | 'completed', nullable
  - `reopen_state` 'accepted' | 'cancelled', nullable
  - `can_cancel_retake` boolean
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, nullable
  - `removed_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-18** `02b3f0a3ecbb`: 3 warning
  - removed the optional property `created_by_name` from the response with the `200` status
  - removed the optional property `inspector_name` from the response with the `200` status
  - removed the optional property `pipe_size_inches` from the response with the `200` status

[Operation history](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/changes/api/v1/camera-capture/runs/:run_id/cancel-reopen/post.md)

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
