FruxonDocs
ApiAgentdraft

List the files in one of the caller's test chats.

Returns the files tracked for this test chat — attachments the user sent and files the agent produced during the run. Owner-only — a conversation id owned by another FruxonUser returns an empty page (no existence leak). Files are keyed by session id, which equals the test chat id for Fruxon-native chats; see `docs/design/test-chats.md`.

GET
/v1/tenants/{tenant}/agents/{agent}/testChats/{testChat}/files
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 whose files to list.

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/files"
{
  "items": [
    {
      "fileId": "string",
      "displayName": "string",
      "contentType": "string",
      "sizeBytes": 0,
      "status": "TEMPORARY",
      "createdAt": 0,
      "downloadUrl": "string"
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}