Query assets by filename

I have several markdown files that I am placing in Storyblok that reference assets by name. It would be overly cumbersome to have to add each asset into the content entry. I would rather simple allow users to write the name of the image, in this case, and pull that asset from the assets folder. Is this something that is possible with Storyblok?

Hello @relgram,

the delivery API doesn’t allow retrieving of the asset objects that contain the URLs but when you need to fetch the assets during a build process or other for migration you could use the MAPI ( parameter search - Storyblok API Documentation) without exposing the OAuth token. If you need to do that client-side you could create a serverless function that will query the MAPI for them, without having to expose the OAuth token client-side.

Best regards
Hannes