openapi: 3.2.0 info: title: AI Gateway MCP Server Whoami API description: Universal MCP Gateway with OAuth integration - Modern Architecture version: 2.0.3290 tags: - name: Whoami paths: /whoami: get: summary: Agent Whoami description: 'Agent whoami endpoint - Server identity and capabilities (Discovery - No Auth Required) Per ChatGPT Agent API best practices: - /whoami provides server identity and capabilities (unauthenticated) - Tool access requires authentication' operationId: agent_whoami_whoami_get responses: '200': description: Successful Response content: application/json: schema: {} tags: - Whoami