Get ontology update statistics for this workspace.
Send Authorization: Bearer <token>. The token is either a Clerk session JWT or a SmartMemory API key (prefix sm_live_, sm_test_, or legacy sk_).
In: header
Query Parameters
Include time-series history points from completed runs
Response Body
application/json
application/json
curl -X GET "https://example.com/memory/ontology/updates/stats"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Stats
Get clustering statistics for the workspace. Returns information about entities, potential duplicates, and clustering history. **Returns:** - `total_entities`: Total entities in workspace - `potential_duplicates`: Estimated number of duplicates - `last_clustering_run`: Timestamp of last clustering run - `implemented`: Always `false` because statistics gathering is not implemented yet. The counts above are placeholders, NOT real (empty) workspace data.
Get Stats
Aggregated telemetry stats for the workspace. Returns session counts (today/7d/30d), total tokens, total cost, and total active time.