How to Use ChatGPT and Codex documentation search in ChatGPT
Returns matches from OpenAI's documentation search restricted to the ChatGPT Learn site. Use it to locate guidance for a specific question before reading the relevant page or section.
Prompts to try with ChatGPT and Codex documentation search in ChatGPT
Copy an example into ChatGPT, or ask in your own words.
Use ChatGPT and Codex documentation search to find official explanations of Codex hooks and show the most relevant source links.
Use ChatGPT and Codex documentation search to look this up and give me the result as a table.
Pull the latest numbers from ChatGPT and Codex documentation search and tell me what changed since last week.
Check ChatGPT and Codex documentation search and summarize what you find in three bullet points.
Pull the newest data from ChatGPT and Codex documentation search and give me the result as a table.
How to set up ChatGPT and Codex documentation search in ChatGPT
Pick the way that suits you. Each takes about two minutes.
Use the ChatGPT connector
- Add a custom MCP server
In ChatGPT open Plugins, then Add › Add custom MCP server. Name it Spiral, paste this URL and keep Authentication on OAuth. Tick I understand and want to continue, then click Create.
https://api.spiral.ai/mcp
- Click Connect
ChatGPT asks to connect Spiral. Connect takes you to Spiral in your browser.
- Sign in to Spiral and approve
Sign in, pick the organization ChatGPT should use and click Authorize. Spiral gives the connection its own API key; ChatGPT never sees it, and you can remove the connection under Settings › Connected apps.
Use the Spiral skill
- Send ChatGPT this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run ChatGPT and Codex documentation search
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "learn-chatgpt-com/developer-documentation/search_docs", "input": { "q": "<q>" } }'
Then paste one of the prompts above: ChatGPT finds ChatGPT and Codex documentation search on Spiral, shows the price and runs it.
ChatGPT and Codex documentation search providers and prices
Spiral runs ChatGPT and Codex documentation search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask ChatGPT for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 50 | 10 | Results to return (default 10). |
Every API field of ChatGPT and Codex docs · Search docs is on its tool page: open its card above.
What can you do with ChatGPT and Codex documentation search in ChatGPT?
Get an explanation of a ChatGPT or Codex feature backed by official source passages. A chat app can organize the relevant reading and explain how dated updates relate to the guidance.
Review an onboarding guide
Map the relevant ChatGPT Learn topics, find guidance for the guide's claims, read the source passages, and check dated updates for changes that require a rewrite.
Prepare a Codex migration assessment
Find the documentation for the workflow being migrated, assemble the related reading list, inspect exact instructions, and use changelog entries to explain relevant changes over time.
Maintain a support knowledge base
Compare support answers with official passages, discover missing documentation topics, and review release notes for fixes that make an old workaround unnecessary.
Build a topic-specific update briefing
Use hooks or plugins as the briefing topic. Combine dated announcements with a map of relevant guides and source passages that explain how the documented behavior works.
Check a hooks implementation
Locate the official hooks guidance and read the relevant sections before reviewing a project's lifecycle handlers. Use the passages to explain which implementation choices need attention.
More on ChatGPT and Codex documentation search and ChatGPT
Overview
ChatGPT and Codex documentation search in other agents
Questions about ChatGPT and Codex documentation search in ChatGPT
Can ChatGPT use ChatGPT and Codex documentation search?
Yes. Add Spiral to ChatGPT as an MCP server, and ChatGPT can find and run ChatGPT and Codex documentation search like any built-in tool.
How much does ChatGPT and Codex documentation search cost in ChatGPT?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your ChatGPT plan is separate.
Do I need an Alexandria account to use ChatGPT and Codex documentation search in ChatGPT?
No. Spiral runs ChatGPT and Codex documentation search on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up ChatGPT and Codex documentation search in ChatGPT?
About two minutes: add a custom MCP server, then click Connect, then sign in to Spiral and approve.
Does ChatGPT wait while ChatGPT and Codex documentation search runs?
ChatGPT and Codex documentation search runs in the background. ChatGPT starts the run, checks on it and gives you the json when it's ready.
What documentation does this source cover?
It covers the ChatGPT and Codex guides and references published on ChatGPT Learn. The documentation index identifies a combined export for those two products.
Does the documentation search cover the wider web?
The search uses OpenAI's own documentation search restricted to the ChatGPT Learn site. It is suitable for finding official guidance rather than community discussions or third-party tutorials.
Can the documentation be read as Markdown?
Yes. ChatGPT Learn publishes Markdown versions by appending .md to documentation page URLs, and provides llms.txt as its complete documentation index.
How often does the source publish feature summaries?
The documentation index describes What's new as a weekly digest. That describes the feature summary, rather than a guaranteed refresh schedule for every guide.
Where does OpenAI document smaller fixes and API changes?
What's new points to the ChatGPT and Codex changelog for versioned updates, bug fixes, and minor improvements. It links a separate API changelog, so ChatGPT and Codex update entries should not be treated as a complete API change history.
Start using ChatGPT and Codex documentation search in ChatGPT
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into ChatGPT:
set up https://spiral.ai/SKILL.md


