Event enrichments
Attach notes, extra artifacts, or metadata to an Evidence Event after ingest without rewriting the sealed event body (contentHash stays valid).
Design: ADR 0029.
Endpoints
POST /api/events/{id}/enrichments
GET /api/events/{id}/enrichments
DELETE /api/events/{id}/enrichments/{enrichmentId}| Method | Permission |
|---|---|
| POST / DELETE | organization.manage |
| GET | changes.view |
Examples
bash
# Note
curl -sS -X POST "https://api.evitrus.dev/events/$EVENT_ID/enrichments" \
-H "Authorization: Bearer $TOKEN" -H "X-API-Version: v1" \
-H "Content-Type: application/json" \
-d '{"kind":"note","note":"Confirmed by on-call during IR-42"}'
# Extra artifact
curl -sS -X POST "https://api.evitrus.dev/events/$EVENT_ID/enrichments" \
-H "Authorization: Bearer $TOKEN" -H "X-API-Version: v1" \
-H "Content-Type: application/json" \
-d '{"kind":"artifact","artifact":{"type":"report","name":"postmortem.pdf","digest":"sha256:…"}}'
# List
curl -fsS -H "Authorization: Bearer $TOKEN" -H "X-API-Version: v1" \
"https://api.evitrus.dev/events/$EVENT_ID/enrichments"Kinds: note · artifact · metadata · relationship.