Skip to main content
GET
List Chat Messages

Authorizations

x-api-key
string
header
required

Path Parameters

agent_id
string<uuid> | null
required
thread_id
string<uuid>
required

ID of the chat thread

Query Parameters

limit
integer
default:50

Number of messages to return

Required range: 1 <= x <= 100
offset
integer
default:0

Number of messages to skip

Required range: x >= 0
filter_suggestions
boolean
default:false

Filter out suggestions from message content

Response

Successful Response

thread_id
string<uuid>
required
content
string
required
role
string
required
Pattern: ^(user|assistant|system|tool)$
id
string<uuid> | null
content_html
string | null
tool_calls
ToolCall · object[] | null
attachments
Attachments · object[] | null
metadata
Metadata · object
created_at
string<date-time> | null
feedback
ChatMessageFeedback · object | null

Simplified model for chat message feedback (excluding Portkey fields).