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;
Authorization
Bearer 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
Format
int32PageToken.Skip?integer
Format
int32PageToken.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/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
}