Skip to main content
POST
Restore a fact

Authorizations

Authorization
string
header
required

nia_sk_...

Headers

Idempotency-Key
string
required

Required. Kept 24 hours with the body hash; a replayed key is a duplicate.

Required string length: 1 - 256

Path Parameters

fact_id
string<uuid>
required

The retracted or corrected fact.

Body

application/json

Undoing a retraction or a correction of a fact, by a person with the security role: the fact comes back as it was and the correction that replaced it is retracted. It becomes a feedback.restore_fact event, so the lineage keeps it. An erased fact or one that came through an unconfirmed link is refused.

profile_id
string<uuid>
required

The profile the fact belongs to.

reason
string | null

Why the retraction or correction is undone, up to 500 characters; kept in the lineage.

Maximum string length: 500

Response

Accepted: the restore is now a feedback.restore_fact event, reported as a batch answer; the memory applies it within seconds.

accepted
integer
required
duplicates
integer
required

Items whose idempotency key was already stored.

errors
ItemError · object[]
required
masked
Masked · object

Values held back from the accepted items before storage, by type (card, cvv, password, secret): the stored text says [retido:cartão ****1234] where the value was.