SmartMemory
GET
/memory/clustering/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.

Authorization

AuthorizationBearer <token>

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

Response Body

application/json

curl -X GET "https://example.com/memory/clustering/stats"
null