API Atlas — OpenAI + Anthropic + xAI + Gemini
Exhaustive, experimentally verified reference of everything you can do with the OpenAI, Anthropic, xAI (Grok) and
Google Gemini public APIs as of 2026-09-18/19: models, endpoints, parameters, objects, streaming events, tools, agents, realtime, media,
files, batch, fine-tuning, evals, admin, pricing, rate limits, errors, headers, SDKs, security, and a
multi-provider abstraction. Machine-readable first (generated/), human docs second (docs/), runnable
examples (examples/) and smoke tests (tests/) third.
Every fact carries a status (DOCUMENTED, LIVE_VERIFIED, LIVE_DISCOVERED, BETA, PREVIEW, LEGACY,
DEPRECATED, RETIRED, ACCOUNT_RESTRICTED, UNVERIFIED, FAILED_VERIFICATION) and its sources
(official URL + retrieval date). Nothing is claimed "tested" unless it was actually called with a real key
(see reports/live-requests.jsonl).
Start here
Setup
cp .env.example .env && chmod 600 .env # add OPENAI_API_KEY / ANTHROPIC_API_KEY / XAI_API_KEY / GEMINI_API_KEY
uv venv .venv && uv pip install --python .venv/bin/python openai anthropic xai-sdk google-genai pytest pyyaml jsonschema websockets
pnpm install # openai + @anthropic-ai/sdk + @google/genai for the TypeScript examplesRun an example: bash examples/anthropic/messages/minimal.sh, .venv/bin/python examples/openai/responses/minimal.py,
node --env-file=.env --experimental-strip-types examples/openai/responses/minimal.ts.
Run the smoke tests (cheap by default; expensive suites are gated by RUN_*_TESTS=true, see .env.example):
.venv/bin/python -m pytest -qRe-running the atlas (change detection)
python3 scripts/update_atlas.py # refresh indexes + crawl docs + /v1/models + rebuild + reports/changes.md
python3 scripts/build_generated.py # rebuild generated/ from generated/fragments/
.venv/bin/python scripts/validate_fragments.py
python3 scripts/verify_links.py # external + internal link check → reports/link-check.jsonreports/changes.md lists NEW/REMOVED MODELS, ENDPOINTS, TOOLS, PRICING CHANGES, CONTEXT WINDOW CHANGES,
NEW BETA FEATURES, DEPRECATIONS and the official pages whose content changed since the last run.
Layout
docs/ human documentation (openai/, anthropic/, xai/, gemini/, models/, tools/, endpoints/, errors/, comparisons/, architecture/, security/)
generated/ merged machine-readable outputs (+ fragments/ = curated inputs, + compatibility/ matrices, + capability graph)
examples/ runnable cURL / Python / TypeScript examples with verification status in each file header
tests/ pytest smoke tests (openai/, anthropic/, shared/)
scripts/ crawl, discover, build, validate, verify, update
sources/ downloaded official documentation (OpenAI 551, Anthropic 696, xAI 182, Gemini 291 pages), OpenAPI/discovery specs, SDK surfaces, sanitized live discovery
schemas/ JSON Schemas for every record type
reports/ live request log, coverage, changes, final reportSecurity rules: keys only in .env (600, gitignored), never in files or logs; admin endpoints are probed read-only;
all live tests use minimal payloads. See CLAUDE.md for the full conventions.