Creating an API endpoint — Workflow | GenAiHub