SmartMemory
GET
/memory/telemetry/stats

Aggregated telemetry stats for the workspace.

Returns session counts (today/7d/30d), total tokens, total cost, and total active time.

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

Query Parameters

days?Days

Response Body

application/json

application/json

curl -X GET "https://example.com/memory/telemetry/stats"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}