---
title: "Create Note"
method: POST
path: "/agent-knowledge/notes"
tags: ["agent-knowledge"]
---

# Create Note

`POST /agent-knowledge/notes`

## Request body

- CreateAgentKnowledgeNoteRequest
  - `targetEntryId` string, required
  - `body` string, required
  - `quotedText` string, nullable
  - `quoteAnchor` string, nullable
  - `sourceSessionId` string, nullable

## Response `201`

Successful Response

- AgentKnowledgeNoteResponse
  - `id` string, required
  - `targetEntryId` string, nullable
  - `targetDirectoryId` string, nullable
  - `body` string, required
  - `quotedText` string, nullable
  - `quoteAnchor` string, nullable
  - `authorUserId` string, nullable
  - `sourceSessionId` string, nullable
  - `status` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/traversal/apis/fastapi.md) · [All operations](https://skmtc.net/traversal/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/traversal/fastapi/revisions/2134ebffd1ef/schema)
