{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/edgechat-ai/json-schema/edgechat-ai-get-graph-response-schema.json",
  "title": "GetGraphResponse",
  "description": "Shape read from a live answer of 2026-10-07; fields may be added, never renamed or removed. Every field is optional: an answer carries the fields of its own branch.",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/edgechat-ai-openapi.json#/components/schemas/GetGraphResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "depth": {
      "type": "integer"
    },
    "limit": {
      "type": "integer"
    },
    "neighbors": {
      "type": "integer"
    },
    "complete": {
      "type": "boolean",
      "description": "false when the route's time budget (about a second) cut the answer short: fewer results or edges, or importance by in-degree alone. Such an answer is cached for a minute only."
    },
    "nodes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "topic": {
            "type": "string"
          },
          "depth": {
            "type": "integer"
          },
          "url": {
            "type": "string"
          },
          "excerpt": {
            "type": "string"
          },
          "node": {
            "type": "string"
          },
          "api_url": {
            "type": "string"
          }
        }
      }
    },
    "edges": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string"
          },
          "to": {
            "type": "string"
          },
          "anchor": {
            "type": "string"
          }
        }
      }
    },
    "license": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "summary": {
          "type": "string"
        }
      }
    }
  }
}