---
title: "PUT /api/sessions/{id}/notes"
method: PUT
path: "/api/sessions/{id}/notes"
tags: ["Ai.Tlbx.MidTerm.OpenApi"]
---

# PUT /api/sessions/{id}/notes

`PUT /api/sessions/{id}/notes`

## Path parameters

- `id` string, required

## Request body

- SetSessionNotesRequest
  - `notes` string, nullable

## Response `200`

OK

- SessionInfoDto
  - `id` string, required
  - `pid` integer, required
  - `createdAt` string, date-time, required
  - `isRunning` boolean, required
  - `exitCode` integer, nullable, required
  - `cols` integer, required
  - `rows` integer, required
  - `shellType` string, required
  - `name` string, nullable, required
  - `terminalTitle` string, nullable, required
  - `topic` string, nullable, required
  - `notes` string, nullable, required
  - `manuallyNamed` boolean, required
  - `currentDirectory` string, nullable, required
  - `foregroundPid` integer, nullable, required
  - `foregroundName` string, nullable, required
  - `foregroundCommandLine` string, nullable, required
  - `foregroundDisplayName` string, nullable, required
  - `foregroundProcessIdentity` string, nullable, required
  - `agentAttachPoint` SessionAgentAttachPoint, required
    - `provider` string, required
    - `transportKind` string, required
    - `endpoint` string, required
    - `sharedRuntime` boolean, required
    - `source` string, required
    - `preferredThreadId` string, nullable, required
  - `order` integer, required
  - `parentSessionId` string, nullable, required
  - `bookmarkId` string, nullable, required
  - `spaceId` string, nullable, required
  - `workspacePath` string, nullable, required
  - `surface` string, nullable, required
  - `isAdHoc` boolean, required
  - `agentControlled` boolean, required
  - `appServerControlOnly` boolean, required
  - `profileHint` string, nullable, required
  - `appServerControlResumeThreadId` string, nullable, required
  - `hasAppServerControlHistory` boolean, required
  - `supervisor` SessionSupervisorInfoDto, required
    - `state` string, required
    - `profile` string, required
    - `needsAttention` boolean, required
    - `attentionReason` string, nullable, required
    - `attentionScore` integer, required
    - `lastInputAt` string, date-time, nullable, required
    - `lastOutputAt` string, date-time, nullable, required
    - `lastBellAt` string, date-time, nullable, required
    - `currentHeat` number, double, required

---

[API](https://skmtc.net/tlbx-ai/apis/tlbx-api.md) · [All operations](https://skmtc.net/tlbx-ai/apis/tlbx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tlbx-ai/tlbx-api/versions/fbbda676c858/schema)
