List one page of a topic's joined message thread.
Joins the topic's sessions to their messages (`Topic → TopicSession.LegacyAgentSessionId → AgentMessage.SessionId`) and returns user / assistant / system turns newest-first — the chat viewer reverses each page for chronological display, matching the conversations viewer. Use the returned `nextPageToken` to load older slices. Returns 404 on an unknown / foreign topic and an empty page when the topic has no sessions yet.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The unique identifier of the agent.
The unique identifier of the topic.
uuidThe tenant identifier
Query Parameters
The maximum number of items to return per page
int32int32Opaque cursor token from an external system (e.g. RAG API). When set, M:Fruxon.Common.Collections.PageToken.AsString returns this value directly instead of encoding Fruxon.Common.Collections.PageToken.Skip.
Response Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/agents/string/topics/497f6eca-6276-4993-bfeb-53cbbbba6f08/messages"{
"items": [
{
"id": "string",
"role": "string",
"agentId": "string",
"content": "string",
"createdAt": 0,
"sessionId": "string",
"executionRecordId": "00000000-0000-0000-0000-000000000000",
"traceStepId": "string"
}
],
"nextPageToken": "string",
"totalCount": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}