Add a note to a session.
When sessionNote.identifier is omitted, each call appends a new note with an auto-generated identifier. When identifier is non-empty, repeated calls with the same (sessionId, name='note', identifier) overwrite the existing note.
sessionNote.identifier
identifier
(sessionId, name='note', identifier)
The parameters to add a session note.
The ID of the created note annotation.
Phoenix server >= 14.17.0
const result = await addSessionNote({ sessionNote: { sessionId: "my-session", note: "Needs review" }}); Copy
const result = await addSessionNote({ sessionNote: { sessionId: "my-session", note: "Needs review" }});
Add a note to a session.
When
sessionNote.identifieris omitted, each call appends a new note with an auto-generated identifier. Whenidentifieris non-empty, repeated calls with the same(sessionId, name='note', identifier)overwrite the existing note.