folders
List Agents For Folder
Get all agent IDs that have the specified folder attached.
get/v1/folders/{folder_id}/agents
Request
- Base URLhttps://app.letta.com
- URLhttps://app.letta.com/v1/folders/{folder_id}/agents
- AuthHTTP bearer
Path parameters
folder_idstring required
Query parameters
beforestring nullable
Agent ID cursor for pagination. Returns agents that come before this agent ID in the specified sort order
afterstring nullable
Agent ID cursor for pagination. Returns agents that come after this agent ID in the specified sort order
limitinteger nullable
Maximum number of agents to return
order'asc' | 'desc'
Sort order for agents by creation time. 'asc' for oldest first, 'desc' for newest first
order_by'created_at'
Field to sort by
Response
Successful Response
string[] required
Changes
No recorded changes to this operation across all 36 revisions of this API.