chore: rename get to retrieve for archive docs (#6095)

This commit is contained in:
cthomas
2025-11-19 16:11:57 -08:00
committed by Caren Thomas
parent fa1e9c600d
commit 3252630f7e
2 changed files with 4 additions and 4 deletions

View File

@@ -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",

View File

@@ -115,8 +115,8 @@ async def list_archives(
return archives
@router.get("/{archive_id}", response_model=PydanticArchive, operation_id="get_archive_by_id")
async def get_archive_by_id(
@router.get("/{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),