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 pagination token returned by an external service. Pass it back unchanged rather than interpreting it as an offset.

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": [],
      "clientTurnId": "string",
      "tenantId": "00000000-0000-0000-0000-000000000000",
      "createdAt": 0,
      "executionRecordId": "00000000-0000-0000-0000-000000000000",
      "baseRevision": 0,
      "draftHistorySeqNo": 0,
      "interrupted": false,
      "deliveredDurationMs": 0,
      "medium": "TEXT",
      "spokenDelivery": "PENDING",
      "withheldOwnership": "BOT",
      "withheldReason": "HUMAN_OWNED_CONVERSATION",
      "withheldConsumedAt": 0
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}