FruxonDocs
ApiAgentdraft

List the caller's test chats for this agent.

Returns one entry per `:test` / `:streamTest` conversation the calling FruxonUser ran against this agent (Fruxon-native chat only; connector chats are out of scope here). Owner-only — other FruxonUsers' test chats are filtered out at the service layer. Same summary shape as the connector conversation list to keep the studio chat panel uniform; see `docs/design/test-chats.md`.

GET
/v1/tenants/{tenant}/agents/{agent}/testChats
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.

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"
{
  "items": [
    {
      "id": "string",
      "name": "string",
      "messagesCount": 0,
      "lastMessageCreatedAt": 0
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}