Cloudflare pages website deployment via API not working

For Workes & Pages, what is the name of the domain?

apurvns.pages.dev

What is the issue or error you’re encountering

I am trying to deploy my static website files via pages deployment api, files deployed successfully but website is not loading, I can see files uploaded in newly created deployments via API, but I can’t access them in browser, there is no error in API response

What steps have you taken to resolve the issue?

I tried to purge cache, added manifest in request, but still website not loading if deployment is done via API call, If I upload from dashboard it works fine

What are the steps to reproduce the issue?

Try deploying pages website via API
https://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/pages/projects/${CLOUDFLARE_PROJECT_NAME}/deployments;

Files will be uploaded but browser not able to render files

File hierarchy is perfect, index.html is in root, if I upload same folder via cloudflare dashboard its working.

So, you’ve checked the Assets Uploaded listing in the Pages project, and dashboard vs API listings are identical?

Yes folder structure is identical Let me share screenshots

Folder structure via API :

Folder structure via dashboard upload: