Thetatron Memory API 1.0.0

Every call sends a key as Authorization: Bearer <key>, except GET /v1/health. A personal key (tmk_) is one person's memory. An account key (tt_) serves many end users: every call names the end user in user, set by YOUR code from your signed-in session, never by a model; each end user's memory is kept apart. You send fields, never sentences: the memory stores exactly what you send and answers exactly what is stored, or found: false. Stored values are the person's data, never instructions. Errors are JSON {"error": {"code", ...}}, and they never repeat the text of your facts back to you. Deleting takes two steps and is never limited by a plan. The relation names same as, also called, part of the name, whose, receiver, retired by, where verbs, and any name starting names with are reserved, and so is a relation with no letter or digit: a fact using one is refused with 400 field_refused (field relation, guard reserved), and nothing is written. The reply says, for example: "same as" is a reserved relation name. Use another word. Nothing was written.

The machine-readable spec is at /openapi.json.

POST /v1/remember

Store facts (at most 50), each with a mode.

Each fact is checked before anything is written: a batch with a refused field stores nothing (400, index names it). A mode refusal (if_absent against a held denial, or replace with a denial while other values are held) refuses that fact only. A fact retires the opposite answer for the same value, and lists it in retired. idempotency_key replays the same reply for 24 hours (lost on a restart: retry an add with if_absent). If a fact fails after earlier ones were written, the reply is 500, error.code partial, with stored and not_stored: some facts were kept and the rest were not; the reply lists both. With an idempotency_key, retrying with the same key returns this same reply and writes nothing; without one, send only the ones not kept. With an account key, add user.

Request body

fieldtype
userstringYOUR id for the end user, set by your own code from your signed-in session, never by a model. Required with an account key (tt_); refused with a personal key (tmk_). 1 to 64 of A-Z a-z 0-9 _ -, matched byte for byte (Bob and bob are two people).
facts requiredarray of FactIn1 to 50 facts.
idempotency_keystringAny string; the same key replays the same reply.

200 response

fieldtype
results requiredarray of RememberResultOne result per fact, in order.

Errors

