---
title: "Edit organisation knowledge"
method: PATCH
path: "/customers/{customerId}/knowledge/{entryId}"
tags: ["Document Platform"]
---

# Edit organisation knowledge

`PATCH /customers/{customerId}/knowledge/{entryId}`

## Request

- Base URL: `http://localhost:9000`
- URL: `http://localhost:9000/customers/{customerId}/knowledge/{entryId}`
- Auth: API key in header `x-api-key`

Org admins edit an entry, and someone who can edit a building edits its notes; null clears an optional field

## Path parameters

- `customerId` string, uuid, required
- `entryId` string, uuid, required

## Request body

- object
  - `text` string
  - `about` object, nullable
    - `type` 'portfolio' | 'building' | 'unit' | 'tenant', required
    - `id` string, required
  - `category` 'preference' | 'profile' | 'glossary' | 'identifier' | 'context' | 'way_of_working', nullable
  - `reviewBy` string, nullable
  - `expectedRevision` integer, required

## Response `200`

Default Response

- union
  - object
    - `entryId` string, uuid, required
    - `customerId` string, required
    - `scope` 'user' | 'org', required
    - `userId` string
    - `text` string, required
    - `about` object
      - `type` 'portfolio' | 'building' | 'unit' | 'tenant', required
      - `id` string, required
    - `unitReference` object
      - `customerId` string, required
      - `segment` string, required
      - `unitId` string, required
      - `assetCode` string, required
      - `assetId` string
      - `buildingId` string, required
    - `category` 'preference' | 'profile' | 'glossary' | 'identifier' | 'context' | 'way_of_working'
    - `status` 'active' | 'flagged', required
    - `source` union, required
      - object
        - `kind` 'typed', required
      - object
        - `kind` 'migrated', required
      - object
        - `kind` 'chat', required
        - `threadId` string, required
        - `messageId` string
        - `turn` integer, required
        - `quote` string, required
    - `replaces` string, uuid
    - `conflictsWith` string, uuid
    - `reviewBy` string
    - `createdBy` string, required
    - `createdAt` string, required
    - `updatedBy` string, required
    - `updatedAt` string, required
    - `reviewedBy` string
    - `reviewedAt` string
    - `revision` integer, required
  - object
    - `entryId` string, uuid, required
    - `text` string, required
    - `about` object
      - `type` 'portfolio' | 'building' | 'unit' | 'tenant', required
      - `id` string, required
    - `category` 'preference' | 'profile' | 'glossary' | 'identifier' | 'context' | 'way_of_working'
    - `status` 'active' | 'flagged', required
    - `source` object, required
      - `kind` 'typed' | 'migrated' | 'chat', required
    - `reviewBy` string
    - `createdAt` string, required
    - `updatedAt` string, required
    - `revision` integer, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-10-23** `e6c9ecac41bb`: 13 breaking, 9 warning, 1 info
  - added the new required request property `expectedRevision`
  - the response's body type changed from `object` to no type for status `200`
  - removed the required property `createdAt` from the response with the `200` status
  - removed the required property `createdBy` from the response with the `200` status
  - …19 more
- **2026-10-20** `83d02a8ada4e`: 1 info
  - added the optional property `unitReference` to the response with the `200` status
- **2026-10-19** `df08e12db9e5`: 1 info
  - added the optional property `source/oneOf[subschema #3]/messageId` to the response with the `200` status
- **2026-10-16** `03aa83ca9272`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/findable/apis/findable-api/changes/customers/:customerId/knowledge/:entryId/patch.md)

---

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