Accept · AsyncAPI Specification
MIDAS External Event Contract
Version v1
External event contract for MIDAS decision governance. Events are written to a transactional outbox in the same Postgres transaction as domain state changes, then dispatched to Kafka by a background dispatcher (at-least-once delivery; consumers must dedupe on event_id). Two external event types are defined. Modelled by API Evangelist from docs/events.md and docs/examples/events/ (schema contract), not published by the vendor as AsyncAPI.
View Spec
View on GitHub
CompanyEnterpriseGovernanceAI AgentsAuthorityDecision GovernanceAuditOpen SourceAsyncAPIWebhooksEvents
Channels
decisions
Decision lifecycle events. Partition key is {request_source}:{request_id}.
Messages
DecisionOutcomeRecorded
Decision outcome recorded
Emitted when an evaluation produces a terminal outcome (accept, escalate, reject, request_clarification).
DecisionEnvelopeClosed
Decision envelope closed
Emitted when a governance envelope reaches closed state; includes an optional review object for escalated envelopes.
Servers
kafka
kafka
Kafka broker(s) configured via MIDAS_KAFKA_BROKERS; enabled when MIDAS_DISPATCHER_ENABLED=true.