AgentGateway Debug API

The Debug API from AgentGateway — 2 operation(s) for debug.

OpenAPI Specification

agentgateway-debug-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AgentGateway Admin / Config Debug 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: Debug
paths:
  /debug/trace:
    get:
      tags:
      - Debug
      summary: Stream a JSON-over-SSE trace of the next request
      responses:
        '200':
          description: SSE stream of trace events
          content:
            text/event-stream: {}
  /debug/tasks:
    get:
      tags:
      - Debug
      summary: Inspect the live tokio task tree
      responses:
        '200':
          description: Task tree