Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
feat: rename upsert properties endpoint (#6281)
cthomas09df9167f316
diff --git a/fern/openapi.json b/fern/openapi.jsonindex a4585f59b..78d043e36 100644--- a/fern/openapi.json+++ b/fern/openapi.json@@ -9581,8 +9581,8 @@"/v1/identities/{identity_id}/properties": {"put": {"tags": ["identities", "identities"],- "summary": "Upsert Identity Properties",- "operationId": "upsert_identity_properties",+ "summary": "Upsert Properties For Identity",+ "operationId": "upsert_properties_for_identity","parameters": [{"name": "identity_id",diff --git a/letta/server/rest_api/routers/v1/identities.py b/letta/server/rest_api/routers/v1/identities.pyindex dd81e87e5..b11ae4e93 100644--- a/letta/server/rest_api/routers/v1/identities.py+++ b/letta/server/rest_api/routers/v1/identities.py@@ -126,8 +126,8 @@ async def modify_identity(return await server.identity_manager.update_identity_async(identity_id=identity_id, identity=identity, actor=actor)[email protected]("/{identity_id}/properties", tags=["identities"], operation_id="upsert_identity_properties")-async def upsert_identity_properties([email protected]("/{identity_id}/properties", tags=["identities"], operation_id="upsert_properties_for_identity")+async def upsert_properties_for_identity(identity_id: IdentityId,properties: List[IdentityProperty] = Body(...),server: "SyncServer" = Depends(get_letta_server),