synapse_invalidate
Mark a previously-recorded fact as no longer true while preserving its history. Set an end date to exclude it from current queries without deleting the record.
Instructions
Mark a previously-recorded fact as no longer true.
Sets valid_to rather than deleting — the historical record stays
intact, but the fact is no longer "currently true" for default queries.
Args: subject/predicate/object: The triple to invalidate. ended: ISO date/datetime when the fact stopped being true. Defaults to now if omitted.
Returns: Number of facts affected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ended | No | ||
| object | Yes | ||
| subject | Yes | ||
| predicate | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |