Interact with an Agent Builder Workflow from the API

I created an agent with the Agent Builder but I want to consume it via the openai api: is it that possible? which are the right curls for doing so? thanks in advance,