Skip to main content
The Stats API provides usage statistics and metrics for your OpenMemoryX account.

Get Statistics

Retrieve usage statistics for the authenticated user.

Request

curl https://t0ken.ai/api/v1/stats \
  -H "X-API-Key: omx_your_api_key"

Response

{
  "success": true,
  "data": {
    "total_memories": 1523,
    "total_projects": 5,
    "api_calls_today": 245,
    "api_calls_this_month": 5421,
    "storage_used_mb": 45.2,
    "storage_limit_mb": 100,
    "cognitive_sectors": {
      "episodic": 234,
      "semantic": 678,
      "procedural": 156,
      "emotional": 312,
      "reflective": 143
    }
  }
}

Statistics Fields

FieldDescription
total_memoriesTotal number of stored memories
total_projectsNumber of projects created
api_calls_todayAPI calls made today
api_calls_this_monthAPI calls made this month
storage_used_mbStorage used in megabytes
storage_limit_mbStorage limit for your tier
cognitive_sectorsBreakdown of memories by cognitive sector