Get components available in dynamic zone

System Information
  • Strapi Version: 4.10.5
  • Operating System: Windows 11
  • Database: Postgres
  • Node Version: 16.17.1
  • NPM Version: 8.15.0
  • Yarn Version: -

I want to retrieve the available components in my Dynamic Zone.
I have a custom route called “getModel”

I want to send all the available attributes, so my frontend can handle the available components.
This should also work for the attributes, the component has.

This should help in creating a form inside the frontend.

I was searching the docs, and there is no service, regarding in getting the schema or retrieving the models.
One Solution i see is, to access the schema file directly, but that is hardly the correct solution.


Hey @Cascade,

Maybe this helps → Populate and Select | Strapi Documentation