Rest api to retrieving all the internal subworkflows from a workflow in camunda

I have a list of workflows.
when I start a workflow, I would like to get all the sub workflows it has. If possible, i would like to get workflow->sub workflows → sub sub workflows kind of view.

Please share if we already have any API in rest engine or If we can follow a procedure achieve this requirement.

Thanks,
Venkata Suresh.

Use a Business Key.
You can find details about how to use on T-Dog’s blogpost : https://blog.camunda.com/post/2018/10/business-key/