mimir_as_of
Retrieve the version of a fact that was believed at a given past timestamp. Use to audit historical changes or answer what was known about a key at a specific time.
Instructions
Bi-temporal time-travel: return the version of a fact (category + key) that Mimir believed at a given past instant. When a fact is overwritten, the prior version is kept in history; this returns whichever version was live at as_of_unix_ms. Use to answer 'what did we believe about X back then?' or to audit how a fact changed. Returns found=false if the fact had not been recorded yet at that time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Entity key within the category | |
| category | Yes | Entity category | |
| as_of_unix_ms | Yes | Transaction-time instant (unix ms) to travel to |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| key | No | ||
| found | No | False if the fact had not been recorded by as_of_unix_ms | |
| status | No | ||
| category | No | ||
| body_json | No | The fact's content as it was at as_of_unix_ms | |
| entity_type | No | ||
| as_of_unix_ms | No |