FruxonDocs
ApiAgentdraft

Read one of the caller's test chats.

Returns the full message thread (inbound user turns + outbound agent replies). Owner-only — fetching a conversation id owned by another FruxonUser returns an empty page, not the rows (no existence leak).

GET
/v1/tenants/{tenant}/agents/{agent}/testChats/{testChat}/messages
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

agent*string

The unique identifier of the agent.

testChat*string

The id of the test chat to read.

tenant*string

The tenant identifier

Query Parameters

PageSize?integer

The maximum number of items to return per page

Formatint32
PageToken.Skip?integer
Formatint32
PageToken.Cursor?string

Opaque 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/testChats/string/messages"
{
  "items": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "integrationConfigId": "00000000-0000-0000-0000-000000000000",
      "integrationId": "string",
      "agentId": "string",
      "conversationId": "string",
      "conversationRowId": "00000000-0000-0000-0000-000000000000",
      "conversationName": "string",
      "from": "string",
      "message": "string",
      "attachments": [],
      "tenantId": "00000000-0000-0000-0000-000000000000",
      "createdAt": 0,
      "executionRecordId": "00000000-0000-0000-0000-000000000000",
      "baseRevision": 0,
      "draftHistorySeqNo": 0
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}