SmartMemory
GET
/memory/analytics/origins

Return distribution of memory origins, optionally filtered and grouped.

Requires authentication and operates on user-scoped 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

Query Parameters

prefix?|

Filter by origin prefix

group_by?Group By

Group by: origin, prefix, or tier

Response Body

application/json

application/json

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