> ## Documentation Index
> Fetch the complete documentation index at: https://docs.veadk.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Get an event graph

> Return a DOT graph highlighting nodes associated with the event; return an empty object when the event or graph is unavailable

Available only with the development UI enabled, such as `veadk web` or `adk api_server --with_ui`; the default `adk api_server` does not expose this endpoint



## OpenAPI

````yaml productions/api-reference/openapi/en/agent-api-server.json GET /dev/apps/{app_name}/users/{user_id}/sessions/{session_id}/events/{event_id}/graph
openapi: 3.1.0
info:
  title: Agent API Server
  version: google-adk 2.2.0
  description: >-
    Public HTTP endpoints for Google ADK 2.2.0; /dev routes require the
    development UI to be enabled
servers:
  - url: http://localhost:8000
    description: Local server
security: []
tags:
  - name: Service and applications
  - name: Sessions
  - name: Agent execution
  - name: Artifacts
  - name: Memory
  - name: Evaluation · development server
  - name: Debugging · development server
  - name: Compatibility endpoints
paths:
  /dev/apps/{app_name}/users/{user_id}/sessions/{session_id}/events/{event_id}/graph:
    get:
      tags:
        - Debugging · development server
      summary: Get an event graph
      description: >-
        Return a DOT graph highlighting nodes associated with the event; return
        an empty object when the event or graph is unavailable


        Available only with the development UI enabled, such as `veadk web` or
        `adk api_server --with_ui`; the default `adk api_server` does not expose
        this endpoint
      operationId: agentApiGetEventGraph
      parameters:
        - name: app_name
          in: path
          required: true
          schema:
            type: string
            title: App Name
          description: Application name
          example: travel_assistant
        - name: user_id
          in: path
          required: true
          schema:
            type: string
            title: User Id
          description: User ID
          example: user-001
        - name: session_id
          in: path
          required: true
          schema:
            type: string
            title: Session Id
          description: Session ID
          example: session-001
        - name: event_id
          in: path
          required: true
          schema:
            type: string
            title: Event Id
          description: Event ID
          example: event-001
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/GetEventGraphResult'
                  - type: object
                    maxProperties: 0
        '422':
          description: Request validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GetEventGraphResult:
      properties:
        dotSrc:
          type: string
          title: Dotsrc
          description: Graph definition in Graphviz DOT format
      type: object
      required:
        - dotSrc
      title: GetEventGraphResult
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
          description: Error details
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
          description: Location of the invalid field
        msg:
          type: string
          title: Message
          description: Validation error message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````