Get Workflow Metadata via API

Get Workflow Metadata via API

Is there a way to get metadata on workflows and/or custom functions via API? I would like to automatically pull this information.

I couldn't find it in the documentations, but I'm curious if there is an undocumented endpoint that could do this.