Skip to content

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}
MethodPermission
POST / DELETEorganization.manage
GETchanges.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.

Evitrus — observability for auditability