How to get the HTML content of the job URL?

Hello everyone!

I’m trying to analyze the failure reason for massive jobs, so I need to get the content of the alert balloon if the job exceeded the maximum execution time. However, I failed to get the HTML content of the job URL.

I’ve tried to access with curl --header "Private-Token: <token>" <url>, but the only thing I get is something like "You are being redirected signin“

Is there any method to get the HTML content (or the alert balloon directly)? I really appreciate your kind assistance.