Skip to main content
GET
List a chat's messages (cursor-paginated)

Authorizations

Authorization
string
header
required

Clerk session token, Authorization: Bearer <token> — the first-party browser app's own auth. Used only by this internal /api/v1/* surface, never by /api/public/v1/*.

Path Parameters

chatId
string
required
Minimum string length: 1

Query Parameters

cursor
string
limit
integer

Response

Page of messages, oldest-to-newest within the page.

items
object[]
required
nextCursor
string | null
required