Skip to main content

Get notes

method
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

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

Update notes

method
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

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

Response

success
boolean
required
Always true on success