Impossible to load OpenAI docs in context

Any luck loading OpenAI docs into ChatGPT context?

https://platform.openai.com/docs/api-reference/realtime

Both Firecrawl and WebFetch fail, because the docs are a huge JS-generated page.

I am currently resorting to copy & paste but it’s far from ideal…

Thanks,
Cocco

3 Likes

You can download following file:

https://app.stainless.com/api/spec/documented/openai/openapi.documented.yml

It is most recent OpenAPI specification for the OpenAI API can you find.

For example you shared this link:

https://platform.openai.com/docs/api-reference/realtime

The page displays:

And yaml file displays starting fron the line number 52887:

2 Likes

Fantastic, thanks! I did not know Stainless provided YAML docs for OpenAI APIs. Do you know how often they update it?

Brother im so sorry but i have next to no training in any of this what you read was a project im working on and i was just testing links… i copied and pasted it into my system and didnt give any prompt… its chatgpt base tier…

Visiting following link you can see Commits and updates.

GitHub - openai/openai-openapi: OpenAPI specification for the OpenAI API

2 Likes