async def get_collection(
            id: UUID = Path(
                ..., description="The unique identifier of the collection"
            ),
            auth_user=Depends(self.providers.auth.auth_wrapper()),
        ) -> WrappedCollectionResponse:
            """Get details of a specific collection.

            This endpoint retrieves detailed information about a single
            collection identified by its UUID. The user must have access to the
            collection to view its details.
            """
            await authorize_collection_action(
                auth_user, id, CollectionAction.VIEW, self.services
            )

            collections_overview_response = (
                await self.services.management.collections_overview(
                    user_ids=None,
                    collection_ids=[id],
                    offset=0,
                    limit=1,
                )
            )
            overview = collections_overview_response["results"]

            if len(overview) == 0:  # type: ignore
                raise R2RException(
                    "The specified collection does not exist.",
                    404,
                )
            return overview[0]  # type: ignore
Get details of a specific collection.

            This endpoint retrieves detailed information about a single
            collection identified by its UUID. The user must have access to the
            collection to view its details.
            
py/core/main/api/v3/collections_router.py