Change an action's meta
Merges into meta, in any status, for example to keep a chat message id with the action. Set a field to null to remove it. Nothing else can be changed: what the owner approved stays as it was.
AuthorizationBearer <token>Your space key (om_...). Get one with POST /v1/connect.
id*stringShort action id, e.g. A7
1 <= length <= 32application/json- body
meta*Merged into the existing meta (for example a chat message id). Set a field to null to remove it. Nested objects are merged too.
Updated
application/json- response
id*stringclass*stringsummary*stringpayload*payload_hash*stringpreconditions*array<unknown>meta*idempotency_key*stringstatus*ActionStatus"pending""approved""executing""done""failed""denied""expired""superseded""blocked"receipt*|nullexpires_at*string|nullcreated_at*stringupdated_at*stringauthor*|The member that proposed it.
updated_by*|The last member to change it: who approved, denied, or ran it.
curl -X PATCH 'https://api.memlane.sh/v1/actions/string' \ -H 'Content-Type: application/json' \ -d '{ "meta": { "property1": null, "property2": null }}'{ "id": "string", "class": "string", "summary": "string", "payload": { "property1": null, "property2": null }, "payload_hash": "string", "preconditions": [ null ], "meta": { "property1": null, "property2": null }, "idempotency_key": "string", "status": "pending", "receipt": { "property1": null, "property2": null }, "expires_at": "string", "created_at": "string", "updated_at": "string", "author": { "id": "string", "name": "string", "removed": true }, "updated_by": { "id": "string", "name": "string", "removed": true }}Move an action to a new status, only if it is still in `from` POST
Compare-and-set: two callers cannot both move A7 from approved to executing. Allowed: pending→approved|executing|denied|expired|superseded|blocked, approved→executing|denied|expired|superseded, executing→done|failed, blocked→pending|denied|superseded, failed→pending. Expired actions cannot be approved or executed.
Start connecting an agent to the person's account POST
No key needed. Returns a link and a short code to show the person, and a device code to poll connect_token with. The person signs in (or signs up), picks one of their memories or starts one, and approves. Then connect_token returns this agent's own key.