The primary endpoint is the main outcome a trial is designed to measure, chosen in advance as the most relevant and convincing test of its main question.
There should generally be only one, and its exact definition should be fixed in the protocol, the written plan for the study, so that it is not redefined after the fact. Other outcomes are secondary endpoints, which support the main result or answer other questions. In the phase 2 trial of retatrutide, the primary endpoint was the change in body weight at 24 weeks, while the change at 48 weeks, when treatment ended, was a secondary endpoint.