[Integrations](https://spiral.ai/integrations) › [Notion](https://spiral.ai/integrations/notion) › [ChatGPT and Codex documentation search](https://spiral.ai/integrations/notion/chatgpt-and-codex-documentation-search)

# How to Use ChatGPT and Codex documentation search in Notion

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.

|  |  |
| --- | --- |
| Model | ChatGPT and Codex documentation search |
| Available through | Alexandria |
| Category | Developer |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with ChatGPT and Codex documentation search in Notion

- Every Friday, use ChatGPT and Codex documentation search for Codex hooks and review whether the results point to guidance missing from our reference briefing.
- Every Monday at 9am: 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 Notion

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send Notion this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Allow custom MCP servers**: A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.

2. **Add Spiral to a custom agent**: Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.

```text
https://api.spiral.ai/mcp
```

3. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Notion never sees it, and you can remove it under Settings › Connected apps in the console.

4. **Run ChatGPT and Codex documentation search in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds ChatGPT and Codex documentation search, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run ChatGPT and Codex documentation search**: One request; the result comes back by polling or a webhook.

```bash
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: Notion finds ChatGPT and Codex documentation search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/notion

## ChatGPT and Codex documentation search tools and prices

- [ChatGPT and Codex docs · Search docs](https://spiral.ai/tools/alexandria/learn-chatgpt-com/developer-documentation/search_docs) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 50 | 10 | Results to return (default 10). |
| cursor |  | — | next_cursor from an earlier result, to continue the same query. Pattern: ^[0-9]{1,6}\.[0-9]{1,3}\.[A-Za-z0-9+/=_-]{1,480}$. |

## What can you do with ChatGPT and Codex documentation search in Notion?

Keep a ChatGPT and Codex reference briefing current through scheduled documentation reviews. An always-on agent can report new release entries, changes to selected guides, or newly discovered reading material.

### 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Notion guides](https://spiral.ai/integrations/notion)

## ChatGPT and Codex documentation search in other agents

- [Amp](https://spiral.ai/integrations/amp/chatgpt-and-codex-documentation-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/chatgpt-and-codex-documentation-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/chatgpt-and-codex-documentation-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/chatgpt-and-codex-documentation-search)
- [Cline](https://spiral.ai/integrations/cline/chatgpt-and-codex-documentation-search)
- [Codex](https://spiral.ai/integrations/codex/chatgpt-and-codex-documentation-search)
- [Cursor](https://spiral.ai/integrations/cursor/chatgpt-and-codex-documentation-search)
- [Devin](https://spiral.ai/integrations/devin/chatgpt-and-codex-documentation-search)
- [dots](https://spiral.ai/integrations/dots/chatgpt-and-codex-documentation-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/chatgpt-and-codex-documentation-search)
- [Gemini](https://spiral.ai/integrations/gemini/chatgpt-and-codex-documentation-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/chatgpt-and-codex-documentation-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/chatgpt-and-codex-documentation-search)
- [goose](https://spiral.ai/integrations/goose/chatgpt-and-codex-documentation-search)
- [Grok](https://spiral.ai/integrations/grok/chatgpt-and-codex-documentation-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/chatgpt-and-codex-documentation-search)
- [Hermes](https://spiral.ai/integrations/hermes/chatgpt-and-codex-documentation-search)
- [Instinct](https://spiral.ai/integrations/instinct/chatgpt-and-codex-documentation-search)
- [Manus](https://spiral.ai/integrations/manus/chatgpt-and-codex-documentation-search)
- [Muse](https://spiral.ai/integrations/muse/chatgpt-and-codex-documentation-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/chatgpt-and-codex-documentation-search)
- [n8n](https://spiral.ai/integrations/n8n/chatgpt-and-codex-documentation-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/chatgpt-and-codex-documentation-search)
- [opencode](https://spiral.ai/integrations/opencode/chatgpt-and-codex-documentation-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/chatgpt-and-codex-documentation-search)
- [Raycast](https://spiral.ai/integrations/raycast/chatgpt-and-codex-documentation-search)
- [VS Code](https://spiral.ai/integrations/vscode/chatgpt-and-codex-documentation-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/chatgpt-and-codex-documentation-search)
- [Zapier](https://spiral.ai/integrations/zapier/chatgpt-and-codex-documentation-search)

## More Notion guides

- [ChatGPT and Codex documentation page](https://spiral.ai/integrations/notion/chatgpt-and-codex-documentation-page)
- [Claude (claude.com) Search docs](https://spiral.ai/integrations/notion/claude-claude-com-search-docs)
- [ChatGPT and Codex documentation index](https://spiral.ai/integrations/notion/chatgpt-and-codex-documentation-index)
- [Claude API endpoint reference](https://spiral.ai/integrations/notion/claude-api-endpoint-reference)
- [ChatGPT and Codex changelog](https://spiral.ai/integrations/notion/chatgpt-and-codex-changelog)
- [Claude API release notes](https://spiral.ai/integrations/notion/claude-api-release-notes)

## Questions about ChatGPT and Codex documentation search in Notion

**Can Notion use ChatGPT and Codex documentation search?**

Yes. Add Spiral to Notion as an MCP server, and Notion can find and run ChatGPT and Codex documentation search like any built-in tool.

**How much does ChatGPT and Codex documentation search cost in Notion?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Notion plan is separate.

**Do I need an Alexandria account to use ChatGPT and Codex documentation search in Notion?**

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 Notion?**

About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.

**Does Notion wait while ChatGPT and Codex documentation search runs?**

ChatGPT and Codex documentation search runs in the background. Notion 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.

