---
title: "Edit a sheet row/column or memo text. Sheets and memos only — doc bundles (.md/.txt) are rejected."
method: POST
path: "/edit"
---

# Edit a sheet row/column or memo text. Sheets and memos only — doc bundles (.md/.txt) are rejected.

`POST /edit`

## Request

- Base URL: `https://api.space-ocr.com`
- URL: `https://api.space-ocr.com/edit`
- Auth: HTTP bearer

## Request body

- union
  - object
    - `path` string, required: Slash-separated path. Folders are addressed by name. Sheets can be addressed by name (must be unique within the parent folder) or by the uniqueKey returned by /create.
    - `row` union, required
      - integer
      - string
    - `column` union, required: Column index or name. `"values.<column>"` (the v2 row shape) is accepted as an alias. `cells`/`review`/`image` are response metadata, not editable columns.
      - integer
      - string
    - `value` unknown
  - object
    - `path` string, required: Slash-separated path. Folders are addressed by name. Sheets can be addressed by name (must be unique within the parent folder) or by the uniqueKey returned by /create.
    - `text` string, required

## Response `200`

OK

- unknown

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required
- `403`: Forbidden
- `404`: Not Found
- `413`: Payload Too Large
- `429`: Too Many Requests
- `500`: Internal Error
- `502`: OCR engine error (charge auto-refunded)
- `504`: OCR engine timeout (charge auto-refunded)

---

[API](https://skmtc.dev/space-ocr/apis/space-ocr-public-api.md) · [All operations](https://skmtc.dev/space-ocr/apis/space-ocr-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/space-ocr/apis/space-ocr-public-api/revisions/d7831cf1168e?raw)
