folders
List Folder Files
List paginated files associated with a data folder.
get/v1/folders/{folder_id}/files
Request
- Base URLhttps://app.letta.com
- URLhttps://app.letta.com/v1/folders/{folder_id}/files
- AuthHTTP bearer
Path parameters
folder_idstring required
Query parameters
beforestring nullable
File ID cursor for pagination. Returns files that come before this file ID in the specified sort order
afterstring nullable
File ID cursor for pagination. Returns files that come after this file ID in the specified sort order
limitinteger nullable
Maximum number of files to return
order'asc' | 'desc'
Sort order for files by creation time. 'asc' for oldest first, 'desc' for newest first
order_by'created_at'
Field to sort by
include_contentboolean
Whether to include full file content
Response
Successful Response
Example response
[
{
"id": "file-123e4567-e89b-12d3-a456-426614174000"
}
]Changes
No recorded changes to this operation across all 36 revisions of this API.