Endpoint
/.well-known/ convention used by OpenID Connect and other discovery protocols. It returns a JSON document describing everything an agent needs to interact with your service.
Response Format
The discovery document is returned with the following headers:Content-Type: application/json; charset=utf-8Cache-Control: public, max-age=3600(1 hour cache)X-AgentDoor-Version: 1.0
Protocol version, currently
"1.0"Human-readable service name
Brief description of what your service does
Path to the registration endpoint, always
"/agentdoor/register"Path to the authentication endpoint, always
"/agentdoor/auth"List of scopes that agents can request access to
Supported authentication methods. Possible values:
"ed25519-challenge"- Ed25519 public key challenge-response"x402-wallet"- Crypto wallet signature (when x402 is enabled)"jwt"- JWT token (available after initial authentication)
Rate limit information
Links to companion protocol endpoints
Payment protocol configuration (only present when x402 is enabled)
URL to service documentation
Support contact email address
Example Request
Example Response
Caching
The discovery document is cacheable for up to 1 hour (max-age=3600). Agents should cache this document and only refetch when:
- The cache expires
- They receive a
404or error when attempting to use cached endpoint paths - They need to check for updated scope or pricing information
Use Cases
- Initial Discovery: Agents fetch this document before registration to understand available scopes and pricing
- Capability Check: Agents verify which authentication methods are supported
- Rate Limit Planning: Agents review rate limits to plan request patterns
- Companion Protocols: Agents discover links to A2A agent cards or MCP servers
- Payment Setup: Agents learn payment requirements and supported networks