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

# Get Graph Ir

> Framework-agnostic JSON IR — primary contract for UI rendering.



## OpenAPI

````yaml /standalone/openapi.json get /agent/graph
openapi: 3.1.0
info:
  title: Idun Agent Engine Server
  description: A production-ready server for conversational AI agents
  version: 0.6.1
servers: []
security: []
tags:
  - name: Runtime
    description: >-
      Public agent run endpoints, engine operations, and chat-channel webhooks.
      SSE streaming via the AG-UI protocol.
  - name: Agent Configuration
    description: >-
      Singleton admin endpoints for the agent, prompts, memory, guardrails, and
      onboarding wizard.
  - name: Auth & SSO
    description: >-
      Login, sessions, password change, SSO config, and the public SSO discovery
      endpoint.
  - name: Integrations & Tools
    description: MCP server registry and external integration credentials.
  - name: Observability
    description: Tracing/logging provider configuration.
  - name: Traces
    description: >-
      Trace and span storage admin endpoints — list, detail, delete, and
      pipeline-health for the standalone trace store.
  - name: Dashboard
    description: >-
      Operator dashboard widgets — KPIs, time-series, top errors, and
      configuration summary.
paths:
  /agent/graph:
    get:
      tags:
        - Runtime
      summary: Get Graph Ir
      description: Framework-agnostic JSON IR — primary contract for UI rendering.
      operationId: get_graph_ir_agent_graph_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentGraph'
components:
  schemas:
    AgentGraph:
      properties:
        format_version:
          type: string
          const: '1'
          title: Format Version
          default: '1'
        metadata:
          $ref: '#/components/schemas/AgentGraphMetadata'
        nodes:
          items:
            oneOf:
              - $ref: '#/components/schemas/AgentNode'
              - $ref: '#/components/schemas/ToolNode'
            discriminator:
              propertyName: kind
              mapping:
                agent:
                  $ref: '#/components/schemas/AgentNode'
                tool:
                  $ref: '#/components/schemas/ToolNode'
          type: array
          title: Nodes
        edges:
          items:
            $ref: '#/components/schemas/AgentGraphEdge'
          type: array
          title: Edges
      type: object
      required:
        - metadata
        - nodes
        - edges
      title: AgentGraph
    AgentGraphMetadata:
      properties:
        framework:
          $ref: '#/components/schemas/AgentFramework'
        agent_name:
          type: string
          title: Agent Name
        root_id:
          type: string
          title: Root Id
        warnings:
          items:
            type: string
          type: array
          title: Warnings
      type: object
      required:
        - framework
        - agent_name
        - root_id
      title: AgentGraphMetadata
    AgentNode:
      properties:
        kind:
          type: string
          const: agent
          title: Kind
          default: agent
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        agent_kind:
          $ref: '#/components/schemas/AgentKind'
        is_root:
          type: boolean
          title: Is Root
          default: false
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        model:
          anyOf:
            - type: string
            - type: 'null'
          title: Model
        loop_max_iterations:
          anyOf:
            - type: integer
            - type: 'null'
          title: Loop Max Iterations
      type: object
      required:
        - id
        - name
        - agent_kind
      title: AgentNode
    ToolNode:
      properties:
        kind:
          type: string
          const: tool
          title: Kind
          default: tool
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        tool_kind:
          $ref: '#/components/schemas/ToolKind'
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        mcp_server_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Mcp Server Name
      type: object
      required:
        - id
        - name
        - tool_kind
      title: ToolNode
    AgentGraphEdge:
      properties:
        source:
          type: string
          title: Source
        target:
          type: string
          title: Target
        kind:
          $ref: '#/components/schemas/EdgeKind'
        order:
          anyOf:
            - type: integer
            - type: 'null'
          title: Order
        condition:
          anyOf:
            - type: string
            - type: 'null'
          title: Condition
        label:
          anyOf:
            - type: string
            - type: 'null'
          title: Label
      type: object
      required:
        - source
        - target
        - kind
      title: AgentGraphEdge
    AgentFramework:
      type: string
      enum:
        - LANGGRAPH
        - ADK
        - CREWAI
        - CUSTOM
        - TRANSLATION_AGENT
        - CORRECTION_AGENT
        - DEEP_RESEARCH_AGENT
      title: AgentFramework
      description: Supported agent frameworks for engine.
    AgentKind:
      type: string
      enum:
        - llm
        - sequential
        - parallel
        - loop
        - custom
      title: AgentKind
    ToolKind:
      type: string
      enum:
        - native
        - mcp
        - built_in
      title: ToolKind
    EdgeKind:
      type: string
      enum:
        - parent_child
        - sequential_step
        - parallel_branch
        - loop_step
        - tool_attach
        - graph_edge
      title: EdgeKind

````