List Agents For Folder
folders.agents.list(strfolder_id, AgentListParams**kwargs) -> AgentListResponse
/v1/folders/{folder_id}/agents
Get all agent IDs that have the specified folder attached.
Parameters
Returns
List[str]
List Agents For Folder
import os
from letta_client import Letta
client = Letta(
api_key=os.environ.get("LETTA_API_KEY"), # This is the default and can be omitted
)
agents = client.folders.agents.list(
folder_id="source-123e4567-e89b-42d3-8456-426614174000",
)
print(agents)
[
"string"
]
Returns Examples
[
"string"
]