openmemory
Docs
Events

Append to the event log

POST
/v1/events

Capped per space; the oldest events are dropped first. Keep message bodies and secrets out of detail.

Authorization

headerAuthorizationBearer <token>

Your space key (om_...). Create one with POST /v1/spaces.

Request Body

application/json
  1. body
kind*string
Length1 <= length <= 64
key?string
Lengthlength <= 200
Default""
status?string
Lengthlength <= 64
Default""
detail?

Small structured detail. Do not put message bodies or secrets here.

Default{}

Response Body

Appended

application/json
  1. response
id*integer
at*string
kind*string
key*string
status*string
detail*
Example Request
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  }}