Platform FeaturesEvents

Events

Events are the core data unit in AIGodfather.

What is an Event?

Every time your agent performs an action, it sends an event. Events are logged, classified by AI, evaluated against rules, and stored for audit.

Event Fields

FieldTypeDescription
actionstringWhat happened (e.g. "payment", "delete")
event_typestringAlternative to action (e.g. "info", "error")
severitystringlow / medium / high / critical
messagestringHuman-readable description
metadataobjectAny structured data
resourcestringTarget resource
tagsstring[]Filterable tags
user_idstringAssociated user

Event Lifecycle

  1. Agent sends event via SDK or HTTP
  2. API validates and authenticates
  3. AI classifies risk score (0-100)
  4. Rules Engine evaluates all matching rules
  5. Event is stored with full context
  6. Response returned to agent (blocked, approved, recorded)