Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
feat: enable listing agents by identity id (#1112)
cthomasbb2bf65668b6
diff --git a/letta/server/rest_api/routers/v1/agents.py b/letta/server/rest_api/routers/v1/agents.pyindex 70664d6b8..dd75d1cc3 100644--- a/letta/server/rest_api/routers/v1/agents.py+++ b/letta/server/rest_api/routers/v1/agents.py@@ -52,6 +52,7 @@ def list_agents(project_id: Optional[str] = Query(None, description="Search agents by project id"),template_id: Optional[str] = Query(None, description="Search agents by template id"),base_template_id: Optional[str] = Query(None, description="Search agents by base template id"),+ identifier_id: Optional[str] = Query(None, description="Search agents by identifier id"),identifier_keys: Optional[List[str]] = Query(None, description="Search agents by identifier keys"),):"""@@ -68,6 +69,7 @@ def list_agents("project_id": project_id,"template_id": template_id,"base_template_id": base_template_id,+ "identifier_id": identifier_id,}.items()if value is not None}