GET
/
messages
/
list

Authorizations

X-API-Key
string
header
required

Your duohub API key. Type: str

Query Parameters

sessionID
string

Filter messages by session ID

customerUserID
string

Filter messages by customer user ID

role
enum<string>

Filter messages by role

Available options:
norole,
system,
assistant,
user,
function,
tool
limit
integer
default:
10

Maximum number of messages to return

nextToken
string

Token for getting the next page of results

previousToken
string

Token for getting the previous page of results

Response

200 - application/json
count
integer

Number of messages in the current page

messages
object[]
nextToken
string | null

Token for the next page of results

previousToken
string | null

Token for the previous page of results