---
title: "Patch File Notes"
method: PATCH
path: "/snapshots/{snapshot_id}/files/notes"
tags: ["files"]
---

# Patch File Notes

`PATCH /snapshots/{snapshot_id}/files/notes`

Write the human note for a page. Keyed by (repo_id, path) so the note
survives reindex. Only the snapshot owner may edit (public ownerless
snapshots are read-only, mirroring the findings-override rule).

## Path parameters

- `snapshot_id` string, required

## Query parameters

- `path` string, required — Source file / page path

## Request body

- PageNotesPatch
  - `human_notes` string, nullable

## Response `200`

Successful Response

- PageNotesResponse
  - `page_path` string, required
  - `human_notes` string, nullable
  - `updated_at` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/repowise/apis/repowise-hosted-api.md) · [All operations](https://skmtc.dev/repowise/apis/repowise-hosted-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/repowise/repowise-hosted-api/revisions/1e57283a9737/schema)
