---
title: "Write a knowledge note"
method: PUT
path: "/v1/workspaces/{workspaceId}/knowledge/files/{path}"
tags: ["Knowledge"]
---

# Write a knowledge note

`PUT /v1/workspaces/{workspaceId}/knowledge/files/{path}`

## Request

- Base URL: `https://shareout.site`
- URL: `https://shareout.site/v1/workspaces/{workspaceId}/knowledge/files/{path}`
- Auth: HTTP bearer

Any member, except the overview `index.md`, which is owner/admin (it is loaded into every member's assistant). Send the markdown (with frontmatter `kind`, `id`, `title`) as `text/markdown`, or JSON `{ "content": "..." }`. Human edits win over learned ones. `kind: overview` and `id: index` are only accepted at `index.md`.

## Request body

- object
  - `content` string, required

## Response `200`

Saved (`{ ok, source: "manual" }`)

## Other responses

- `400`: Invalid request
- `403`: Access denied

## Changes

- **2026-10-26** `7712c85b3fea`: 1 info
  - added the non-success response with the status `403`
- **2026-10-13** `ed6fa61bd690`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/shareout/apis/shareout-rest-api/changes/v1/workspaces/:workspaceId/knowledge/files/:path/put.md)

---

[API](https://skmtc.dev/shareout/apis/shareout-rest-api.md) - [All operations](https://skmtc.dev/shareout/apis/shareout-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shareout/apis/shareout-rest-api/revisions/1e3f7fd34f6d?raw)
