JavaScript
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.supermemory.ai/v3/graph/stats', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "totalDocuments": 123, "documentsWithSpatial": 123, "totalDocumentEdges": 123 }
Get summary statistics for the graph
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
10000
Graph statistics
Was this page helpful?