Documentation Index
Fetch the complete documentation index at: https://api.lensmor.com/llms.txt
Use this file to discover all available pages before exploring further.
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 Authentication
Success 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
{
"items": [
{
"id": "1024",
"fileName": "report.csv",
"fileSize": 10240,
"mimeType": "text/csv",
"status": "uploaded",
"createdAt": "1776743105123"
}
],
"total": 1,
"page": 1,
"pageSize": 20,
"totalPages": 1,
"hasMore": false
}
Error responses
Notes
- Results are ordered newest first.