Was the Agnipariksha a test for Rama?

For many Indians, Rama is god, and Ramayana is a holy text. Yet, there are some episodes in the epic that seem irreconcilable with the immaculate character of Rama, the most contentious being Sita’s agnipariksha.

Was Rama being unfair to Sita in urging her to take the trial by fire to prove her chastity?

Are we being fair to Rama when we try to judge him with our modern day yardstick?

How does Valmiki narrate this episode?

Do watch my video on Kulture Katha on whether the trial by fire was for Sita or, for Rama?!