identities
List Agents For Identity
Changed onGet all agents associated with the specified identity.
get/v1/identities/{identity_id}/agents
Request
- Base URLhttps://app.letta.com
- URLhttps://app.letta.com/v1/identities/{identity_id}/agents
- AuthHTTP bearer
Path parameters
identity_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
Example response
[
{
"memory": {
"blocks": [
{
"id": "block-123e4567-e89b-12d3-a456-426614174000"
}
],
"file_blocks": [
{
"id": "block-123e4567-e89b-12d3-a456-426614174000"
}
]
},
"tools": [
{
"id": "tool-123e4567-e89b-12d3-a456-426614174000"
}
],
"sources": [
{
"id": "source-123e4567-e89b-12d3-a456-426614174000"
}
],
"tool_exec_environment_variables": [
{
"id": "agent-env-123e4567-e89b-12d3-a456-426614174000"
}
],
"secrets": [
{
"id": "agent-env-123e4567-e89b-12d3-a456-426614174000"
}
]
}
]Changes
- info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- info
- info
added the optional property
/////to the response with the status
- info