Events
Who did what, newest first
GET
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.
header
AuthorizationBearer <token>Your space key (om_...). Get one with POST /v1/connect.
member?stringOnly what this member did: a member id or 'me'.
Length
length <= 64op?stringAn op (memory.remember, action.approved, ...) or a prefix without a dot (memory, action, member).
Length
length <= 64since?stringFormat
date-timebefore_id?|Pass next_before_id for the next page.
limit?integerRange
1 <= value <= 200Default
50Activity
application/json- response
activity*array<>next_before_id*|Pass as before_id for older rows; null at the end.
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}