How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Fix Kits · Agent Readiness · 6 of 159 points

Fix Kit: Delegated User Identity

Let an agent act on behalf of a named user, with a token that says who, so your audit log can too.

$149
One check · 6 points
  • Effort: About a day if you already run OAuth.
  • Who needs it: 37,168 of the 43,745 providers it applies to don't get full credit (apis.io, scored 2026-11-21, rubric 0.28.1). 6,577 do, and 540 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 often works for a person. It books the meeting, files the expense, sends the invoice. When it calls you, there are two very different credentials it could hold: one that belongs to the integration itself, or one that carries the user it is acting for. Only the second lets your audit log say “the agent did this on behalf of Jane.” Section 10.3 of the IETF draft draft-klrc-aiagent-auth-00 splits exactly this way: the user delegates authorization, or the agent obtains its own.

The check asks: can a caller get a token scoped to the human it is acting for?

Grade Score What earns it
Served (full 6 points) 1.0 A served /.well-known/openid-configuration or /.well-known/oauth-authorization-server that returns JSON with a non-empty issuer, whose grant_types_supported lists authorization_code
Documented 0.5 An OpenAPI securityScheme of type: oauth2 with an authorizationCode flow, or type: openIdConnect
None 0 Neither

How it’s credited:

  • authorization_code must be listed explicitly. RFC 8414 says that when grant_types_supported is omitted, the default is authorization_code and implicit. The scorer doesn’t apply that default. A discovery document without the field earns nothing here, so list it.
  • The discovery document’s body is read, not its status. HTML, a single-page-app shell, or JSON without issuer earns nothing.
  • Served beats declared. A served document that lists the grant scores 1.0 whatever your contract says. A contract that declares the flow but points at nothing scores 0.5.

The rule is in signals/score.rb (delegated_identity).

This is not Machine-Readable Auth. That check asks how an agent gets a credential and whether it’s bound to the client. This one asks whether the credential can carry a user. A provider can do well on one and nothing on the other, which is why they’re scored apart.

Overlap: the discovery document here is the same one the Machine-Readable Auth kit asks you to serve, the one the Protected Resource Metadata kit points to, and the one the Registration Without a Human kit adds a registration_endpoint to. Do them together.

The rule above is the public rubric (rubric page). The kit sells the working method: the steps, starters, overlay and check script.

What a kit does and doesn't do. A kit teaches the fix. Your score changes only when you publish the change and the public apis.io pipeline reads it, so ask for a re-check from your provider page once it's live. Buying never moves a score. Want it applied to your own contract instead? Use Ask about this on your apis.io provider page for a tailored fix plan; the kit price is credited against it.