async def get_multi_by_organization(
        self,
        db: AsyncSession,
        organization_id: UUID,
        current_user: schemas.User,
        skip: int = 0,
        limit: int = 100,
    ) -> List[Collection]:
        """Get all collections for a specific organization with computed ephemeral statuses."""
        result = await db.execute(
            select(Collection)
            .where(Collection.organization_id == organization_id)
            .offset(skip)
            .limit(limit)
        )
        collections = list(result.scalars().all())

        # Compute and set the ephemeral status for each collection
        collections = await self._attach_ephemeral_status(db, collections, current_user)

        return collections
Get all collections for a specific organization with computed ephemeral statuses.
backend/airweave/crud/crud_collection.py