[Integrations](https://spiral.ai/integrations) › [Grok Build](https://spiral.ai/integrations/grok-build) › [OpenAI documentation page](https://spiral.ai/integrations/grok-build/openai-documentation-page)

# How to Use OpenAI documentation page in Grok Build

Returns an official OpenAI guide, reference, or cookbook page as Markdown, with an outline and section reads. Use it when you need the explanation behind a specification or reference entry.

|  |  |
| --- | --- |
| Model | OpenAI documentation page |
| 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 OpenAI documentation page in Grok Build

- Use OpenAI documentation page to read api/docs/guides/structured-outputs and review this project's JSON extraction code against the guide.
- Use OpenAI documentation page to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from OpenAI documentation page and tell me what changed since last week.
- Check OpenAI documentation page and summarize what you find in three bullet points.
- Pull the newest data from OpenAI documentation page and give me the result as a table.

## How to set up OpenAI documentation page in Grok Build

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

### Use Spiral's MCP server

1. **Add the server**: Add `--scope project` to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

```bash
grok mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `grok` and run `/mcps`. Select Spiral and press `i`. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

3. **Check it**

```bash
grok mcp doctor spiral
```

### Use the Spiral skill

1. **Send Grok Build 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 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 OpenAI documentation page**: 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": "developers-openai-com/developer-docs/get_page",
    "input": {
      "path": "<path>"
    }
  }'
```

Then paste one of the prompts above: Grok Build finds OpenAI documentation page on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok-build

## OpenAI documentation page tools and prices

- [OpenAI developer docs · Get page](https://spiral.ai/tools/alexandria/developers-openai-com/developer-docs/get_page) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | Alternatively a page URL on developers.openai.com or platform.openai.com/docs (redirects to developers.openai.com/api/docs). Pattern: ^https?://. |
| path |  | — | Site path with or without leading slash, .md suffix or #anchor, e.g. api/docs/guides/text, api/docs/models/gpt-6-astra, llms.txt. A platform-style docs/... path maps to api/docs/.... |
| section |  | — | Heading text or anchor; returns that heading and everything under it. |
| max_chars | 200 to 2000000 | — | Truncate content to this many characters (default 40000). |

## What can you do with OpenAI documentation page in Grok Build?

Produce an OpenAI integration review tied to the project's actual requests and model choices. A coding agent can compare those choices with official specifications, reference fields, guides, and dated announcements before proposing edits.

### Plan a Chat Completions migration

Build a migration checklist from dated API changes, request and response definitions, model capabilities, retirement notices, and published billing categories. Link each proposed code change to the relevant guide.

### Write a model selection decision

Evaluate models for a document extraction application using catalog entries, specifications, endpoint definitions, lifecycle notices, billing units, and implementation guides. Include recent announcements that affect the decision.

### Check a Responses API implementation

Compare a request builder and response parser with the documented method, then read the guides for the features the application uses. Check model specifications and dated changes when behavior depends on the selected model.

### Prepare a release readiness review

Before shipping an OpenAI integration, review its selected models, documented limits, API schemas, lifecycle status, and billing assumptions. Use the changelog and guides to identify documentation changes that need engineering review.

### Maintain an internal API reference

Update an engineering reference with documented request parameters, response fields, and explanations from official guides. Add dated changelog entries when they explain a change in the reference.

### Check workload sizing assumptions

Compare candidate models' context, input, and output limits with the application's expected document sizes. Review the published token billing categories and relevant guides before building an estimate.

### Prepare retirement handoff briefs

Turn announced shutdowns into engineering handoff briefs with affected model IDs, proposed replacements, specification differences, schema checks, and billing considerations. Include migration guides and related announcements.

### Investigate request compatibility errors

Check a failing OpenAI request against the method reference and selected model's specifications. Read the relevant guide and dated announcements to identify documented compatibility changes.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Grok Build guides](https://spiral.ai/integrations/grok-build)

## OpenAI documentation page in other agents

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

## More Grok Build guides

- [OpenAI API endpoint reference](https://spiral.ai/integrations/grok-build/openai-api-endpoint-reference)
- [OpenAI documentation search](https://spiral.ai/integrations/grok-build/openai-documentation-search)
- [OpenAI API changelog](https://spiral.ai/integrations/grok-build/openai-api-changelog)
- [OpenAI model catalog](https://spiral.ai/integrations/grok-build/openai-model-catalog)
- [Ollama publisher model catalog](https://spiral.ai/integrations/grok-build/ollama-publisher-model-catalog)
- [OpenAI model deprecations](https://spiral.ai/integrations/grok-build/openai-model-deprecations)

## Questions about OpenAI documentation page in Grok Build

**Can Grok Build use OpenAI documentation page?**

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run OpenAI documentation page like any built-in tool.

**How much does OpenAI documentation page cost in Grok Build?**

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

**Do I need an Alexandria account to use OpenAI documentation page in Grok Build?**

No. Spiral runs OpenAI documentation page on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up OpenAI documentation page in Grok Build?**

About two minutes: add the server, then sign in, then check it.

**Does Grok Build wait while OpenAI documentation page runs?**

OpenAI documentation page runs in the background. Grok Build starts the run, checks on it and gives you the json when it's ready.

**What public material does this source cover?**

OpenAI's documentation service provides read-only search and page content. The page reader covers official guides, references, and cookbook pages.

**Does the model catalog include deprecated models?**

Yes. OpenAI explicitly includes deprecated models in its full catalog, so a listed model still needs a lifecycle check.

**How detailed are the model specifications?**

They distinguish context capacity from input and output limits. For example, GPT-6.2 Sol lists a 1,050,000-token context window, 922,000 maximum input tokens, and 128,000 maximum output tokens.

**Are API announcements dated?**

Yes. The changelog's November 17, 2026 entry identifies GPT-6.2 Astra and GPT-6.2 Sol and tags the Responses and Chat Completions APIs.

**Can an agent read a specific part of a guide?**

Yes. The documentation page reader provides Markdown content with an outline and section reads for guides, references, and cookbook pages.

