Lists agent thread messages.
Lists messages from the specified personal-agent or custom-agent conversation.
Use this endpoint to retrieve replies after creating a thread or submitting a message.
Returns not found if the thread is missing or the user cannot read it.
<Check title="Required Permissions" icon="key">Any authenticated user.</Check>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
threadId
The thread id.
Response
OK
id
The id of the entity.
createdOn
The date this entity was created.
createdBy
The id of the user who created this entity.
updatedOn
The date this entity was last modified.
updatedBy
The id of the user who last modified this entity.
threadId
The thread that owns the message.
parentThreadId
The parent thread for a delegated message.
role
The message author's role.
content
The user-visible message text.
clientMessageId
The client-generated idempotency key for a user message.
runtimeMessageId
The stable message reference used by the runtime provider.
model
The model that produced the message.
toolCallId
The provider tool-call identifier associated with the message.
temporaryFiles
The temporary files attached to the message.
toolCalls
The tool calls stored with this message.
reasoning
The user-visible reasoning text stored with this message.
agentId
The custom agent that produced the message, if applicable.
messageOrder
The message order.
isStreaming
Whether the message is still streaming.
streamCompleted
The stream completed.
traceId
The distributed trace that produced the message.
modelProvider
The model provider selected for this message.
reasoningLevel
The reasoning level selected for this message.
toolAccess
Describes the tool access used for an agent message.
connectorIds
The connector identifiers selected for this message.
skillIds
The skill identifiers selected for this message.
Errors
404
Not Found Error

