List Agent Files
Changed onGet the files attached to an agent with their open/closed status (paginated).
Request
- Base URLhttps://app.letta.com
- URLhttps://app.letta.com/v1/agents/{agent_id}/files
- AuthHTTP bearer
Path parameters
Query parameters
File ID cursor for pagination. Returns files that come before this file ID in the specified sort order
File ID cursor for pagination. Returns files that come after this file ID in the specified sort order
Maximum number of files to return
Sort order for files by creation time. 'asc' for oldest first, 'desc' for newest first
Field to sort by
Pagination cursor from previous response (deprecated, use before/after)
Filter by open status (true for open files, false for closed files)
Response
Successful Response
Changes
- breaking
for the
queryrequest parameterlimit, default value was changed from20to100 - info
added the new optional
queryrequest parameterafter - info
added the new optional
queryrequest parameterbefore - info
added the new optional
queryrequest parameterorder - info
added the new optional
queryrequest parameterorder_by - info
queryrequest parametercursorwas deprecated - info
queryrequest parameterlimitlist-of-types was widened by adding typesnull - info
for the
queryrequest parameterlimit, the type was generalized fromintegerto no type
- breaking