Skip to main content

Get notes

GET
/api/sessions/:id/notes
Get notes for a session, including Tiptap JSON content and AI-generated notes. Auth: Agent key or User JWT + X-Team-Id

Response

object
Tiptap JSON content
string
AI-generated notes
string
Last update timestamp
string
Client ID of last editor

Update notes

PUT
/api/sessions/:id/notes
Update notes for a session. Overwrites existing content. Auto-generates session title from notes if the current title is the default. Auth: Agent key or User JWT + X-Team-Id

Request body

object
required
Tiptap JSON content
string
AI-generated notes
string
Client ID for conflict detection

Response

boolean
required
Always true on success