The short answer
The boy is Dharmapada, a character in a popular Odia folk legend about how the temple was finished. There is no solid historical evidence that he existed, and scholars often treat the story as a later addition.
The legend
In the story, the chief architect is Bishu Maharana, who leads about 1,200 craftsmen. Some accounts say the work was planned for twelve years. His son Dharmapada comes to the worksite as a boy of 12.
When the crown stone, called the kalasha, could not be set in place, the king is said to have threatened the workers if the work was not done by morning. Dharmapada sets the crown stone. The workers then argue about killing him, so that no one would learn that a child had finished the work. To end the dispute, he jumps from the top of the temple.
Versions differ on the details. Some say he gave his life to protect the other workers, and accounts disagree on whether he or his father made the final leap.
Where the story comes from
The legend is part of Odia tradition, but ancient Odia texts rarely mention the name. No reference to the story is known from before the 19th century. Its modern fame owes much to a poem called Dharmapada by Gopabandhu Das, which gave the character a clearer identity in modern Odia literature.
What history records
The temple is dated to the mid-13th century, under King Narasimhadeva I. One scholarly account gives construction dates of roughly 1243 to 1255 CE, a span of about twelve years, the same length the legend gives. That overlap is interesting, but it does not show that the story is true.
Why the story is still told
The legend celebrates craft and sacrifice, and it gives visitors a human figure to connect with a huge monument. Guides may tell it differently, so the details will vary from one telling to the next. For the building itself, the physical record of Konark Sun Temple architecture is clearer than the legend.