When setting up a worker and worker route via the dashboard, the route gets assigned to my <sub>.workers.dev zone automatically. For example, I go through the "Create an app"->"Create a worker"->"Deploy "Hello World" script"->Deploy flow and my route is available under diana-247.workers.dev .
I'd like to be able to find/retrieve this same zone via the API so when I create a worker/route it gets assigned to the same worker.dev but I can't seem to get this data. I queried the list zones but that only shows my own domains. Is this available elsewhere, if so where?
Interact with Cloudflare's products and services via the Cloudflare API