ドキュメント本文へスキップ
API

メモを変更する

本文、色、ピン留めするかどうか。

PATCH/threads/{id}/notes/{noteId}

実際の呼び出しをワークスペースに対して実行します。

PATCH /threads/{id}/notes/{noteId}

本文、色、ピン留めするかどうか。

例

threads:write が必要。content、color、pinned のうち少なくとも一つを渡す。

curl
curl -X PATCH "$OE/threads/thr_7c1e4a90/notes/b3d1f0c2-7a4e-4f7b-9c1d-2e8f6a5b4c3d" -H "$AUTH" \  -H "Content-Type: application/json" -d '{ "pinned": false }'
レスポンス
{  "object": "note",  "id": "b3d1f0c2-7a4e-4f7b-9c1d-2e8f6a5b4c3d",  "threadId": "thr_7c1e4a90",  "content": "Waiting on the signed contract before replying.",  "color": "yellow",  "pinned": false,  "order": 4,  "createdAt": "2026-09-30T09:12:44.000Z",  "updatedAt": "2026-09-30T09:12:44.000Z"}

このスレッドにないメモの ID は、そのメモが別のスレッドにあっても 404 になる。

リファレンス