Where does OpenAI document the IP addresses that serve the OpenAI API plaform? I’ve found documentation on inbound IP addresses for ChatGPT Actions, but I want to limit egress traffic from my instances.
The safest way is probably to just look at the dns records for api.openai.com.
I suspect that they’re liable to change, so your best bet is probably to enforce it on the (sub)domain level and ensuring your dns traffic is on lock.
Hi Diet. Is this the official stance of OpenAI?
One of the purposes of providing a separate list is to for users to have an alternative mechanism to validate that outgoing connections are correct. DNS is not sufficient, and I have no control over OpenAI’s DNS security methods, which is what I am worried about.
And note, this information is very commonly provided by SaaSes.
No, this is just a self help solution.
Their documentation is also sometimes out of date or simply wrong, so, idk what’s better lol.
They’re on cloudflare, and the IPs might even be managed by cloudflare(?), if that link is compromised then we’re all gonna have big issues lol.
That said, you’re not the first to ask (OpenAI Rest API IP CIDR for Connections), so I’m gonna tag your question as a feature request and let’s hope that an employee considers it