How to Download File Assets by Filename Instead of Project ID
"<https://cdn.sanity.io/files/xxx/staging/482fa98946bfc2f8529f255a04d435f99f20ca526.pdf>"<https://cdn.sanity.io/files/xxx/staging/file_1.pdf>"<https://cdn.sanity.io/files/xxx/staging/482fa98946bfc2f8529f255a04d435f99f20ca526.pdf>"<https://cdn.sanity.io/files/xxx/staging/file_1.pdf><https://cdn.sanity.io/files/xxx/staging/download?file_1.pdf>*[_type == 'sanity.imageAsset' && originalFilename =='<your-file-name>'][0].urlWas this answer helpful?
Sanity – Build the way you think, not the way your CMS thinks
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.