The UN Human Rights Council has voted to investigate violence in the recent conflict between Israel and Hamas.
The body approved the resolution, brought by a group of Islamic countries, by 24 votes to nine, reports the BBC.
But the United States said the decision threatened to endanger progress in bringing calm to the region.
At least 242 people were killed in Gaza and 13 were killed in Israel during 11 days of fierce fighting that ended on Friday with an Egyptian-brokered truce.
The violence came after weeks of spiralling Israeli-Palestinian tension in occupied East Jerusalem which culminated in clashes at a holy site revered by both Muslims and Jews.
Hamas began firing rockets into Israel after warning it to withdraw from the site, triggering retaliatory air strikes from Israel on Gaza targets.
The text of the resolution, brought by the Organisation of Islamic Conference (OIC) and the Palestinian delegation, calls for a permanent Commission of Inquiry to be set up to report on rights violations in Israel, the West Bank and Gaza.
It also calls for the investigation of "all underlying root causes of recurrent tensions, instability and protraction of conflict".
Opening the council session, UN human rights chief Michele Bachelet said she was concerned about the high level of casualties in Gaza and warned that Israeli strikes might constitute war crimes.
She also described Hamas rocket fire at Israel as indiscriminate and a "clear violation" of international humanitarian law.
Nine members, including several Western countries, voted against the resolution and another 14 abstained. China and Russia were among those voting in favour.
The US, which only has observer status at the council, did not take part in the debate.