chat
Read the conversation, paginated
Returns a page of messages, oldest first. Paging is by cursor, not by offset: the conversation grows while the student scrolls, and an offset would skip or repeat rows.
Open the chat with no parameters to get the newest page. To load older messages, pass
the nextCursor of the page you have as before. To catch up after the realtime stream
dropped, pass the cursor of your newest message as after.
GET
Read the conversation, paginated
Authorizations
Supabase access token: Authorization: Bearer <token>
Query Parameters
Required range:
1 <= x <= 100A cursor. Returns the page immediately older than it.
A cursor. Returns messages newer than it — the catch-up after a lost stream.