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

threadIdstringRequiredformat: "uuid"
The thread id.

Response

OK
idstringOptionalformat: "uuid"
The id of the entity.
createdOnstringOptionalformat: "date-time"
The date this entity was created.
createdBystringOptionalformat: "uuid"
The id of the user who created this entity.
updatedOnstringOptionalformat: "date-time"
The date this entity was last modified.
updatedBystringOptionalformat: "uuid"
The id of the user who last modified this entity.
threadIdstringOptionalformat: "uuid"
The thread that owns the message.
parentThreadIdstring or nullOptionalformat: "uuid"
The parent thread for a delegated message.
rolestring or nullOptional
The message author's role.
contentstring or nullOptional

The user-visible message text.

clientMessageIdstring or nullOptional

The client-generated idempotency key for a user message.

runtimeMessageIdstring or nullOptional
The stable message reference used by the runtime provider.
modelstring or nullOptional
The model that produced the message.
toolCallIdstring or nullOptional

The provider tool-call identifier associated with the message.

temporaryFileslist of objects or nullOptional
The temporary files attached to the message.
toolCallslist of objects or nullOptional
The tool calls stored with this message.
reasoninglist of objects or nullOptional

The user-visible reasoning text stored with this message.

agentIdstring or nullOptionalformat: "uuid"
The custom agent that produced the message, if applicable.
messageOrderintegerOptional
The message order.
isStreamingbooleanOptional
Whether the message is still streaming.
streamCompletedbooleanOptional
The stream completed.
traceIdstring or nullOptional
The distributed trace that produced the message.
modelProviderstring or nullOptional
The model provider selected for this message.
reasoningLevelstring or nullOptional
The reasoning level selected for this message.
toolAccessobjectOptional
Describes the tool access used for an agent message.
connectorIdslist of strings or nullOptional
The connector identifiers selected for this message.
skillIdslist of strings or nullOptional
The skill identifiers selected for this message.

Errors

404
Not Found Error