OpenAI

platform.openai.com/docs
Score: 87 out of 100, grade B87
Grade B
Last checked: August 4, 2026 · afdocs v0.18.7 · Rerun
Share on
Simulation: Fern // bud
Day 0
CategoryAI/ML
Checks passed13/23Warnings5Failed4

OpenAI scores 87/100 (Grade B), passing 13 of 23 checks (57%). The documentation is broadly accessible to AI agents but has 9 areas that could be improved to better serve automated tooling.

# Agent Score Fix Report — OpenAI
URL: https://platform.openai.com/docs
Score: 87/100 (Grade B)

I need help improving the AI-readiness of the documentation at https://platform.openai.com/docs.
Agent Score found 4 failing checks and 5 warnings.

## Failing Checks (4)
- [page-size] Content Start Position: 3 of 10 sampled pages have content starting past 50% (worst 102%)
- [url-stability] Redirect Behavior: 3 JavaScript redirect(s) detected across 10 sampled pages
- [observability] Markdown Content Parity: 1 of 7 pages have substantive content differences between markdown and HTML (avg 6% missing)
- [observability] Cache Header Hygiene: 3 of 11 endpoints have aggressive caching or missing cache headers

## Warnings (5)
- [content-discoverability] Llms Txt Exists: llms.txt found but only reachable via cross-host redirect (agents may not follow it)
- [markdown-availability] Markdown Url Support: 7/10 sampled pages support .md URLs (70%); inconsistent support
- [markdown-availability] Content Negotiation: Content negotiation partially supported: 7 correct type, 0 wrong type, 3 HTML only
- [page-size] Page Size Html: 3 of 10 sampled pages convert to 50K–100K chars (max 644K HTML → 77K markdown (92% boilerplate))
- [authentication] Auth Gate Detection: 3 of 10 sampled pages require authentication (7 accessible)

## Fix Instructions

For each issue above, please:
1. Analyze the documentation site at https://platform.openai.com/docs
2. Implement the specific fix
3. Verify the fix would cause the check to pass

### Common fixes:
- **No llms.txt**: Create /llms.txt following https://llmstxt.org — list all doc pages in markdown format
- **No .md URL support**: Configure your docs platform to serve pages at equivalent .md URLs (e.g. /docs/quickstart.md)
- **No content negotiation**: Return markdown when request includes Accept: text/markdown header
- **Large page size**: Reduce nav boilerplate, inline scripts, and repetitive markup
- **No sitemap**: Generate /sitemap.xml listing all documentation URLs
- **Auth walls**: Ensure docs pages return 200 without requiring login cookies or tokens
- **No Last-Modified header**: Configure your server/CDN to include Last-Modified response headers
- **Tab content hidden**: Ensure tabbed content is rendered in the HTML (not JS-only) so agents can read all variants

## Run afdocs Locally for More Detail

To get deeper visibility into what's failing, run afdocs against your docs:

  npx afdocs check https://platform.openai.com/docs --fixes --verbose

- **--fixes**: Adds "Fix:" lines to the output for each warn/fail check with actionable remediation steps
- **-v, --verbose**: Shows per-page details (specific URLs, character counts, error codes) for checks with issues — useful for per-URL visibility into what's failing
CHECK RESULTS

How your docs scored

markdown-content-parity1 of 7 pages have substantive content differences between markdown and HTML (avg 6% missing)Learn more
cache-header-hygiene3 of 11 endpoints have aggressive caching or missing cache headersLearn more
llms-txt-coverageNo sitemap found; cannot assess llms.txt coverage without a sitemap as ground truthLearn more
markdown-url-support7/10 sampled pages support .md URLs (70%); inconsistent supportLearn more
content-negotiationContent negotiation partially supported: 7 correct type, 0 wrong type, 3 HTML onlyLearn more
redirect-behavior3 JavaScript redirect(s) detected across 10 sampled pagesLearn more
http-status-codesAll 10 sampled pages return proper error codes for bad URLsLearn more
content-start-position3 of 10 sampled pages have content starting past 50% (worst 102%)Learn more
page-size-html3 of 10 sampled pages convert to 50K–100K chars (max 644K HTML → 77K markdown (92% boilerplate))Learn more
rendering-strategyAll 10 sampled pages contain server-rendered contentLearn more
page-size-markdownAll 7 pages under 50K chars (median 16K, max 48K)Learn more
auth-gate-detection3 of 10 sampled pages require authentication (7 accessible)Learn more
auth-alternative-accessAlternative access detected (public-llms-txt, public-markdown, partial-public-access) for site with 3 auth-gated pagesLearn more
llms-txt-existsllms.txt found but only reachable via cross-host redirect (agents may not follow it)Learn more
llms-txt-validllms.txt follows the proposed structure (H1, blockquote, heading-delimited link sections)Learn more
llms-txt-sizellms.txt is 33,126 characters (under 50,000 threshold)Learn more
llms-txt-links-resolveAll 10 same-origin sampled links resolve (179 total links)Learn more
llms-txt-links-markdown10/10 same-origin sampled links point to markdown content (100%)Learn more
llms-txt-directive-htmlllms.txt directive found in HTML of all 7 sampled pages, near the top of content; 3 failed to fetchLearn more
llms-txt-directive-mdllms.txt directive found in markdown of all 7 sampled pages, near the top of content; 3 had no markdown versionLearn more
tabbed-content-serializationNo tabbed content detected across 10 sampled pagesLearn more
section-header-qualityNo tabbed content found; header quality check not applicableLearn more
markdown-code-fence-validityAll 86 code fences properly closed across 8 pagesLearn more

Built by Fern

Fern-powered docs are agent-ready by default.

Trusted by