Skip to content
agentsub
Esc
↑↓navigate↵open⌘Jpreview

Protected resource metadata (API)

GET/.well-known/oauth-protected-resource
Responses
200

RFC 9728 metadata

resourcestring
authorization_serversstring<uri>[]
scopes_supportedstring[]
bearer_methods_supportedstring[]
resource_documentationstring<uri>
Request
curl -X GET 'https://api.agentsub.dev/.well-known/oauth-protected-resource' \
  -H 'Accept: application/json'
Response
{
  "resource": "string",
  "authorization_servers": [
    "http://example.com"
  ],
  "scopes_supported": [
    "agentsub:agent"
  ],
  "bearer_methods_supported": [
    "header"
  ],
  "resource_documentation": "http://example.com"
}