Problem download latest master artifact return 404 not found

Hi I've project here and I want to download the latest artifact from master with the job build I use gitlab API this is the API https://gitlab.com/api/v4/projects/project-id/jobs/artifacts/master/download?job=build

Expected behaviour get artifact data

Acutal behaviour 404 not found

when I download with gitlab UI everything is fine but when I download with API it gives me 404