Skip to main content
GET
/
v3
/
graph
/
stats
Get graph statistics
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

containerTags
string
Maximum string length: 10000

Response

Graph statistics

totalDocuments
number
required
documentsWithSpatial
number
required
totalDocumentEdges
number
required