How to handle API endpoints being on different domain?

Our root domain is “example.com”, but our API lives on “adifferentdomain.com

I specified this different domain in the yaml document, but it seems to be requesting the path from the root domain.

Is this by design, or am I doing something wrong?

I believe this is by design.

Could you add and endpoint to http://example.com/ that forward the request to your actual api endpoint ?

Ah, fair enough. I ended up proxying the request so that did the trick :slight_smile:

You can read the domain policy here: OpenAI API

1 Like