agents
List Agent Groups
Changed onLists the groups for an agent
get/v1/agents/{agent_id}/groups
Request
- Base URLhttps://app.letta.com
- URLhttps://app.letta.com/v1/agents/{agent_id}/groups
- AuthHTTP bearer
Path parameters
agent_idstring required
Query parameters
manager_typestring nullable
Manager type to filter groups by
beforestring nullable
Group ID cursor for pagination. Returns groups that come before this group ID in the specified sort order
afterstring nullable
Group ID cursor for pagination. Returns groups that come after this group ID in the specified sort order
limitinteger nullable
Maximum number of groups to return
order'asc' | 'desc'
Sort order for groups by creation time. 'asc' for oldest first, 'desc' for newest first
order_by'created_at'
Field to sort by
Response
Successful Response
Changes
- info
added the new optional
queryrequest parameterafter - info
added the new optional
queryrequest parameterbefore - info
added the new optional
queryrequest parameterlimit - info
added the new optional
queryrequest parameterorder - info
added the new optional
queryrequest parameterorder_by
- info