Send a fact
Sends one fact, validated against its contract version, stored and attached to a flow atomically; answered once durably stored.
Rules
- Validation covers the envelope, then
dataand references. A reference carries exactly the scope keys its type declares, non-empty, never trimmed. - Idempotent by
producerandfactId: resending the same content answers200,duplicate: true. Facts are immutable: a change needs a newfactId. - At most 256 KiB per envelope by default; five
exactreferences. - Strict envelope: a duplicate, or a member the envelope, its subject or a reference does not declare (exact, case-sensitive), is refused;
datafollows the contract’s schema. - Only the owner of the producer and namespace sends their facts.
- If an operator disabled fact emission, keep the fact pending and retry.
x-sensitivityfields are stored protected, never echoed in errors. A reference whose type hasmask: documentmust have 11 or 14 digits.
Responses
201stored;200duplicate.403SF-0005,SF-0014,SF-0020,SF-0027,SF-0028,SF-0029.409SF-0016;413SF-0012.422SF-0001,SF-0006,SF-0007,SF-0008,SF-0019,SF-0026.503SF-0094correlation contention, withRetry-After: 1: resend the same envelope.
POST
Cuerpo
application/json
Respuesta
Duplicate delivery: this producer and factId are already stored with the same content. Nothing changed; the body carries duplicate: true.

