---
title: "Edit File Extraction"
method: POST
path: "/api/v1/files/{file_id}/edits"
tags: ["v1", "Source Verifications"]
---

# Edit File Extraction

`POST /api/v1/files/{file_id}/edits`

## 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/files/{file_id}/edits`
- Auth: none declared

Correct one extracted value on a file (the File Manager's route).

Same as /sources/{id}/extraction/edits, keyed by file: the server picks
the file's current reading among its sources (ledger.file_row).

## Path parameters

- `file_id` integer, required

## Request body

- ExtractionEditRequest: One correction to a file's current extraction (core/services/ledger.py). `path` starts with the column, "meta" or "items", then the keys and list indexes inside it, e.g. ["meta", "document_record", "parts_list", 3, "qty"].
  - `path` union[], required
    - union
      - string
      - integer
  - `value` unknown
  - `box` object, nullable
  - `note` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-09** `d9ef00c0253a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/changes/api/v1/files/:file_id/edits/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)
