Creating an API endpoint — Workflow | Genaihub