Fix Kits · Agent Readiness · 5 of 159 points
Fix Kit: Protected Resource Metadata
Serve one RFC 9728 file, so an agent can find out at runtime how your API is protected and which server issues its tokens.
- Effort: An hour, if you already run an authorization server.
- Who needs it: 38,205 of the 43,745 providers it applies to don't get full credit (apis.io, scored 2026-11-21, rubric 0.28.1). 5,540 do, and 140 more get partial credit.
- You get: the full kit (PDF and Markdown): how to find what your API really does, step-by-step fix, starter schemas, an OpenAPI Overlay that applies it across your contract, a script that checks your work exactly the way the scorer does, and docs-platform notes.
What the check measures
An agent that gets a 401 from your API needs to know where to get a token. Without help it searches your docs. RFC 9728 (OAuth 2.0 Protected Resource Metadata) answers it directly: your API serves a small JSON document saying what it is and which authorization servers issue tokens for it, and your 401 responses point at that document.
The check asks: does your API serve RFC 9728 metadata that names its authorization servers?
| Grade | Score | What earns it |
|---|---|---|
| Verified (full 5 points) | 1.0 | A served /.well-known/oauth-protected-resource that returns JSON with a non-empty resource and a non-empty authorization_servers array |
| Documented | 0.5 | The same document with a non-empty resource, but no authorization_servers |
| None | 0 | Neither |
How it’s credited:
- The body is read, not the status. A 200 that returns your HTML homepage or a single-page-app shell earns nothing.
resourcemust be yours. Since rubric 0.28, theresourceURL has to be on one of your own registrable domains. Docs platforms (Mintlify, for example) and trust centers (SafeBase, for example) serve their own vendor’s metadata on paths under your docs or trust subdomain. That document describes the vendor, not you, and earns nothing.- MCP servers: RFC 9728 §3.1 allows path-inserted metadata, such as
https://mcp.example.com/.well-known/oauth-protected-resource/mcpfor a server at/mcp. If yourWWW-Authenticatechallenge names that URL, it counts too.
The rule is in signals/score.rb.
Overlap: the authorization server you list here is the one whose discovery document the Machine-Readable Auth kit and the Registration Without a Human kit work on.
The rule above is the public rubric (rubric page). The kit sells the working method: the steps, starters, overlay and check script.