To get the stats of a given graph table:

Method : GET

URI : /graph/stat/<verbose>

<verbose> takes 0 or 1 for less or more verbose. default is 0 when we don't provide <verbose>.

Example

curl -X GET http://192.168.1.105:18080/graph/stat

Response

{
   "graphs":[
      {
         "mygraph":[
            {
               
            },
            {
               
            }
         ],
         "entity":{
            "table":[
               {
                  "name":"mygraph",
                  "issys":0,
                  "num_records":0,
                  "num_index":0,
                  "files":[
                     
                  ],
                  "total_size":49152,
                  "num_files":3
               }
            ]
         },
         "rel":{
            "table":[
               {
                  "name":"mygraph_rel",
                  "issys":0,
                  "num_records":0,
                  "num_index":0,
                  "files":[
                     
                  ],
                  "total_size":49152,
                  "num_files":3
               }
            ]
         }
      },
      {
         "website_graph":[
            {
               
            },
            {
               
            }
         ],
         "entity":{
            "table":[
               {
                  "name":"website_graph",
                  "issys":0,
                  "num_records":0,
                  "num_index":0,
                  "files":[
                     
                  ],
                  "total_size":65536,
                  "num_files":3
               }
            ]
         },
         "rel":{
            "table":[
               {
                  "name":"website_graph_rel",
                  "issys":0,
                  "num_records":1,
                  "num_index":0,
                  "files":[
                     
                  ],
                  "total_size":65761,
                  "num_files":3
               }
            ]
         }
      }
   ],
   "num_graphs":2
}