Events
Append to the event log
POST
Capped per space; the oldest events are dropped first. Keep message bodies and secrets out of detail.
header
AuthorizationBearer <token>Your space key (om_...). Create one with POST /v1/spaces.
application/json- body
kind*stringLength
1 <= length <= 64key?stringLength
length <= 200Default
""status?stringLength
length <= 64Default
""detail?Small structured detail. Do not put message bodies or secrets here.
Default
{}Appended
application/json- response
id*integerat*stringkind*stringkey*stringstatus*stringdetail*curl -X POST 'https://api.openmemory.sh/v1/events' \ -H 'Content-Type: application/json' \ -d '{ "kind": "string"}'Example Response
{ "id": 0, "at": "string", "kind": "string", "key": "string", "status": "string", "detail": { "property1": null, "property2": null }}