Serve index.json instead index.html in CloudflarePages

I’m trying to host a static API, I do it with redirects from $url/ to $url/index.json but I’m looking if there is another way to do this?

There might be a way with Transform rules, but without a Business or Enterprise plan, regex is probably out of the question.