Graph statistics
GET
/v1/stats
const url = 'http://localhost:8090/v1/stats';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8090/v1/statsParameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”workspace_id
string
system_id
string
Responses
Section titled “ Responses ”Node/edge totals by kind
Media typeapplication/json
object
nodes
object
total
integer
byKind
Array<object>
object
kind
string
count
integer
edges
object
total
integer
byKind
Array<object>
object
kind
string
count
integer
Examplegenerated
{ "nodes": { "total": 1, "byKind": [ { "kind": "example", "count": 1 } ] }, "edges": { "total": 1, "byKind": [ { "kind": "example", "count": 1 } ] }}