Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
chore: rename get to retrieve for archive docs (#6095)
cthomas3252630f7e02
diff --git a/fern/openapi.json b/fern/openapi.jsonindex 2c6dc6fbf..5808c8e81 100644--- a/fern/openapi.json+++ b/fern/openapi.json@@ -215,9 +215,9 @@"/v1/archives/{archive_id}": {"get": {"tags": ["archives"],- "summary": "Get Archive By Id",+ "summary": "Retrieve Archive","description": "Get a single archive by its ID.",- "operationId": "get_archive_by_id",+ "operationId": "retrieve_archive","parameters": [{"name": "archive_id",diff --git a/letta/server/rest_api/routers/v1/archives.py b/letta/server/rest_api/routers/v1/archives.pyindex 4e0a67d69..900178ee6 100644--- a/letta/server/rest_api/routers/v1/archives.py+++ b/letta/server/rest_api/routers/v1/archives.py@@ -115,8 +115,8 @@ async def list_archives(return archives[email protected]("/{archive_id}", response_model=PydanticArchive, operation_id="get_archive_by_id")-async def get_archive_by_id([email protected]("/{archive_id}", response_model=PydanticArchive, operation_id="retrieve_archive")+async def retrieve_archive(archive_id: ArchiveId,server: "SyncServer" = Depends(get_letta_server),headers: HeaderParams = Depends(get_headers),