Endpoint
memory.write
Request fields
array
required
An array of 1 to 20 fact objects.
Example request
Example response
Response fields
integer
Total number of facts accepted into the pipeline.
integer
How many of those facts were new and stored.
integer
How many facts replaced an older version of the same claim.
integer
How many facts were exact duplicates of something already known and therefore ignored.
A
202 status means the facts were accepted. Deduplication happens automatically, so replaying the same call (for example, during a retry) never creates duplicates.