◎ Discry Score
statsig.com
analytics · API
A
0 / 100
DISCOVERY0
COMPREHENSION0
Category leader: 92 (A)
Discry your API →
ANALYTICS · RANK #2 OF 29

Statsig is Agent-Ready to agents.

Discry independently scored how well an AI agent can discover and understand the Statsig API from what’s public — not whether it’s usable. Below: every signal we checked, what’s costing the score, and what to change.

Discry your API — freeView the docs ↗

SCORED UNDER RUBRIC 1.2 · A full re-launch under Discry Score 2.5 — a new behavioral instrument, not comparable to these scores — is in progress.

Discovery

45% of score · 90/100
OpenAPI specA machine-readable OpenAPI/Swagger spec agents can parse.Pass
llms.txtAn llms.txt index that points agents to the docs that matter.Pass
llms.txt qualityThe llms.txt is focused, current, and well under the size budget.Partial
llms-full.txtA full-text bundle agents can load in one request.Pass
AGENTS.mdAn AGENTS.md that tells coding agents how to build on the API.Pass
.well-known/mcp.jsonA discoverable MCP manifest at a well-known path.Fail
MCP registryThe API is listed in a public MCP registry.Pass
robots.txt AI directivesrobots.txt allows (or explicitly guides) AI crawlers.Pass
SitemapA sitemap so agents can enumerate the docs surface.Pass

Comprehension

55% of score · 91/100
Task-oriented descriptionsEndpoints described by what they accomplish, not just their shape.Pass
Realistic examplesRunnable, real-world request/response examples.Pass
Multi-step workflowsDocs that chain calls into complete jobs an agent can follow.Pass
Error-recovery guidanceDocumented failure modes and how to recover from them.Partial
Answer-first formatThe answer leads; preamble does not bury it.Pass
Capability boundariesClear limits — what the API can and cannot do.Pass
Naming consistencyConsistent, predictable naming across endpoints.Pass
Heading hierarchyClean heading structure agents can navigate.Pass
Markdown docsDocs available as clean markdown, not JS-rendered HTML only.Pass
Token efficiencyDocs are concise enough to fit an agent context window.Partial

What we found

  • An agent discovering Statsig would land softly: docs.statsig.com ships llms.txt, a 2.8MB llms-full.txt (792 pages), a versioned public OpenAPI spec, a sitemap, and a robots.txt that explicitly allows every major AI crawler (GPTBot, ClaudeBot, anthropic-ai, PerplexityBot, Google-Extended, CCBot and more) — blocking only internal /api/ utility routes.
  • Statsig is one of the most MCP-forward APIs scanned: it runs BOTH a public read-only Docs MCP server (get_page / list_pages / search_docs at docs.statsig.com/api/mcp) AND an authenticated Console MCP server (api.statsig.com/v1/mcp) with OAuth, and is listed as an official server on PulseMCP and Glama. An agent can manage gates and experiments via MCP with no scraping at all.
  • Comprehension is strong across the board: endpoint summaries are task-oriented, curl examples use realistic values, every concept is offered as clean markdown (via llms.txt, content negotiation, and the Docs MCP), and multi-step implementation guides walk an agent through end-to-end flows like 'Implement an Experiment'.
  • The one discovery gap is .well-known/mcp.json (404) — but it's effectively moot since Statsig advertises its MCP endpoints through the docs and registries instead, so an agent still finds them.
  • Token efficiency is the weakest comprehension signal: the surface area is large (feature flags + experiments + analytics + warehouse-native across 792 pages) and the llms.txt is ~140KB, so an agent narrowing to one capability must wade through more than the ideal <5K-token overview.

What to change

Prioritized by impact on discoverability. You (or your docs platform) deploy these — Discry never touches your API.

  1. 01Trim or split llms.txt: at ~140KB it exceeds the agent-friendly size guideline. Publish a lean, API-focused index (Console API + SDK quickstarts) separate from the full product link dump so agents can load core capabilities in <12K tokens.
  2. 02Add error-recovery guidance to the Console API reference: error codes (400/403) carry descriptions, but few document the concrete fix ('which parameter was invalid', 'retry after N seconds'). Pairing each common 4xx with an actionable recovery step would push error handling from partial to pass.
  3. 03Document idempotency for mutating Console API endpoints (POST/PATCH/DELETE), or state explicitly that retries are safe/unsafe — agents chaining operations need this to recover from network failures without duplicating writes.
  4. 04Add a .well-known/mcp.json manifest pointing at the existing Docs and Console MCP servers — a cheap, standards-based discovery hook that complements the registry listings already in place.
  5. 05Broaden AGENTS.md coverage: it exists and is genuinely useful in statsig-kit (Apple SDK), but adding equivalents to the primary docs and high-traffic SDK repos would give coding agents consistent build/test context across the org.

Execution coverage · INFORMATIONAL, UNSCORED

Whether an agent can actually complete a call and recover from errors is the deeper Audit layer — documented here, but not part of the Discry Score.

Console API Key (STATSIG-API-KEY header)OAuth (MCP / Personal Console API Keys)Client/Server SDK keys Error format documented Rate limits documented Pagination documented Idempotency documented

Execution characteristics are unusually well documented. The Console API exposes a versioned OpenAPI spec (20240601) with machine-parseable JSON error responses (status/message), explicit per-project rate limits (~100 req/10s, ~900 req/15min), and page/limit pagination on list endpoints. Idempotency keys are not documented for the REST API. Auth is consistently a STATSIG-API-KEY header, with OAuth supported for the MCP server.

See your own Discry Score.

Drop your API docs URL. See what an agent sees — in 60 seconds, free.

Discry your API — free