Skip the total count: pagination-count is exact on the last page, and one more than the items so far while more pages exist (Only used on special endpoints)
Response
200 - application/json
id
string
required
role
enum<string>
required
The role of the message
Available options:
user,
assistant,
system,
tool,
event,
note
model
string
required
The model used for the message
status
enum<string>
required
The chat status
Available options:
RUNNING,
COMPLETED,
FAILED,
CANCELED
created_at
string<date-time> | null
required
updated_at
string<date-time> | null
required
messages
object[]
The message content
System message
Option 1
Option 2
Option 3
Option 4
Option 5
Option 6
Show child attributes
member
object
The member of the chat
Show child attributes
error
string
Error message if the message failed
broadcast_id
string
ID of the broadcast this message originates from
call_id
string
ID of the voice call this message belongs to
is_broadcast_message
boolean
Whether this message was sent via a broadcast template
channel_type
enum<string>
The channel the message arrived through, if any
Available options:
internal,
org,
agent,
custom,
whatsapp_bot,
messenger_bot,
instagram_dm,
tiktok_dm,
telegram_bot,
slack_bot,
teams_bot,
gmail,
outlook,
twilio,
telnyx,
email,
smpp
usage
object
The usage information for the message
Show child attributes
cost
object
The cost of a message, at the rates it is billed at