Sanitysanity.io

ScoredJul 29, 2026, 12:17 AM

Sanity's API program shows strong discoverability and doc parseability, but two areas are holding back partner and agent adoption: agents lack the structured context and instructions they need to reliably understand and use the API, and partners cannot make a verified first call against a runnable, tested collection. Fixing agent-facing context, structured docs, and executable onboarding will unlock self-serve partner success and make Sanity's APIs agent-ready without a manual assist.

API DesignA clean, typed, well-governed API contract agents can reason about1 pass3 warn1 fail64C
SignalPointsFindingsRationale
warnMachine-readable, versioned contractvia cli18.8/25`--help --format json` exits 0 but output is not JSON. Investigated: cli 75%.A current OpenAPI version with a declared versioning scheme lets agents reason about the contract.
warnSchema coverage & depthvia sdk17.4/2510 of 79 public signatures use loose types (anyTypeRatio=0.127). Investigated: sdk 70%.Typed, complete request/response schemas are what make agent function-calling possible.
passExample coveragevia sdk10/10README is present and includes a runnable quickstart. Investigated: sdk 100%, cli 100%, docs 0%.Examples carry shape semantics schemas under-specify — for humans and agents alike.
warnSecurity & governance hygienevia wellknown7.5/15security.txt present but missing or expired Expires. Investigated: wellknown 50%.No leaked secrets, no critical lint violations, no OWASP API Top-10 spec smells, and a published vulnerability-disclosure channel.
failAuth declared & discoverablevia cli0/25no auth/config hint in --help. Investigated: cli 0%.Agents can only authenticate when auth is declared, scoped, and discoverable.
Developer ExperienceThe context both developers and agents need to integrate fast — onboarding, code samples, complete descriptions and worked examples2 pass2 warn1 fail68C
SignalPointsFindingsRationale
passSelf-service developer portalvia docs29/29Signup page at https://www.sanity.io/get-started; no free-tier language detected in docs/pricing. Investigated: docs 100%.Self-serve key/account creation is the fast first call for partners, with no sales gate.
passChangelog publishedvia sdk13/13Newest official SDK activity 0 day(s) ago. Investigated: sdk 100%.A published changelog lets partners track changes without surprise.
warnQuickstart presentvia docs12.5/25Quickstart page reachable (3 variants scanned starting at https://www.sanity.io/docs/getting-started) but no runnable code sample detected in HTML or .md variant. Investigated: docs 50%.A quickstart is the fastest path from landing page to first successful call.
warnDescription completenessvia sdk5.7/1531/50 operations lack a description. Investigated: sdk 38%.Complete descriptions are the context humans and agents need to use endpoints.
failCode samples in docsvia docs0/18No detectable code samples across 20 sampled docs pages. Investigated: docs 0%.Multi-language samples shorten time-to-first-call.
Agent DiscoveryPartners and their agents can find your APIs — llms.txt, registries, crawlable and reachable docs3 pass1 warn0 fail97A+
SignalPointsFindingsRationale
passllms.txt present, valid & comprehensivevia docs30/30llms.txt found at 2 locations; using https://www.sanity.io/docs/llms.txt as canonical. Investigated: docs 100%, sdk 0%.A valid, comprehensive llms.txt is the machine-readable entry point for agents.
passDocs reachable, not hard auth-gatedvia docs30/30All 50 sampled pages are publicly accessible. Investigated: docs 100%.Agents can only index and fetch docs they can reach — past auth gates and over correct HTTP semantics.
passRegistry & SDK presencevia cli28/28Official CLI at sanity-io/cli with published releases (installable). Investigated: cli 100%, sdk 67%, docs 0%, mcp 0%, wellknown 0%.Listing in MCP registries and publishing SDKs puts the API where agents and their tooling look.
warnCrawlable / AEOvia wellknown9/12Sitemap present (6 entries) but carries no lastmod values. Investigated: wellknown 75%.Bots allowed plus a fresh sitemap make docs findable by agent crawlers.
Agent UnderstandingAgents can correctly interpret your APIs — machine-readable errors, consistent descriptions, structured data, parseable docs1 pass1 warn2 fail73B
SignalPointsFindingsRationale
passMachine-readable errors (RFC 9457)via sdk28/28Single base error "BaseException" with 6 subclasses. Investigated: sdk 100%, cli 0%.RFC 9457 problem details and a documented error-code inventory let agents parse failures without burning tokens.
warnAgent-navigable, token-efficient docsvia docs17.6/222 of 2 page(s) with tab headers don't distinguish between variants. Investigated: docs 80%.Server-rendered, clean, small-footprint docs are what an agent can cheaply fetch and parse correctly.
failAgent instructions file (AGENTS.md)via wellknown0/10No AGENTS.md at the site root or /.well-known/. Investigated: wellknown 0%.An AGENTS.md gives coding agents explicit setup, auth, and usage instructions to interpret and operate the API — beyond llms.txt's link index.
failDocs structured datavia docs0/8Neither JSON-LD nor OpenGraph/meta tags detected across 3 assessed pages (3 JS-rendered). Investigated: docs 0%.Structured data (JSON-LD/schema.org) on docs pages gives agents an unambiguous parse target and is what answer engines cite. Detected on the JS-rendered head (Firecrawl) for a bounded page budget, so JS-injected JSON-LD is now caught; pages we can't render are excluded rather than failed.
naOperation purpose clarity—/25No surface produced evidence for this capability in this run.Agents select the right endpoint from its summary + operationId; clear, named operations make tool-selection reliable — the strongest driver of correct tool choice.
naDescription consistency across surfaces—/7Only 0 surface description(s) with ≥6 tokens available; need at least 2 to compare.Every surface tells the same story about what the product is.
Agent UsabilityAgents have the context to use your APIs reliably, not just find them2 pass0 warn1 fail86A
SignalPointsFindingsRationale
passIdempotency documentedvia sdk27/27Built-in retry machinery is present (grep-derived). Investigated: sdk 100%, cli 0%.Documented idempotency lets agents retry safely.
passSandbox separationvia sdk20/20Sandbox environments are exposed (sandbox). Investigated: sdk 100%.An isolated environment lets agents exercise destructive operations safely.
failRunnable collection with test scriptsvia platform0/9No public Postman workspace discovered for the org. Investigated: platform 0%.A public, maintained collection with assertions is runnable truth agents validate against.
naRate-limit signaling—/22No surface produced evidence for this capability in this run.Machine-readable rate-limit headers let agents throttle adaptively.
naPagination documented & consistent—/22No surface produced evidence for this capability in this run.Consistent, documented pagination lets agents traverse collections.
Want to improve your results?