Pagination for API logs