OpenAI GraphQL
OpenAI does not offer a native public GraphQL endpoint. All official API access is provided through the OpenAI REST API at `https://api.openai.com/v1`. This schema is a comprehensive conceptual GraphQL representation derived from the OpenAI REST API surface, covering models, chat completions, embeddings, images, audio, files, fine-tuning, batches, assistants, threads, messages, runs, vector stores, uploads, moderations, and administration resources.
Overview
OpenAI GraphQL is a GraphQL API specification published by OpenAI on the APIs.io network.
OpenAI does not offer a native public GraphQL endpoint. All official API access is provided through the OpenAI REST API at https://api.openai.com/v1. This schema is a comprehensive conceptual GraphQL representation derived from the OpenAI REST API surface, covering models, chat completions, embeddings, images, audio, files, fine-tuning, batches, assistants, threads, messages, runs, vector stores, uploads, moderations, and administration resources.
The specification includes 2 reference links.
Tagged areas include Artificial Intelligence, Large Language Models, and T1.
Endpoint
References
- API Reference https://platform.openai.com/docs/api-reference
- Developer Portal https://developers.openai.com/
Related API Specs
Work with this as data
Every GraphQL schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for graphql
4 MCP tools reach this
find_graphqlBrowse and filter every GraphQL schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/graphql/openai-graphql"
curl "https://apis.io/api/v1/graphql?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.