Skip to main content
POST
Capture a Memory with provenance.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
content
string
required
kind
enum<string>
required

Memory node kind (locked V1 vocabulary).

Available options:
decision,
fact,
preference
scope_id
string
required
derived_from
object[]
required
Minimum array length: 1
confidence
number
default:1
Required range: 0 <= x <= 1
ttl_seconds
integer

Raw TTL. Provide this OR ttl_preset, not both.

ttl_preset
enum<string>

Named TTL bucket: 7d / 90d / 365d.

Available options:
VOLATILE,
ACTIVE,
STABLE
stated_by_identity_id
string
where
string

5W "Where" — origin context the claim was made in.

why
string

5W "Why" — reason the claim was captured.

metadata
object

Free-form JSON metadata. Capped at 4KB serialized (server rejects oversize).

Response

Success

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object