openapi: 3.1.0 info: title: AgentGateway Admin / Debug Config Profiling API version: 1.0.0 description: AgentGateway exposes a local admin and debug HTTP API on its administrative bind address (default 127.0.0.1:15000) for inspecting runtime configuration, controlling logging, profiling, and triggering graceful shutdown. AgentGateway also forwards LLM, MCP and A2A traffic to upstream providers via dynamic routes, but those routes are user-configured rather than fixed paths. contact: name: AgentGateway url: https://agentgateway.dev/docs/ servers: - url: http://127.0.0.1:15000 description: Default admin / debug bind address (configurable via adminAddr) tags: - name: Profiling paths: /debug/pprof/profile: get: tags: - Profiling summary: CPU profile via pprof parameters: - name: seconds in: query required: false schema: type: integer default: 30 responses: '200': description: pprof CPU profile content: application/octet-stream: {} /debug/pprof/heap: get: tags: - Profiling summary: Heap profile via pprof responses: '200': description: pprof heap profile content: application/octet-stream: {}