Retrieve paginated message history for a conversation. Supports both Auth0 JWT and device-based authentication.
before). The payload mirrors what the
client renders inside the chat window, including token counts, model names, and
tool call metadata when available.
Authorization: Bearer <token> (registered users)x-device-id, x-user-id, x-platform headers (guest users)Auth0 access token for registered users.
Conversation ID (24 character MongoDB ObjectId).
241 <= x <= 100Message ID to use as a cursor for backwards pagination.
Filter messages by speaker role.
user, assistant