Skip to main content
POST
Add a fact to the org's memory

Authorizations

Authorization
string
header
required

The org's platform API key.

Body

application/json
fact
string
required

The fact, one plain sentence about how work is done at the org, at most 400 characters.

kind
enum<string>
required

rule: a carrier, state, system or house rule. workflow: how a piece of work is done.

Available options:
rule,
workflow
subject
enum<string>
required

org: the org's own memory, which every seat of the org reads.

Available options:
org
source
object

The org document the fact comes from. Without one, the key that writes it is recorded as its teacher.

Response

Created

basis
enum<string>
required

stated: a person said it, or an org document says it. inferred: the nightly pass concluded it across several conversations.

Available options:
stated,
inferred
evidence
object[] | null
required

The messages the memory came from.

fact
string
required

The fact, in a sentence.

id
string
required
kind
enum<string>
required

A person's memory has situation, style, signature, preference, criteria, correction or other; the org's has rule or workflow.

Available options:
situation,
style,
signature,
preference,
criteria,
correction,
other,
rule,
workflow
recorded_at
string<date-time>
required
valid_from
string<date-time>
required

When the fact became true.

written_by
enum<string>
required

The job that wrote it.

Available options:
learn,
dream,
backfill,
route
source
object

Org memory: the org document the fact was added from.

taught_by
string

Org memory: the display name of the colleague (or key) who taught the fact, or a colleague when no name is recorded. Absent when an org document is the source.