openmemory
Docs
Events

Who did what, newest first

GET
/v1/activity

One row per write, import, forget, and member or invite change: the member, the op, and the item's id. Never text. Kept 30 days, at most 5,000 rows per space. Forgetting an item removes its rows.

Authorization

headerAuthorizationBearer <token>

Your space key (om_...). Get one with POST /v1/connect.

Query Parameters

member?string

Only what this member did: a member id or 'me'.

Lengthlength <= 64
op?string

An op (memory.remember, action.approved, ...) or a prefix without a dot (memory, action, member).

Lengthlength <= 64
since?string
Formatdate-time
before_id?|

Pass next_before_id for the next page.

limit?integer
Range1 <= value <= 200
Default50

Response Body

Activity

application/json
  1. response
activity*array<>
next_before_id*|

Pass as before_id for older rows; null at the end.

Example Request
curl -X GET 'https://api.openmemory.sh/v1/activity'
Example Response
{  "activity": [    {      "id": 0,      "at": "string",      "member": {        "id": "string",        "name": "string",        "removed": true      },      "op": "string",      "target_kind": "string",      "target_id": "string",      "count": 0    }  ],  "next_before_id": 0}