Skip to main content
tckg does not guess identity. Which nodes are values of the same fact, and which value wins, are declared by you. Declarations are time-aware: resolve applies the declaration in force at as_of (or at rules_as_of).

Request

string
required
The key nodes carry in fact_key.
string[]
required
The fields that identify one instance of the fact.
string
default:"latest_valid"
latest_valid (latest validity start wins), latest_observed (latest asserted_at wins), source_priority (first match in source_order wins), strict (two candidates is a refusal).
string[]
Required for source_priority.

Response

timestamp
When the declaration took effect. Use it as rules_as_of when resolving past knowledge under this rule.
A node written with a fact_key that is not declared yet is still stored, with an undeclared_fact warning. Declare first when you can; otherwise declare later and resolve with rules_as_of.