Skip to main content
GET
List thread messages
AdminOnly Bearer token, role admin

Authorizations

Authorization
string
header
required

Supabase access token of an account with role = 'admin' in public.users.

Query Parameters

page
integer
default:1

Page number, from 1.

Required range: x >= 1
pageSize
integer
default:50

Rows per page (clamped to 1-500). Note the name: pageSize, not limit.

Required range: 1 <= x <= 500
threadId
string<uuid>

Only this thread's messages.

Partial match on the prompt.

Response

A page of messages

success
boolean
Example:

true

data
object[]
total
integer

Rows matching the filters (not just this page).

Example:

128

page
integer
Example:

1

pageSize
integer
Example:

50

page_size
integer

Snake-case copy of pageSize.

Example:

50

Last modified on October 18, 2026