---
title: "Patch Document Route"
method: PATCH
path: "/api/v1/knowledge/documents/{doc_id}"
tags: ["knowledge"]
---

# Patch Document Route

`PATCH /api/v1/knowledge/documents/{doc_id}`

Update mutable document metadata fields.

## Path parameters

- `doc_id` string, required

## Request body

- DocumentPatchRequest — Request body for PATCH /documents/{doc_id}.
  - `title` string, nullable
  - `category_id` string, nullable
  - `app_id` string
  - `project_id` string

## Response `200`

Successful Response

- SuccessEnvelopeDocumentPatchResponse
  - `request_id` string, required
  - `data` DocumentPatchResponse, required — Response for PATCH /documents/{doc_id}.
    - `doc_id` string, required
    - `updated_fields` string[], required
    - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-06-24** `65f2f4743b36` — 1 info
  - endpoint added
- **2026-06-05** `7be97420eb25` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/evermind-ai/apis/everos/changes/api/v1/knowledge/documents/:doc_id/patch.md)

---

[API](https://skmtc.dev/evermind-ai/apis/everos.md) · [All operations](https://skmtc.dev/evermind-ai/apis/everos/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/evermind-ai/everos/revisions/9a2e78d664d6/schema)
