Sncfsncf.fr

ScoredJul 30, 2026, 06:42 AM

SNCF's API design foundation is strong, with a machine-readable contract and clean schema already in place — a solid base for partner integrations. However, the partner program is being held back by two critical gaps: partners have no self-service entry point to discover, understand, and run the APIs without a sales conversation, and agents cannot reliably find, parse, or execute against the API surface.

API DesignA clean, typed, well-governed API contract agents can reason about3 pass2 warn0 fail84A
SignalPointsFindingsRationale
passAuth declared & discoverablevia spec25/25Authentication required (global or on every operation). Investigated: spec 100%, docs 100%.Agents can only authenticate when auth is declared, scoped, and discoverable.
warnMachine-readable, versioned contractvia spec18.8/25info.version="v2.1" set but no versioning scheme (URL / header / media type) detected. Investigated: spec 75%, docs 50%.A current OpenAPI version with a declared versioning scheme lets agents reason about the contract.
passSecurity & governance hygienevia spec15/15No credential-shaped strings detected in spec. Investigated: spec 100%, wellknown 0%.No leaked secrets, no critical lint violations, no OWASP API Top-10 spec smells, and a published vulnerability-disclosure channel.
warnSchema coverage & depthvia spec12.5/25Only 56% of operations have documented schemas. Investigated: spec 50%, sdk 0%.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%, spec 0%, docs 0%.Examples carry shape semantics schemas under-specify — for humans and agents alike.
Developer ExperienceThe context both developers and agents need to integrate fast — onboarding, code samples, complete descriptions and worked examples2 pass0 warn3 fail49F
SignalPointsFindingsRationale
passDescription completenessvia spec15/1573% description completeness (target 90%+). Investigated: spec 100%, sdk 100%.Complete descriptions are the context humans and agents need to use endpoints.
passChangelog publishedvia sdk13/13Newest official SDK activity 28 day(s) ago. Investigated: sdk 100%, spec 0%, docs 0%.A published changelog lets partners track changes without surprise.
failSelf-service developer portalvia docs0/29No self-service signup detected: no signup link found on the homepage or docs, and no conventional signup path (/signup, /sign-up, /register, /get-started, /console/signup, /dashboard/signup, /try, /try-free, /free, /free-trial, /start, /start-free, /join, /create-account, /account/signup, /auth/signup, /users/sign_up) resolved. Investigated: docs 0%.Self-serve key/account creation is the fast first call for partners, with no sales gate.
failQuickstart presentvia docs0/25No quickstart/getting-started page found at the conventional paths. Investigated: docs 0%.A quickstart is the fastest path from landing page to first successful call.
failCode samples in docsvia docs0/18No detectable code samples across 15 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 docs1 pass2 warn1 fail60C
SignalPointsFindingsRationale
warnDocs reachable, not hard auth-gatedvia docs22.5/30Server ignores Accept: text/markdown header (0/4 pages return markdown). Investigated: docs 75%.Agents can only index and fetch docs they can reach — past auth gates and over correct HTTP semantics.
warnRegistry & SDK presencevia sdk14/28No MCP server, tool manifest, or list-tools capability is discoverable (server entrypoint: absent, tool manifest: unknown, list-tools: unknown). Investigated: sdk 50%, docs 0%, cli 0%.Listing in MCP registries and publishing SDKs puts the API where agents and their tooling look.
passCrawlable / AEOvia wellknown12/12Docs paths crawlable by all monitored AI agents. Investigated: wellknown 100%.Bots allowed plus a fresh sitemap make docs findable by agent crawlers.
failllms.txt present, valid & comprehensivevia docs0/30No llms.txt found at any candidate location (https://numerique.sncf.com/startup/api/llms.txt, https://numerique.sncf.com/llms.txt, https://numerique.sncf.com/docs/llms.txt); 1 failed to fetch. Investigated: docs 0%, sdk 0%.A valid, comprehensive llms.txt is the machine-readable entry point for agents.
Agent UnderstandingAgents can correctly interpret your APIs — machine-readable errors, consistent descriptions, structured data, parseable docs2 pass1 warn2 fail78B
SignalPointsFindingsRationale
passMachine-readable errors (RFC 9457)via docs28/284 distinct 4xx/5xx response codes documented. Investigated: docs 100%, spec 50%.RFC 9457 problem details and a documented error-code inventory let agents parse failures without burning tokens.
passOperation purpose clarityvia spec25/25100% of operations have a clear summary + operationId an agent can select on. Investigated: spec 100%.Agents select the right endpoint from its summary + operationId; clear, named operations make tool-selection reliable — the strongest driver of correct tool choice.
warnAgent-navigable, token-efficient docsvia docs15.7/22No pages support .md URLs (0/4 tested). Investigated: docs 71%.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 2 assessed pages (2 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.
naDescription consistency across surfaces—/7Only 1 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 them0 pass1 warn3 fail43F
SignalPointsFindingsRationale
warnSandbox separationvia sdk10/20No test-mode flag or sandbox environment is exposed. Investigated: sdk 50%.An isolated environment lets agents exercise destructive operations safely.
failIdempotency documentedvia sdk0/27No built-in retry machinery was found; transient failures are not retried. Investigated: sdk 0%.Documented idempotency lets agents retry safely.
failRate-limit signalingvia spec0/22No rate-limit response headers documented. Investigated: spec 0%, docs 0%.Machine-readable rate-limit headers let agents throttle adaptively.
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.
naPagination documented & consistent—/22No surface produced evidence for this capability in this run.Consistent, documented pagination lets agents traverse collections.
Resources Discovered

The public resources we found for Sncf — the evidence behind the score. All discovered from public sources; nothing here requires access to your systems.

APIs analyzed1Explore API
Want to improve your results?