Agent files list
List generated files available to the authenticated user. Use this endpoint to show generated-file history for the authenticated user.Endpoint
GET /external/agent-files/list
Authentication
See AuthenticationSuccess status code
200 OK
Query parameters
| Name | Required | Type | Notes |
|---|---|---|---|
page | No | integer | Defaults to 1. |
pageSize | No | integer | Defaults to 20. |
Response body
Top-level fields
| Field | Type | Notes |
|---|---|---|
items | object[] | Generated files visible to the authenticated user. |
total | integer | Total files that match the current filter. |
page | integer | Current page number. |
pageSize | integer | Page size used for this response. |
totalPages | integer | 0 when total is 0. |
hasMore | boolean | true when another page exists. |
items[] fields
| Field | Type | Notes |
|---|---|---|
id | string | File record identifier. |
fileName | string | Original file name. |
fileSize | integer or null | Uploaded file size in bytes when known. |
mimeType | string | MIME type for the file. |
status | string | File upload status. |
createdAt | string | Millisecond timestamp serialized as a string. |
Response example
Error responses
401 Unauthorized
Notes
- Results are ordered newest first.