How to get prompt similar to prompt in side panel of Dall E-3 next to the image?

In Dall-e-3 a prompt is generated and shown when clicking on the information icon next to the image. I have created a website with Dall-E 3 API where images can be generated. Now I want to put that prompt in a variable in my own website to use as text later. Is this possible? I want to achieve this with JavaScript and possibly some PHP. So it is not about the prompt that the user created himself nor about the ‘revised prompt’. Just the prompt that is generated together with the image similar to the prompt in side panel of Dall E-3 next to the image.