async def get_prompts(
            auth_user=Depends(self.providers.auth.auth_wrapper()),
        ) -> WrappedPromptsResponse:
            """List all available prompts.

            This endpoint retrieves a list of all prompts in the system. Only
            superusers can access this endpoint.
            """
            if not auth_user.is_superuser:
                raise R2RException(
                    "Only a superuser can list prompts.",
                    403,
                )
            get_prompts_response = (
                await self.services.management.get_all_prompts()
            )

            return (  # type: ignore
                get_prompts_response["results"],
                {
                    "total_entries": get_prompts_response["total_entries"],
                },
            )
List all available prompts.

            This endpoint retrieves a list of all prompts in the system. Only
            superusers can access this endpoint.
            
py/core/main/api/v3/prompts_router.py