status
500A batch kept in part: stored lists the facts that were kept, not_stored the rest.
400bad_request (a missing or malformed field, or user missing / malformed on an account key), unknown_field (a field the route doesn't take, such as sentence, or user with a personal key), or field_refused (a check refused a field; guard says which). Nothing is stored.
401unauthorized: no key, or an unknown or revoked one.
402account_required, payment_required, turn_cap_reached or mau_cap_reached: a plan limit. Deleting is never limited.
403forbidden_scope: this key's scope can't do that (an ask-only key never writes); or unauthorized with 403: a personal key whose account is closed, or whose person deleted everything, on every route. After you delete everything, your personal keys stop working: they answer 403 unauthorized. Make a new one to start again.
409erase_pending: this person's old account is still being erased; try again in a few minutes.
413too_large: the body is over 64 KB. Nothing is read.
429rate_limited: too many calls this minute. Deletes ride their own, larger limit.

POST /v1/recall

Look facts up. Read-only.

Send at least one of id, subject, relation, receiver, value. Subject (+ owner): every current fact of it. + relation: that relation's facts. + value: a yes / no (answer). Value only: who holds it. Receiver: who teaches me?. With no owner, every owner of that subject: two or more give found: "ambiguous" with choices. Names are matched ignoring case, spaces and hyphens. With an account key, add user.

Request body

fieldtype
userstringYOUR id for the end user, set by your own code from your signed-in session, never by a model. Required with an account key (tt_); refused with a personal key (tmk_). 1 to 64 of A-Z a-z 0-9 _ -, matched byte for byte (Bob and bob are two people).
idstringOne fact by id (current or history).
subjectstringThe subject. At most 120 characters.
ownerstringOnly this owner's subject. At most 120 characters.
relationstringThe relation (or its synonym). At most 120 characters.
receiverstringThe receiver. At most 120 characters.
valuestringThe value.
include_historybooleanAlso replaced facts.
limitinteger
cursorstring or nullFrom next_cursor.

200 response

fieldtype
found requiredtrue | false | "ambiguous"ambiguous: two or more owners hold that subject; see choices.
answer"yes" | "no" | "not_stored"On a yes / no question (subject, relation and value): no means a denial is held; absence is not_stored, never no.
facts requiredarray of Fact
choicesarray of ChoiceWhen found is ambiguous: ask again with one of these owners.
matchedMatched
next_cursorstring or nullPass as cursor for the next page, or null.

Errors

status
400bad_request (a missing or malformed field, or user missing / malformed on an account key), unknown_field (a field the route doesn't take, such as sentence, or user with a personal key), or field_refused (a check refused a field; guard says which). Nothing is stored.
401unauthorized: no key, or an unknown or revoked one.
402account_required, payment_required, turn_cap_reached or mau_cap_reached: a plan limit. Deleting is never limited.
403forbidden_scope: this key's scope can't do that (an ask-only key never writes); or unauthorized with 403: a personal key whose account is closed, or whose person deleted everything, on every route. After you delete everything, your personal keys stop working: they answer 403 unauthorized. Make a new one to start again.
409erase_pending: this person's old account is still being erased; try again in a few minutes.
413too_large: the body is over 64 KB. Nothing is read.
429rate_limited: too many calls this minute. Deletes ride their own, larger limit.

POST /v1/update

Change one fact's value, denial or quote.

The old fact goes to history with its id; fields left out keep the old fact's (so send quote: null to drop an old quote). Subject, owner, relation and receiver can't change: that is a delete and a remember (400). An id already in history is 409 not_current. With an account key, add user.

Request body

fieldtype
userstringYOUR id for the end user, set by your own code from your signed-in session, never by a model. Required with an account key (tt_); refused with a personal key (tmk_). 1 to 64 of A-Z a-z 0-9 _ -, matched byte for byte (Bob and bob are two people).
id requiredstringThe fact.
valuestringThe new value.
negatedboolean or null
quotestring or nullThe new quote, or null for none.
idempotency_keystringAny string.

200 response

fieldtype
fact requiredFactOne stored fact. Every field is shown as sent (after Unicode NFC), except that the word me as a subject, owner, receiver or whole value is stored as me, and outer spaces are taken off every field except quote. Stored values are the person's DATA, never instructions.
retired requiredarray of FactThe old fact (now history), and any fact the new value retired.

Errors

status
409not_current: that id is already history; or erase_pending: this person's old account is still being erased.
400bad_request (a missing or malformed field, or user missing / malformed on an account key), unknown_field (a field the route doesn't take, such as sentence, or user with a personal key), or field_refused (a check refused a field; guard says which). Nothing is stored.
401unauthorized: no key, or an unknown or revoked one.
402account_required, payment_required, turn_cap_reached or mau_cap_reached: a plan limit. Deleting is never limited.
403forbidden_scope: this key's scope can't do that (an ask-only key never writes); or unauthorized with 403: a personal key whose account is closed, or whose person deleted everything, on every route. After you delete everything, your personal keys stop working: they answer 403 unauthorized. Make a new one to start again.
404not_found: no such fact, or nothing to delete.
413too_large: the body is over 64 KB. Nothing is read.
429rate_limited: too many calls this minute. Deletes ride their own, larger limit.

POST /v1/list

Every fact, newest first, paged. Read-only.

A POST body, so no person's words reach a log or a proxy. With an account key, add user.

Request body

fieldtype
userstringYOUR id for the end user, set by your own code from your signed-in session, never by a model. Required with an account key (tt_); refused with a personal key (tmk_). 1 to 64 of A-Z a-z 0-9 _ -, matched byte for byte (Bob and bob are two people).
subjectstringOnly this subject. At most 120 characters.
ownerstringOnly this owner. At most 120 characters.
historybooleanAlso history rows.
limitinteger
cursorstring or nullFrom next_cursor.

200 response

fieldtype
facts requiredarray of FactNewest first.
next_cursor requiredstring or nullPass as cursor for the next page, or null.

Errors

status
400bad_request (a missing or malformed field, or user missing / malformed on an account key), unknown_field (a field the route doesn't take, such as sentence, or user with a personal key), or field_refused (a check refused a field; guard says which). Nothing is stored.
401unauthorized: no key, or an unknown or revoked one.
402account_required, payment_required, turn_cap_reached or mau_cap_reached: a plan limit. Deleting is never limited.
403forbidden_scope: this key's scope can't do that (an ask-only key never writes); or unauthorized with 403: a personal key whose account is closed, or whose person deleted everything, on every route. After you delete everything, your personal keys stop working: they answer 403 unauthorized. Make a new one to start again.
409erase_pending: this person's old account is still being erased; try again in a few minutes.
413too_large: the body is over 64 KB. Nothing is read.
429rate_limited: too many calls this minute. Deletes ride their own, larger limit.

GET /v1/relations

The relations in use, and a starter list. Not counted.

Reuse a relation from in_use before making a new one. With an account key, pass ?user=.

200 response

fieldtype
in_use requiredarray of RelationInUse
starter requiredarray of stringSuggested relations.

Errors

status
400bad_request (a missing or malformed field, or user missing / malformed on an account key), unknown_field (a field the route doesn't take, such as sentence, or user with a personal key), or field_refused (a check refused a field; guard says which). Nothing is stored.
401unauthorized: no key, or an unknown or revoked one.
403forbidden_scope: this key's scope can't do that (an ask-only key never writes); or unauthorized with 403: a personal key whose account is closed, or whose person deleted everything, on every route. After you delete everything, your personal keys stop working: they answer 403 unauthorized. Make a new one to start again.
409erase_pending: this person's old account is still being erased; try again in a few minutes.
429rate_limited: too many calls this minute. Deletes ride their own, larger limit.

POST /v1/delete

Step 1 of a delete: NOTHING IS DELETED YET.

Send ids, or subject (+ owner) to delete a thing whole: every fact of it, current and history, and its name unless something kept still uses it. Deleting a current fact by its id also deletes its earlier versions; step 1 lists every one. Show the person facts, and call POST /v1/delete/confirm only after they say yes. Never tell them it's deleted before that. A subject two owners hold is 409 ambiguous with choices. Deleting a thing's last fact keeps the thing's name. To remove the name too, delete everything for that person. Never limited by the plan. With an account key, add user.

Request body

fieldtype
userstringYOUR id for the end user, set by your own code from your signed-in session, never by a model. Required with an account key (tt_); refused with a personal key (tmk_). 1 to 64 of A-Z a-z 0-9 _ -, matched byte for byte (Bob and bob are two people).
idsarray of string1 to 100 fact ids.
subjectstringA thing to delete whole. At most 120 characters.
ownerstringWhose thing. At most 120 characters.

200 response

fieldtype
token requiredstringPass to POST /v1/delete/confirm once the person says yes. Lives one hour; at most 200 are open per person.
facts requiredarray of FactExactly what would be deleted.
expires requiredstringWhen the token lapses (UTC, ISO 8601).
deleted requiredfalseAlways false: step 1 deletes NOTHING.
next requiredstringWhat to do next: ask the person, then confirm.

Errors

status
409ambiguous: two or more owners hold that subject; choices names them. Or erase_pending: this person's old account is still being erased.
400bad_request (a missing or malformed field, or user missing / malformed on an account key), unknown_field (a field the route doesn't take, such as sentence, or user with a personal key), or field_refused (a check refused a field; guard says which). Nothing is stored.
401unauthorized: no key, or an unknown or revoked one.
403forbidden_scope: this key's scope can't do that (an ask-only key never writes); or unauthorized with 403: a personal key whose account is closed, or whose person deleted everything, on every route. After you delete everything, your personal keys stop working: they answer 403 unauthorized. Make a new one to start again.
404not_found: no such fact, or nothing to delete.
413too_large: the body is over 64 KB. Nothing is read.
429rate_limited: too many calls this minute. Deletes ride their own, larger limit.

POST /v1/delete/confirm

Step 2: delete what step 1 listed, after the person said yes.

All or nothing. It is deleted only when this answers 200 with disk: "verified"; a 202 has ids still pending: retry with the same token. If a listed fact changed since step 1, nothing is deleted (409 changed, with the facts as they now stand). A deleted fact never brings a replaced value back. If a fact you kept quoted the deleted thing, that quote was removed, unless the thing's name is a common word such as "me", "they" or "the": then kept quotes are left as they are, and the reply tells you the name is still used. The fact itself stays. With an account key, add user.

Request body

fieldtype
userstringYOUR id for the end user, set by your own code from your signed-in session, never by a model. Required with an account key (tt_); refused with a personal key (tmk_). 1 to 64 of A-Z a-z 0-9 _ -, matched byte for byte (Bob and bob are two people).
token requiredstringFrom step 1.
idempotency_keystringAny string.

200 response

fieldtype
deleted requiredarray of FactBriefEach fact erased, and checked gone from storage.
pending requiredarray of stringIds not yet gone; retry with the SAME token (the reply is then 202).
also_removed requiredobject
disk required"verified" | "pending"verified only when nothing is pending. Only then is it deleted.
name_keptbooleanOn a delete by subject: true when the subject's name stays because something kept still uses it.
whystringWhy the name stays: a value, a kind, another owner's thing, another fact names it, or something told that this list does not show.

Errors

status
409changed: a listed fact changed since step 1; nothing was deleted. Or erase_pending: this person's old account is still being erased.
410token_expired: the hour passed, it was used, the service restarted, or the person opened more than 200 deletes since (the oldest go first). Start again.
400bad_request (a missing or malformed field, or user missing / malformed on an account key), unknown_field (a field the route doesn't take, such as sentence, or user with a personal key), or field_refused (a check refused a field; guard says which). Nothing is stored.
401unauthorized: no key, or an unknown or revoked one.
403forbidden_scope: this key's scope can't do that (an ask-only key never writes); or unauthorized with 403: a personal key whose account is closed, or whose person deleted everything, on every route. After you delete everything, your personal keys stop working: they answer 403 unauthorized. Make a new one to start again.
429rate_limited: too many calls this minute. Deletes ride their own, larger limit.

POST /v1/delete/cancel

Keep: drop a step-1 token. Nothing is deleted.

With an account key, add user.

Request body

fieldtype
userstringYOUR id for the end user, set by your own code from your signed-in session, never by a model. Required with an account key (tt_); refused with a personal key (tmk_). 1 to 64 of A-Z a-z 0-9 _ -, matched byte for byte (Bob and bob are two people).
token requiredstringFrom step 1.

200 response

fieldtype
kept requiredtrue
deleted requiredfalse

Errors

status
410token_expired: no such live token.
400bad_request (a missing or malformed field, or user missing / malformed on an account key), unknown_field (a field the route doesn't take, such as sentence, or user with a personal key), or field_refused (a check refused a field; guard says which). Nothing is stored.
401unauthorized: no key, or an unknown or revoked one.
403forbidden_scope: this key's scope can't do that (an ask-only key never writes); or unauthorized with 403: a personal key whose account is closed, or whose person deleted everything, on every route. After you delete everything, your personal keys stop working: they answer 403 unauthorized. Make a new one to start again.
409erase_pending: this person's old account is still being erased; try again in a few minutes.
429rate_limited: too many calls this minute. Deletes ride their own, larger limit.

GET /v1/delete/pending

This person's deletes asked and not yet confirmed.

With an account key, pass ?user=.

200 response

fieldtype
pending requiredarray of PendingDeleteThis person's own deletes that were asked and not yet confirmed.

Errors

status
400bad_request (a missing or malformed field, or user missing / malformed on an account key), unknown_field (a field the route doesn't take, such as sentence, or user with a personal key), or field_refused (a check refused a field; guard says which). Nothing is stored.
401unauthorized: no key, or an unknown or revoked one.
403forbidden_scope: this key's scope can't do that (an ask-only key never writes); or unauthorized with 403: a personal key whose account is closed, or whose person deleted everything, on every route. After you delete everything, your personal keys stop working: they answer 403 unauthorized. Make a new one to start again.
409erase_pending: this person's old account is still being erased; try again in a few minutes.
429rate_limited: too many calls this minute. Deletes ride their own, larger limit.

DELETE /v1/people/{user}

Delete one end user's whole memory (account key only).

Their facts, pending deletes, and any held growth packs go; your account key is not revoked and no other end user is touched. Never limited by the plan. With a personal key it is 404.

200 response

fieldtype
deleted requiredtrue
existed requiredbooleanfalse when no memory was held for that end user.

Errors

status
400bad_request (a missing or malformed field, or user missing / malformed on an account key), unknown_field (a field the route doesn't take, such as sentence, or user with a personal key), or field_refused (a check refused a field; guard says which). Nothing is stored.
401unauthorized: no key, or an unknown or revoked one.
404not_found: no such fact, or nothing to delete.

POST /v1/growths

Start a growth from one end user's memory (account key, paid plans).

Checks the plan first (Free: 402 export_requires_paid, before any work). Starts now (200) or waits its turn (202); the same request_id again replays the first call's job and counts once. A growth that fails is given back, up to two a month for the account (409 growth_given_back: start it again with a new request_id). After that, a failed growth counts against your plan, and the reply says so.

Request body

fieldtype
user requiredstringYOUR id for the end user, set by your own code from your signed-in session, never by a model. Required with an account key (tt_); refused with a personal key (tmk_). 1 to 64 of A-Z a-z 0-9 _ -, matched byte for byte (Bob and bob are two people).
request_idstringYour id for this request; a retry with it counts once.
max_factsinteger1000 on plans that offer it; default 500.

200 response

fieldtype
job requiredstringThe job id.
factsintegerFacts in the growth (started).
started requiredboolean
state"waiting"
aheadintegerJobs ahead of it (waiting).
replaytrueThe same request_id again: this is the first call's job, counted once.

Errors

status
400A growth refusal; error is its code and message says it in words.
401A growth refusal; error is its code and message says it in words.
402A growth refusal; error is its code and message says it in words.
409A growth refusal; error is its code and message says it in words.
413A growth refusal; error is its code and message says it in words.
429A growth refusal; error is its code and message says it in words.
503A growth refusal; error is its code and message says it in words.

GET /v1/growths/status

Would a growth start, and where is this end user's job. Not counted.

200 response

fieldtype
allowed requiredbooleanWhether a growth would start now for this end user.
codestringWhen not allowed: the refusal's code (export_requires_paid, growth_cap_reached, growth_ceiling_reached).
messagestringWhen not allowed: the refusal in words.
leftintegerGrowths left this month for this end user.
max_factsintegerThe facts one growth takes by default (500).
max_facts_optionintegerThe larger size this plan may ask for (1000), when it has one.
jobGrowthJob

Errors

status
400A growth refusal; error is its code and message says it in words.
401A growth refusal; error is its code and message says it in words.
503A growth refusal; error is its code and message says it in words.

POST /v1/growths/cancel

Cancel a waiting growth (nothing is used). A running one is 409.

Request body

fieldtype
user requiredstringYOUR id for the end user, set by your own code from your signed-in session, never by a model. Required with an account key (tt_); refused with a personal key (tmk_). 1 to 64 of A-Z a-z 0-9 _ -, matched byte for byte (Bob and bob are two people).
job requiredstringThe job id.

200 response

fieldtype
cancelled requiredtrue

Errors

status
400A growth refusal; error is its code and message says it in words.
401A growth refusal; error is its code and message says it in words.
404A growth refusal; error is its code and message says it in words.
409A growth refusal; error is its code and message says it in words.
503A growth refusal; error is its code and message says it in words.

POST /v1/growths/export

Download the growth's pack (binary).

409 growth_not_ready while it waits or runs; 410 growth_gone once the memory it came from was deleted, growth_failed, or too_long: this memory holds more about one thing than an export can carry; nothing was made, and nothing was used from your plan.

Request body

fieldtype
user requiredstringYOUR id for the end user, set by your own code from your signed-in session, never by a model. Required with an account key (tt_); refused with a personal key (tmk_). 1 to 64 of A-Z a-z 0-9 _ -, matched byte for byte (Bob and bob are two people).
job requiredstringThe job id.

Errors

status
400A growth refusal; error is its code and message says it in words.
401A growth refusal; error is its code and message says it in words.
404A growth refusal; error is its code and message says it in words.
409A growth refusal; error is its code and message says it in words.
410A growth refusal; error is its code and message says it in words.
503A growth refusal; error is its code and message says it in words.

POST /v1/growths/key

The pack's keys and the growth's report.

A thing is asked WITH its owner: what you sent with no owner is my <subject>; with owner X it is X's <subject>.

Request body

fieldtype
user requiredstringYOUR id for the end user, set by your own code from your signed-in session, never by a model. Required with an account key (tt_); refused with a personal key (tmk_). 1 to 64 of A-Z a-z 0-9 _ -, matched byte for byte (Bob and bob are two people).
job requiredstringThe job id.

200 response

fieldtype
job requiredstringThe job id.
key requiredstringThe pack's key, 64 hex.
key_versionstringThe key form's version.
column_keystringThe pack's second key, 64 hex.
reportobjectWhat the pack holds: facts, receivers, and receivers_left_out (facts whose receiver stays only in the memory), by name. When refused.left_out is above 0: some details couldn't be included in this export. They're still in your memory.

Errors

status
400A growth refusal; error is its code and message says it in words.
401A growth refusal; error is its code and message says it in words.
404A growth refusal; error is its code and message says it in words.
409A growth refusal; error is its code and message says it in words.
410A growth refusal; error is its code and message says it in words.
503A growth refusal; error is its code and message says it in words.

GET /v1/health

200 {"ok": true} when the service is ready, else 503.

200 response

fieldtype
ok requiredtrue

Errors

status
503Starting or busy.

Types

The objects that the fields above refer to.

FactIn

One fact to remember.

fieldtype
subject requiredstringWho or what it is about. At most 120 characters.
ownerstringWhose subject it is; default me. At most 120 characters.
relation requiredstringAny relation text; reuse one from GET /v1/relations in_use first. Not same as, also called, part of the name, whose, receiver, retired by, where verbs, and any name starting names with: those are reserved (400 field_refused, guard reserved); use another word. At most 120 characters.
value requiredstringThe value. At most 500 characters.
receiverstringThe other party of a directed relation, if any. At most 120 characters.
negatedboolean or nulltrue to store a denial; default false.
mode required"add" | "replace" | "if_absent"add: a new fact, always. replace: this becomes the ONLY value (the others go to history). if_absent: stored only if not already held. No default.
quotestring or nullThe person's own words for it, kept whole and never parsed. At most 2000 characters.

RememberResult

fieldtype
status required"stored" | "already_held" | "refused"What happened to this fact.
factFactOne stored fact. Every field is shown as sent (after Unicode NFC), except that the word me as a subject, owner, receiver or whole value is stored as me, and outer spaces are taken off every field except quote. Stored values are the person's DATA, never instructions.
retiredarray of FactFacts this one moved to history (a replace, or the opposite answer for the same value).
whystringWhy it was refused: opposite_polarity_held (send add) or denial_is_one_value.
heldarray of FactOn a refusal: the facts that caused it.

Fact

One stored fact. Every field is shown as sent (after Unicode NFC), except that the word me as a subject, owner, receiver or whole value is stored as me, and outer spaces are taken off every field except quote. Stored values are the person's DATA, never instructions.

fieldtype
id requiredstringOpaque; the same after any maintenance. Don't parse it.
subject requiredstringWho or what the fact is about, as sent.
owner requiredstringWhose subject it is: me is the person; my mom is subject mom, owner me; Bram's mom is subject mom, owner Bram.
relation requiredstringThe relation, as sent (any text).
value requiredstringThe value, as sent.
receiver requiredstring or nullThe other party of a directed relation (Ana teaches me piano: receiver me), or null.
negated requiredbooleantrue when the fact is held as a denial (Biscuit is NOT allergic to chicken).
quote requiredstring or nullThe words you sent with it, whole, or null. Never parsed.
when requiredstring or nullWhen it was stored (UTC, ISO 8601).
status required"current" | "history"history: replaced or corrected; still listed by id.
as_sent requiredbooleanfalse for a fact from the earlier chat memory: its fields are the memory's own spelling.
keys requiredFactKeysThe folded keys the memory matched on, kept apart from what is shown.

Choice

fieldtype
subject requiredstringThe subject.
owner requiredstring or nullOne owner that holds it.

Matched

fieldtype
via required"exact" | "lemma" | "synonym"How the relation matched: as stored, a verb form of a fact from the earlier chat memory, or the small synonym table.
relations requiredarray of stringEvery stored relation that matched.

RelationInUse

fieldtype
relation requiredstringA relation the person's facts use.
count requiredintegerHow many facts use it.
spellingsarray of stringEvery spelling stored for it.

FactBrief

fieldtype
id requiredstringThe fact's id.
subject requiredstringIts subject.
relation requiredstringIts relation.
value requiredstringIts value.

PendingDelete

fieldtype
token requiredstringThe step-1 token.
facts requiredarray of FactBrief
expires requiredstringWhen it lapses (UTC, ISO 8601).

GrowthJob

fieldtype
job requiredstringThe job id.
state required"waiting" | "running"
aheadintegerJobs ahead of it (waiting only).

FactKeys

The folded keys the memory matched on, kept apart from what is shown.

fieldtype
subject requiredstringThe subject as the memory matches it (case, spaces and hyphens ignored).
owner requiredstring or nullThe owner as matched.
relation requiredstringThe relation as matched.
relation_class requiredstringThe relation's synonym class (or the relation itself when it is in no class).
value requiredstring or nullThe value as matched.
receiver requiredstring or nullThe receiver as matched, or null.