sqlite-graphrag 1.0.1

Local GraphRAG memory for LLMs in a single SQLite file
Documentation
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/daniloaguiarbr/sqlite-graphrag/schemas/stats.schema.json",
  "title": "StatsResponse",
  "description": "Response emitted by `sqlite-graphrag stats` on stdout as a single JSON line. Accepts `--format json` (or `--json` no-op alias) to explicitly request JSON output; JSON is always emitted by default. Use `--format table` for human-readable tabular output (non-JSON).",
  "type": "object",
  "required": [
    "memories", "memories_total", "entities", "entities_total",
    "relationships", "relationships_total", "edges",
    "chunks_total", "avg_body_len", "namespaces",
    "db_size_bytes", "db_bytes", "schema_version", "elapsed_ms"
  ],
  "additionalProperties": false,
  "properties": {
    "memories":             { "type": "integer", "minimum": 0, "description": "Active (non-deleted) memories." },
    "memories_total":       { "type": "integer", "minimum": 0, "description": "Including soft-deleted." },
    "entities":             { "type": "integer", "minimum": 0 },
    "entities_total":       { "type": "integer", "minimum": 0 },
    "relationships":        { "type": "integer", "minimum": 0 },
    "relationships_total":  { "type": "integer", "minimum": 0 },
    "edges":                { "type": "integer", "minimum": 0 },
    "chunks_total":         { "type": "integer", "minimum": 0 },
    "avg_body_len":         { "type": "number",  "minimum": 0 },
    "namespaces":           { "type": "array", "items": { "type": "string" }, "description": "List of namespace strings present in the database." },
    "db_size_bytes":        { "type": "integer", "minimum": 0 },
    "db_bytes":             { "type": "integer", "minimum": 0, "description": "Alias of db_size_bytes." },
    "schema_version":       { "type": ["integer", "string"], "description": "SQLite PRAGMA user_version. Emitted as string by binary." },
    "elapsed_ms":           { "type": "integer", "minimum": 0, "description": "Handler wall-clock time in milliseconds." }
  }
}